mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
this commit allows specifying the group operator for each field. This functionality was originally included in a seperate module "bi_sql_editor_aggregate" in version 12.
10 lines
237 B
Python
10 lines
237 B
Python
from odoo import models
|
|
|
|
|
|
class IrModelFields(models.Model):
|
|
_inherit = "ir.model.fields"
|
|
|
|
def _add_manual_fields(self, model):
|
|
super()._add_manual_fields(model)
|
|
self.env["bi.sql.view"].check_manual_fields(model)
|