OCA reporting engine fork for dev and update.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class BiSQLViewField(models.Model): _inherit = 'bi.sql.view.field'
_GROUP_OPERATOR_SELECTION = [ ('sum', 'Sum'), ('avg', 'Average'), ('min', 'Minimum'), ('max', 'Maximum'), ]
group_operator = fields.Selection( string='Group Operator', selection=_GROUP_OPERATOR_SELECTION, help="By default, Odoo will sum the values when grouping. If you wish" " to alter the behaviour, choose an alternate Group Operator")
|