[FIX] analytic: remove useless query
This query itself is useless and its result is never watched. X-original-commit: 1e15dff32d224ed0dafc32d1b7bab37c56d58fba Part-of: odoo/odoo#105259
This commit is contained in:
@@ -102,9 +102,6 @@ class AccountAnalyticAccount(models.Model):
|
||||
self.flush_recordset(['company_id'])
|
||||
self.env['account.analytic.line'].flush_model(['account_id', 'company_id'])
|
||||
|
||||
self._cr.execute('''
|
||||
SELECT line.id, line.company_id, line.account_id FROM account_analytic_line line''')
|
||||
|
||||
self._cr.execute('''
|
||||
SELECT line.account_id
|
||||
FROM account_analytic_line line
|
||||
|
||||
Reference in New Issue
Block a user