Use declarative index definition for ModelSQL
issue5757 review361251002
This commit is contained in:
1 parent
bfab3820bc
commit
c728f2da3a
1 file changed
+1
-1
@@ -30,7 +30,7 @@ class PartySaleInvoiceGroupingMethod(ModelSQL, ValueMixin):
|
||||
"Party Sale Invoice Grouping Method"
|
||||
__name__ = 'party.party.sale_invoice_grouping_method'
|
||||
party = fields.Many2One(
|
||||
'party.party', "Party", ondelete='CASCADE', select=True)
|
||||
'party.party', "Party", ondelete='CASCADE')
|
||||
sale_invoice_grouping_method = fields.Selection(
|
||||
'get_sale_invoice_grouping_methods', "Sale Invoice Grouping Method")
|
||||
|
||||
|
||||
Reference in new issue
Block a user