1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/pos_restaurant_appointment/models/appointment_resource.py
2024-12-10 09:04:09 +07:00

10 lines
344 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class AppointmentResource(models.Model):
_inherit = 'appointment.resource'
# this should be one2one
pos_table_ids = fields.One2many('restaurant.table', 'appointment_resource_id', string='POS Table')