19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:32:12 +01:00
parent 79f83631d5
commit 73afc09215
6267 changed files with 1534193 additions and 1130106 deletions

View file

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
from odoo.tools import SQL
class AccountInvoiceReport(models.Model):
@ -9,5 +9,5 @@ class AccountInvoiceReport(models.Model):
team_id = fields.Many2one(comodel_name='crm.team', string="Sales Team")
def _select(self):
return super()._select() + ", move.team_id as team_id"
def _select(self) -> SQL:
return SQL("%s, move.team_id as team_id", super()._select())