Browse Source
Merge pull request #844 from tschanzt/tt-translation-context
[FIX] web_translate_dialog: add load argument to ensure correct context split
pull/465/merge
Pedro M. Baeza
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
web_translate_dialog/__manifest__.py
-
web_translate_dialog/static/src/js/web_translate_dialog.js
|
@ -6,7 +6,7 @@ |
|
|
{ |
|
|
{ |
|
|
"name": "Web Translate Dialog", |
|
|
"name": "Web Translate Dialog", |
|
|
"summary": "Easy-to-use pop-up to translate fields in several languages", |
|
|
"summary": "Easy-to-use pop-up to translate fields in several languages", |
|
|
"version": "10.0.1.0.0", |
|
|
|
|
|
|
|
|
"version": "10.0.1.0.1", |
|
|
"category": "Web", |
|
|
"category": "Web", |
|
|
"website": "https://odoo-community.org/", |
|
|
"website": "https://odoo-community.org/", |
|
|
"author": "Camptocamp, " |
|
|
"author": "Camptocamp, " |
|
|
|
@ -141,7 +141,7 @@ var translateDialog = Dialog.extend({ |
|
|
deff.resolve(); |
|
|
deff.resolve(); |
|
|
} else { |
|
|
} else { |
|
|
self.view.dataset.call('read',[[self.view.datarecord.id], |
|
|
self.view.dataset.call('read',[[self.view.datarecord.id], |
|
|
self.translatable_fields_keys, |
|
|
|
|
|
|
|
|
self.translatable_fields_keys, '_classic_read', |
|
|
self.view.dataset.get_context({ |
|
|
self.view.dataset.get_context({ |
|
|
'lang': lg.code })]).done( |
|
|
'lang': lg.code })]).done( |
|
|
function (rows) { |
|
|
function (rows) { |
|
|