Browse Source

[FIX] bi_sql_editor: allow XML-RPC calls

12.0
Sylvain LE GAL 4 years ago
parent
commit
6c6d718c5a
  1. 2
      bi_sql_editor/models/bi_sql_view.py

2
bi_sql_editor/models/bi_sql_view.py

@ -264,6 +264,7 @@ class BiSQLView(models.Model):
sql_view.cron_id = self.env['ir.cron'].create(
sql_view._prepare_cron()).id
sql_view.state = 'model_valid'
return True
@api.multi
def button_set_draft(self):
@ -302,6 +303,7 @@ class BiSQLView(models.Model):
self.menu_id = self.env['ir.ui.menu'].create(
self._prepare_menu()).id
self.write({'state': 'ui_valid'})
return True
@api.multi
def button_update_model_access(self):

Loading…
Cancel
Save