Bhumi Thakkar (Open ERP) has proposed merging
lp:~openerp-dev/openerp-web/6.1-opw-576076-bth into lp:openerp-web/6.1.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-576076-bth/+merge/113918
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: 'When new action is created stored in current language with context
in ir.ui.view.custom'.
Expected: 'should stored in english in ir.ui.view.custom and whne retrieved
from model it should translated as per current language in context'.
Removed 'lang' from context while creating new action in ir.ui.view.custom.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-576076-bth/+merge/113918
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/6.1-opw-576076-bth.
=== modified file 'addons/web/controllers/main.py'
--- addons/web/controllers/main.py 2012-06-29 09:57:53 +0000
+++ addons/web/controllers/main.py 2012-07-09 07:27:21 +0000
@@ -1354,6 +1354,7 @@
xml = ElementTree.fromstring(board['arch'])
column = xml.find('./board/column')
if column is not None:
+ ctx.pop('lang')
new_action = ElementTree.Element('action', {
'name' : str(action_id),
'string' : name,
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp