Browse Source

[FIX] bi_sql_editor : handle correctly translation for action name

14.0-report-py3o-pr-506
Sylvain LE GAL 4 years ago
committed by David James
parent
commit
217629af1d
  1. 4
      bi_sql_editor/models/bi_sql_view.py

4
bi_sql_editor/models/bi_sql_view.py

@ -680,7 +680,9 @@ class BiSQLView(models.Model):
if sql_view.action_id: if sql_view.action_id:
# Alter name of the action, to display last refresh # Alter name of the action, to display last refresh
# datetime of the materialized view # datetime of the materialized view
sql_view.action_id.name = sql_view._prepare_action_name()
sql_view.action_id.with_context(
lang=self.env.user.lang
).name = sql_view._prepare_action_name()
@api.multi @api.multi
def _refresh_size(self): def _refresh_size(self):

Loading…
Cancel
Save