reporting-engine/bi_sql_editor/models/ir_model.py
2024-05-03 11:07:13 +02:00

11 lines
265 B
Python

from flectra import models
class IrModelFields(models.Model):
_inherit = "ir.model.fields"
def _add_manual_fields(self, model):
res = super()._add_manual_fields(model)
self.env["bi.sql.view"].check_manual_fields(model)
return res