[FIX] bi_sql_editor : handle correctly translation for action name
parent
edb533e6de
commit
02ca14a37f
|
@ -680,7 +680,9 @@ class BiSQLView(models.Model):
|
|||
if sql_view.action_id:
|
||||
# Alter name of the action, to display last refresh
|
||||
# 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
|
||||
def _refresh_size(self):
|
||||
|
|
Loading…
Reference in New Issue