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.

9 lines
174 B

4 years ago
  1. from odoo import models, fields
  2. class BarcodeRule(models.Model):
  3. _inherit = 'barcode.rule'
  4. type = fields.Selection(selection_add=[
  5. ('tare', 'Tare')
  6. ])