Ajay Chauhan(OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-opw-576076-port-cha into lp:openobject-addons.
Requested reviews: OpenERP Core Team (openerp) For more details, see: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-576076-port-cha/+merge/138910 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 we add to dashboard at that time the action is prepared with current user preferences & that's why that action do not react when we change language of current user, it is always stick to preferences of creation time. forward port from 6.1 courtsey: Bhumi Thakkar Thanks, Ajay Chauhan -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-576076-port-cha/+merge/138910 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-opw-576076-port-cha.
=== modified file 'board/controllers.py' --- board/controllers.py 2012-11-26 14:04:23 +0000 +++ board/controllers.py 2012-12-10 07:10:26 +0000 @@ -23,6 +23,8 @@ xml = ElementTree.fromstring(board['arch']) column = xml.find('./board/column') if column is not None: + if context_to_save and context_to_save.has_key('lang'): + del context_to_save['lang'] new_action = ElementTree.Element('action', { 'name': str(action_id), 'string': name,
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp