Browse Source

[12.0][FIX] - Fix performance issue on contract line read

multi-company record rules on contract line causes performance issue
pull/407/head
sbejaoui 5 years ago
parent
commit
b9a3b14e30
  1. 1
      contract/models/contract_line.py

1
contract/models/contract_line.py

@ -24,6 +24,7 @@ class ContractLine(models.Model):
string='Contract', string='Contract',
required=True, required=True,
index=True, index=True,
auto_join=True,
ondelete='cascade', ondelete='cascade',
) )
analytic_account_id = fields.Many2one( analytic_account_id = fields.Many2one(

Loading…
Cancel
Save