forked from Mapan/odoo17e
10 lines
344 B
Python
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')
|