From 6960d5222048a2e9cdb25e091f0c826fa4698e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt?= Date: Tue, 2 Sep 2025 17:30:48 +0200 Subject: [PATCH] mig report --- sale_agent/models/account_invoice_report.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sale_agent/models/account_invoice_report.py b/sale_agent/models/account_invoice_report.py index e34b6b4..e38c568 100644 --- a/sale_agent/models/account_invoice_report.py +++ b/sale_agent/models/account_invoice_report.py @@ -11,5 +11,4 @@ class AccountInvoiceReport(models.Model): invoice_agent_id = fields.Many2one("res.partner", string="Agent", readonly=True) def _select(self): - select_str = super()._select() - return f"{select_str}, move.invoice_agent_id AS invoice_agent_id" + return SQL(", move.invoice_agent_id AS invoice_agent_id", super()._select())