mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 20:32:03 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
|||
# Copyright (C) 2018 - Today: GRAP (http://www.grap.coop)
|
||||
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class PosConfig(models.Model):
|
||||
_inherit = "pos.config"
|
||||
|
||||
pos_order_timeout = fields.Integer(
|
||||
string="PoS Order(s) Timeout",
|
||||
help="Defines the value of the"
|
||||
" client-side timeout for the creation of PoS Order(s)"
|
||||
" from the POS UI.\n"
|
||||
" The value is expressed in seconds, for a single order.\n"
|
||||
" If not defined, the default Odoo value will be used: 30 seconds.\n"
|
||||
" If the call contains more than one order"
|
||||
" (after a long disconnection period for example, or if the previous"
|
||||
" call raised the timeout),\n the effective timeout value applied will"
|
||||
" be equal to the defined timeout value multiplied by the number of"
|
||||
" orders.\n",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue