mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] bi_sql_editor: Migration to 15.0
This commit is contained in:
@@ -526,7 +526,7 @@ class BiSQLView(models.Model):
|
||||
return self.name
|
||||
return "{} ({})".format(
|
||||
self.name,
|
||||
datetime.utcnow().strftime(_("%m/%d/%Y %H:%M:%S UTC")),
|
||||
datetime.utcnow().strftime("%m/%d/%Y %H:%M:%S UTC"),
|
||||
)
|
||||
|
||||
def _prepare_menu(self):
|
||||
|
||||
@@ -5,5 +5,6 @@ class IrModelFields(models.Model):
|
||||
_inherit = "ir.model.fields"
|
||||
|
||||
def _add_manual_fields(self, model):
|
||||
super()._add_manual_fields(model)
|
||||
res = super()._add_manual_fields(model)
|
||||
self.env["bi.sql.view"].check_manual_fields(model)
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user