reporting-engine/bi_sql_editor/models/ir_model.py

11 lines
265 B
Python
Raw Permalink Normal View History

2024-05-03 09:07:13 +00:00
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