Merge lp:~openerp-dev/openobject-addons/7.0-opw-586534-msh into lp:openobject-addons/7.0
Proposed by
Mohammed Shekha(Open ERP)
Status: | Merged |
---|---|
Approved by: | Naresh(OpenERP) |
Approved revision: | no longer in the source branch. |
Merged at revision: | 9210 |
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-586534-msh |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
23 lines (+3/-3) 1 file modified
share/static/src/js/share.js (+3/-3) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-586534-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Dony (Odoo) | Approve | ||
Naresh(OpenERP) (community) | Approve | ||
Review via email: mp+151876@code.launchpad.net |
Description of the change
Hello,
Fixed the issue of context not passed call, due to which view strings are not translated.
Demo:- Go to any menu tree view, select any record and share that record(do this any other language than english), wizard is opened but string of wizard is not translated.
Reason: Context is not passed in method call.
Thanks.
To post a comment you must log in.
Looks good, but the addition of $.when() was not necessary as DataSet.create() always returns a Deferred, and the use of then() instead of done() was not necessary either (cfr the jQuery Deferred documentation).