mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[12.0][FIX] - Fix performance issue on contract line read
multi-company record rules on contract line causes performance issue
This commit is contained in:
committed by
Francisco Ivan Anton Prieto
parent
0ddc15b82e
commit
cb5f4c21fa
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user