diff --git a/addons/account/report/account_invoice_report.py b/addons/account/report/account_invoice_report.py index b028301af6f..1bcfab43b06 100644 --- a/addons/account/report/account_invoice_report.py +++ b/addons/account/report/account_invoice_report.py @@ -66,6 +66,7 @@ class AccountInvoiceReport(models.Model): residual = fields.Float(string='Due Amount', readonly=True) user_currency_residual = fields.Float(string="Total Residual", compute='_compute_amounts_in_user_currency', digits=0) country_id = fields.Many2one('res.country', string='Country of the Partner Company') + account_analytic_id = fields.Many2one('account.analytic.account', string='Analytic Account', groups="analytic.group_analytic_accounting") _order = 'date desc' diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml index 14df1502065..6942297c73f 100644 --- a/addons/account/report/account_invoice_report_view.xml +++ b/addons/account/report/account_invoice_report_view.xml @@ -85,6 +85,7 @@ + @@ -94,6 +95,7 @@ +