Use declarative index definition for ModelSQL
issue5757 review361251002
This commit is contained in:
+1
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user