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
180 B

  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. ])