pos_config.py 497 B

12345678910111213141516171819
  1. # -*- coding: utf-8 -*-
  2. # Copyright 2017 OpenSynergy Indonesia
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  4. from openerp import models, fields
  5. class PosConfig(models.Model):
  6. _inherit = "pos.config"
  7. floor_ids = fields.One2many(
  8. string="Floor",
  9. comodel_name="pos.floor",
  10. inverse_name="pos_config_id",
  11. )
  12. iface_floorplan = fields.Boolean(
  13. string='Floor Plan',
  14. help='Enable Floor and Tables in the Point of Sale'
  15. )