onchange event for drag and drop still does not work.
I wonder why that is not fixed

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

Title:
  Drag and Drop a line in a one2many_list widget does not generate
  onchange event

Status in OpenERP GTK Client:
  Won't Fix

Bug description:
  
  Drag and Drop a line in a one2many_list widget does not generate onchange 
event when i install the following changes.

  without these changes it works fine.

  Revision No 1076
  ---------------------------------------------------------
  === modified file 'bin/widget/model/record.py'
  --- bin/widget/model/record.py        2010-06-09 13:43:22 +0000
  +++ bin/widget/model/record.py        2010-06-14 14:18:20 +0000
  @@ -241,7 +241,10 @@
           res = self.rpc.read([self.id], fields, c)
           if res:
               value = res[0]
  -            self.set(value)
  +            if self.parent:
  +                self.set(value, signal=False)
  +            else:
  +                self.set(value)
   
       def expr_eval(self, dom, check_load=True):
           if not isinstance(dom, basestring):

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/601937/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to