Use declarative index definition for ModelSQL
issue5757 review361251002
This commit is contained in:
1 parent
930b55dacc
commit
48f32463b8
1 file changed
+1
-1
@@ -132,7 +132,7 @@ class PartyCreditLimitAmount(ModelSQL, CompanyValueMixin):
|
||||
"Party Credit Limit Amount"
|
||||
__name__ = 'party.party.credit_limit_amount'
|
||||
party = fields.Many2One(
|
||||
'party.party', "Party", ondelete='CASCADE', select=True,
|
||||
'party.party', "Party", ondelete='CASCADE',
|
||||
context={
|
||||
'company': Eval('company', -1),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user