[13.0][FIX] account_financial_report: Correct all uses of
self.env.user.company_id. Also move company_id to the wizard abstract model.
This commit is contained in:
@@ -628,7 +628,7 @@ class GeneralLedgerReport(models.AbstractModel):
|
||||
hide_account_at_0,
|
||||
):
|
||||
general_ledger = []
|
||||
rounding = self.env.user.company_id.currency_id.rounding
|
||||
rounding = self.env.company.currency_id.rounding
|
||||
for acc_id in gen_led_data.keys():
|
||||
account = {}
|
||||
account.update(
|
||||
|
||||
Reference in New Issue
Block a user