mig report

This commit is contained in:
Benoît
2025-09-02 17:30:48 +02:00
committed by Florian da Costa
parent faea568a6d
commit 6960d52220

View File

@@ -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())