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.

14 lines
431 B

  1. # Copyright 2016-2018 Sylvain LE GAL (https://twitter.com/legalsylvain)
  2. # Copyright 2018 Lambda IS DOOEL <https://www.lambda-is.com>
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  4. from odoo import fields, models
  5. class ProductTemplate(models.Model):
  6. _inherit = 'product.template'
  7. pos_allow_negative_qty = fields.Boolean(
  8. string='Allow Negative Quantity on PoS',
  9. default=True,
  10. )