reporting-engine/bi_sql_editor/models/ir_model.py
2021-06-13 02:14:24 +00:00

10 lines
240 B
Python

from flectra 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)