Merge lp:~openerp-dev/openobject-addons/6.1-opw-576076-bth into lp:openobject-addons/6.1
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/6.1-opw-576076-bth |
Merge into: | lp:openobject-addons/6.1 |
Diff against target: |
110 lines (+71/-6) 1 file modified
board/board.py (+71/-6) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-576076-bth |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+113916@code.launchpad.net |
Description of the change
Hello,
Add to dashboard filter not translated when language is changed.
1. Create new database select english language.
2. Laod an official translation, language for ex: dutch.
3. Select language Dutch from setting => user.
4. Sales => Sale => Lead => From filter select Add to dashboard.
5. Click on menu sale.
Observed: 'Added action is in dutch and existed actions are in english. when click on reset then actions are in current language. If i changed language than also new created actions are not translated it is in from which language is created. It will not translated.'
Expected: 'Added action and existed actions should displayed in current language and when reset at that time should also displayed in current language and when changed the language at that time should displayed in changed language.'
when select add to dashboard from filter existed actions and new created actions are stored with context which contains current language in ir.ui.view.custom model and when retrieve records from that model have translate in current language and parsing xml architecture than return.
Same as doing in fields_view_get from server side for while calling in board.py file in fields_view_get for ir.ui.view model for that it is done and return architecture in current language and parsed. But then after browse record from ir.ui.view.custom model and return arch but not return in current language and also architecture is not parsed.
Thanks.
Unmerged revisions
- 6882. By Bhumi Thakkar (Open ERP)
-
[FIX] Remove unnecessary code.
- 6881. By Bhumi Thakkar (Open ERP)
-
[FIX] Add Translation and xml parsing for ir.ui.view.custom model.
Hello,
This bug was qualified as Confirmed on Trunk (means still existing and reproducible). A Merge Proposal for trunk was created to fix it. Here is the link to follow the MP on Launchpad https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-opw- 576076- port-cha/ +merge/ 138910 and be informed once it's been merged in trunk: ... If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.
Thanks,
Naresh Soni