mig report

This commit is contained in:
Benoît
2025-09-02 17:30:48 +02:00
parent 46e11948fd
commit 0a260e0b54

View File

@@ -11,5 +11,4 @@ class AccountInvoiceReport(models.Model):
invoice_agent_id = fields.Many2one("res.partner", string="Agent", readonly=True) invoice_agent_id = fields.Many2one("res.partner", string="Agent", readonly=True)
def _select(self): def _select(self):
select_str = super()._select() return SQL(", move.invoice_agent_id AS invoice_agent_id", super()._select())
return f"{select_str}, move.invoice_agent_id AS invoice_agent_id"