Browse Source

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

multi-company record rules on contract line causes performance issue
13.0-mig-contract
sbejaoui 5 years ago
committed by Administrator
parent
commit
97719c30e6
  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