Use declarative index definition for ModelSQL

issue5757
review361251002
This commit is contained in:
Cédric Krier
2022-10-11 00:44:49 +02:00
parent 81e408ee62
commit 4a2432dad6
+1 -1
View File
@@ -46,7 +46,7 @@ class PriceList(DeactivableMixin, ModelSQL, ModelView):
name = fields.Char('Name', required=True, translate=True,
help="The main identifier of the price list.")
company = fields.Many2One(
'company.company', "Company", required=True, select=True,
'company.company', "Company", required=True,
help="Make the price list belong to the company.\n"
"It defines the currency of the price list.")
tax_included = fields.Boolean('Tax Included',