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
parent
commit
9664892a37
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web_translate_dialog/__manifest__.py
  2. 2
      web_translate_dialog/static/src/js/web_translate_dialog.js

2
web_translate_dialog/__manifest__.py

@ -6,7 +6,7 @@
{
"name": "Web Translate Dialog",
"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",
"website": "https://odoo-community.org/",
"author": "Camptocamp, "

2
web_translate_dialog/static/src/js/web_translate_dialog.js

@ -141,7 +141,7 @@ var translateDialog = Dialog.extend({
deff.resolve();
} else {
self.view.dataset.call('read',[[self.view.datarecord.id],
self.translatable_fields_keys,
self.translatable_fields_keys, '_classic_read',
self.view.dataset.get_context({
'lang': lg.code })]).done(
function (rows) {

Loading…
Cancel
Save