Merge lp:~openerp-dev/openerp-web/7.0-ticket-604115-jam into lp:openerp-web/7.0
Proposed by
Jigar A.
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openerp-web/7.0-ticket-604115-jam |
Merge into: | lp:openerp-web/7.0 |
Diff against target: |
30 lines (+3/-3) 1 file modified
addons/web/static/src/js/view_list.js (+3/-3) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/7.0-ticket-604115-jam |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sandy Carter (http://www.savoirfairelinux.com) (community) | code review, test | Needs Fixing | |
OpenERP Core Team | Pending | ||
Review via email: mp+206540@code.launchpad.net |
Description of the change
Many2many fields in Tree views will not get translated. If you check the context for a name_get of a m2m field, it is passed as None. Same i sthe case for many2one and reference fields.
Courtesy : Sandy Carter (http://
Thanks
To post a comment you must log in.
Getting this error while using this patch at revno 4144.
Does not appear at revno 4143
Client Traceback (most recent call last): web/http. py", line 197, in dispatch jsonrequest = simplejson. load(requestf, object_ hook=reject_ nonliteral) python2. 7/site- packages/ simplejson/ __init_ _.py", line 431, in load decimal= use_decimal, **kw) python2. 7/site- packages/ simplejson/ __init_ _.py", line 505, in loads encoding, **kw).decode(s) python2. 7/site- packages/ simplejson/ decoder. py", line 370, in decode python2. 7/site- packages/ simplejson/ decoder. py", line 389, in raw_decode web/http. py", line 125, in reject_nonliteral
File "web/addons/
self.
File "/usr/lib/
use_
File "/usr/lib/
return cls(encoding=
File "/usr/lib/
obj, end = self.raw_decode(s)
File "/usr/lib/
return self.scan_once(s, idx=_w(s, idx).end())
File "web/addons/
"Non literal contexts can not be sent to the server anymore (%r)" % (dct,))
ValueError: Non literal contexts can not be sent to the server anymore ({'__ref': 'compound_context', '__contexts': [{'lang': 'fr_FR', 'tz': 'Europe/Brussels', 'uid': 1}, {'lang': 'fr_FR', 'tz': 'Europe/Brussels', 'uid': 1}, {}], '__eval_context': None})