caja.py 262 Bytes
# -*- coding: utf-8 -*-
from odoo import models, fields, api

class asw_caja(models.Model):
    _inherit = "asw.caja"

    caja_turno = fields.One2many(
        string = 'Turno',
        comodel_name = 'asw.turno.caja',
        inverse_name = 'turno_caja'
    )