mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] bi_sql_editor : handle correctly translation for action name
This commit is contained in:
committed by
David James
parent
a3cf870117
commit
217629af1d
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user