Skip to content
Permalink
Browse files

use context instead of kwargs

  • Loading branch information...
rco-odoo committed Mar 20, 2019
1 parent 9e74ec2 commit e31ac8a2479cefc06e35e5dbbd249a0d138ffa3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/web/static/src/js/views/basic/basic_controller.js
@@ -656,7 +656,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, {
model: 'ir.translation',
method: 'translate_fields',
args: [record.model, record.res_id, ev.data.fieldName],
kwargs: {context: record.getContext()},
context: record.getContext(),
}
}).then(function (result) {
self.do_action(result, {

0 comments on commit e31ac8a

Please sign in to comment.
You can’t perform that action at this time.