OCA reporting engine fork for dev and update.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
433 B

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
class IrModelFields(models.Model):
_inherit = 'ir.model.fields'
def _add_manual_fields(self, model):
super()._add_manual_fields(model)
if 'bi.sql.view' in self.env:
Sql = self.env['bi.sql.view']
if hasattr(Sql, 'check_manual_fields'):
Sql.check_manual_fields(model)