summaryrefslogtreecommitdiff
path: root/addons/payment_authorize/controllers/main.py
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2019-02-08 05:34:44 +0000
committerMartin Trigaux <mat@odoo.com>2019-02-08 05:34:44 +0000
commitb6d62f8ce38774fcffd94ee8450ae570def8e900 (patch)
treebb62539466e8e16f701c02d5a4d12839ba69ebc6 /addons/payment_authorize/controllers/main.py
parent785e5f149c055a0c6f58b6c86973be52a0491fc6 (diff)
[FIX] mail: translate activity name
This commit fixes two untranslated terms in the activity view. From the cohort view, when clicking on a cell to see details, the title was not translated (missing _t call). The content was not translated either as the language was not present in the context. 36d45175b087 was a first step to fix it but while self.record contained data, self.record.getContext() returns an empty dictionnary (no context is set in the cohort view). When computing the context, check that it is not empty, otherwise, fallback on the session context. opw-1936855 closes odoo/odoo#30942
Diffstat (limited to 'addons/payment_authorize/controllers/main.py')
0 files changed, 0 insertions, 0 deletions