Drag and Drop a line in a one2many_list widget does not generate onchange event
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Won't Fix
|
Undecided
|
Unassigned |
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/
--- bin/widget/
+++ bin/widget/
@@ -241,7 +241,10 @@
res = self.rpc.
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):
Changed in openobject-client: | |
status: | New → Won't Fix |
Can someone please check and confirm my codechanges.
def _reload(self, fields): context. copy()
c.update( self.context_ get())
c['bin_ size'] = True read([self. id], fields, c)
self. set(value, signal=False)
self. set(value)
if not self.id:
return
c = rpc.session.
res = self.rpc.
if res:
value = res[0]
- if self.parent:
+ if self.parent and not self.modified:
else: