mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-28 02:31:59 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue