Naresh(OpenERP) has proposed merging
lp:~openerp-dev/openobject-client/trunk-bug-833814-nch into
lp:openobject-client.
Requested reviews:
OpenERP sa GTK client R&D (openerp-dev-gtk)
Related bugs:
Bug #833814 in OpenERP GTK Client: "xxx_view_ref are working not correct with
a many2one field inside"
https://bugs.launchpad.net/openobject-client/+bug/833814
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client/trunk-bug-833814-nch/+merge/74722
--
https://code.launchpad.net/~openerp-dev/openobject-client/trunk-bug-833814-nch/+merge/74722
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-client/trunk-bug-833814-nch.
=== modified file 'bin/widget/model/field.py'
--- bin/widget/model/field.py 2011-07-11 07:08:52 +0000
+++ bin/widget/model/field.py 2011-09-09 06:35:24 +0000
@@ -72,8 +72,9 @@
def context_get(self, model, check_load=True, eval=True):
context = {}
context.update(self.parent.context)
- exclude_ctx = ['set_editable','set_visible','form_view_ref', 'group_by']
- # removing default keys,group_by,search_default of the parent context
+ #The keys in exclude_ctx should be removed from the parent context
+ exclude_ctx = ['set_editable','set_visible',
+ 'form_view_ref', 'tree_view_ref', 'group_by']
context_own = context.copy()
for c in context.items():
if c[0].startswith('default_') or c[0] in exclude_ctx\
_______________________________________________
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