Browse Source

Fix flake8.

pull/501/head
François Kawala 5 years ago
parent
commit
05a49b8132
  1. 1
      pos_tare/models/__init__.py
  2. 2
      pos_tare/models/barcode_rule.py

1
pos_tare/models/__init__.py

@ -1,3 +1,2 @@
from . import pos_config from . import pos_config
from . import barcode_rule from . import barcode_rule

2
pos_tare/models/barcode_rule.py

@ -1,9 +1,9 @@
from odoo import _, models, fields from odoo import _, models, fields
class BarcodeRule(models.Model): class BarcodeRule(models.Model):
_inherit = 'barcode.rule' _inherit = 'barcode.rule'
type = fields.Selection(selection_add=[ type = fields.Selection(selection_add=[
('tare', _('Tare')) ('tare', _('Tare'))
]) ])
Loading…
Cancel
Save