LaOsaCoop/Odoo16#14 add pos_require_product_quantity
This commit is contained in:
parent
468e3267ec
commit
b34eaceda5
16 changed files with 826 additions and 0 deletions
14
pos_require_product_quantity/models/pos_config.py
Normal file
14
pos_require_product_quantity/models/pos_config.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright 2019-2020 Coop IT Easy SCRLfs
|
||||
# @author Robin Keunen <robin@coopiteasy.be>
|
||||
# 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"
|
||||
|
||||
require_product_quantity = fields.Boolean(
|
||||
string="Require product quantity in POS",
|
||||
default=False,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue