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.
13 lines
409 B
13 lines
409 B
# Copyright 2016-2018 Sylvain LE GAL (https://twitter.com/legalsylvain)
|
|
# Copyright 2018 Lambda IS DOOEL <https://www.lambda-is.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ProductTemplate(models.Model):
|
|
_inherit = 'product.template'
|
|
|
|
pos_allow_negative_qty = fields.Boolean(
|
|
string='Allow Negative Quantity on PoS',
|
|
)
|