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.

15 lines
426 B

  1. # Copyright 2019 Coop IT Easy SCRLfs
  2. # @author Pierrick Brun <pierrick.brun@akretion.com>
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  4. from odoo import fields, models
  5. class PosOrderLine(models.Model):
  6. _inherit = 'pos.order.line'
  7. tare = fields.Float('Tare')
  8. container_weight = fields.Float('Container Weight')
  9. container_id = fields.Many2one(
  10. 'pos.container',
  11. 'Container')