one2many list on_change fired before remove
Bug #785062 reported by
Marian Negru
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP sa GTK client R&D |
Bug Description
The problem is that the event is signaled before removing the item and the on_change method receives the deleted item in the list. The code is:
model.signal(
self.screen.
and it should be:
self.screen.
model.signal(
in method _sig_remove from widget\
Related branches
lp:~openerp-dev/openobject-client/trunk-bug-785062-rga
- Naresh(OpenERP): Approve
-
Diff: 13 lines (+1/-1)1 file modifiedbin/widget/view/form_gtk/one2many_list.py (+1/-1)
Changed in openobject-client: | |
assignee: | nobody → OpenERP sa GTK client R&D (openerp-dev-gtk) |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
Hello Marian Negru,
Would you please provide us your test case where you face problem.
Thanks