mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
bi_sql_editor: add support for group operators
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.
This commit is contained in:
9
bi_sql_editor/models/ir_model.py
Normal file
9
bi_sql_editor/models/ir_model.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user