c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00346
[Bug 661509] [NEW] V6 client trunk, context on editable tree
Public bug reported:
When I use a new button on a editable tree, context is not evaluated.
To fix this I change model_new on class ModelRecordGroup on bin/widget/model/group.py
whit this code:
def model_new(self, default=True, domain=[], context={}):
ctx2 = self.context.copy()
ctx2.update(context)
self.context = ctx2
....
....
** Affects: openobject-client
Importance: Undecided
Status: New
--
V6 client trunk, context on editable tree
https://bugs.launchpad.net/bugs/661509
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject GTK Client: New
Bug description:
When I use a new button on a editable tree, context is not evaluated.
To fix this I change model_new on class ModelRecordGroup on bin/widget/model/group.py
whit this code:
def model_new(self, default=True, domain=[], context={}):
ctx2 = self.context.copy()
ctx2.update(context)
self.context = ctx2
....
....
Follow ups
-
[Bug 661509] Re: v6 rc1 context not evaled on new button on editable tree
From: nch(OpenERP), 2010-12-21
-
[Bug 661509] Re: v6 rc1 context not evaled on new button on editable tree
From: DBR (OpenERP), 2010-12-21
-
[Bug 661509] Re: v6 rc1 context not evaled on new button on editable tree
From: Diego Abad, 2010-10-23
-
[Bug 661509] Re: v6 rc1 context not evaled on new button on editable tree
From: RGA(OpenERP), 2010-10-22
-
[Bug 661509] Re: v6 rc1 context not evaled on new button on editable tree
From: Diego Abad, 2010-10-21
-
[Bug 661509] Re: V6 client trunk, context on editable tree
From: Diego Abad, 2010-10-16
-
[Bug 661509] Re: V6 client trunk, context on editable tree
From: Diego Abad, 2010-10-15
-
[Bug 661509] [NEW] V6 client trunk, context on editable tree
From: Diego Abad, 2010-10-15
References