Skip to content

Commit

Permalink
Fix odoo warning because of duplicate field names
Browse files Browse the repository at this point in the history
  • Loading branch information
guewen committed Mar 26, 2020
1 parent 2bbee6e commit f9a146a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stock_cubiscan/wizard/cubiscan_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ class CubiscanWizardLine(models.TransientModel):
store=False,
)
barcode = fields.Char("GTIN")
packaging_id = fields.Many2one("product.packaging", readonly=True)
packaging_id = fields.Many2one(
"product.packaging", string="Packaging (rel)", readonly=True
)
packaging_type_id = fields.Many2one(
"product.packaging.type", readonly=True, required=True
)
Expand Down

0 comments on commit f9a146a

Please sign in to comment.