← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 661509] Re: v6 rc1 context not evaled on new button on editable tree

 

** Changed in: openobject-client
   Importance: Undecided => Low

** Changed in: openobject-client
       Status: New => Confirmed

** Changed in: openobject-client
     Assignee: (unassigned) => OpenERP sa GTK client R&D (openerp-dev-gtk)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/661509

Title:
  v6 rc1 context not evaled on new button on editable tree

Status in OpenObject GTK Client:
  Confirmed

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
        ....
        ....







References