[FIX] analytic: remove precompute
Anlytic distribution models did not apply to bank recon entries. The corresponding enterprise PR activates the feature, however due to dependencies on non-precomputed fields, the attribute is removed OPW-3558060 closes odoo/odoo#146235 X-original-commit: b9047febf3c4d67ce409f9f1dba8a9cc7c7165fe Related: odoo/enterprise#52742 Signed-off-by: Laurent Smet (las) <las@odoo.com> Signed-off-by: Habib Ayob (ayh) <ayh@odoo.com>
This commit is contained in:
@@ -11,7 +11,6 @@ class AnalyticMixin(models.AbstractModel):
|
||||
analytic_distribution = fields.Json(
|
||||
'Analytic Distribution',
|
||||
compute="_compute_analytic_distribution", store=True, copy=True, readonly=False,
|
||||
precompute=True
|
||||
)
|
||||
# Json non stored to be able to search on analytic_distribution.
|
||||
analytic_distribution_search = fields.Json(
|
||||
|
||||
Reference in New Issue
Block a user