You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
603 B

  1. # -*- coding: utf-8 -*-
  2. # Copyright (C) 2018 - Today: GRAP (http://www.grap.coop)
  3. # @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
  4. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  5. from odoo import fields, models
  6. class PosConfig(models.Model):
  7. _inherit = 'pos.config'
  8. pos_order_timeout = fields.Integer(
  9. string='PoS Order Timeout', help="Define the timeout for"
  10. " the creation of PoS Order in the Front Office UI.\n"
  11. " The value is expressed in seconds.\n"
  12. " If not defined, the default Odoo value will be used (7.5 seconds).")