Opening a second o2many field erase their content
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
Medium
|
OpenERP sa GTK client R&D |
Bug Description
Hi,
I discover a bug on the GTK Client with 2 successives o2many field. To reproduce the bug, follow those steps (tested on windows XP, Seven with all those verisons 5.0.12, 5.0.14, 5.0.15):
1) Open the product list and enter into one product
2) Go to price & supplier tabs, verify that you have no lines in the supplier information section
3) Add a new line, choose a partner, add minimal qty to 1 and fill a line in the "pricelist" part with the following : qty: 1 ; Unit Price : 100
4) Click Ok, then Close
5) Re-Open the line just created, then click Ok
6) Save the product
7) Re-Open the line you created, the "Pricelist" part has disappeared ! You still see an entry for the chosen partner, but no more line for prices !!
Doing the same, but forbid the step 5) and everything work as expected. This means opening the form without saving it lost some infos !
Regards,
Joël
Related branches
- OpenERP sa GTK client R&D: Pending requested
-
Diff: 271 lines (+46/-25)10 files modifiedbin/modules/gui/main.py (+4/-2)
bin/modules/gui/window/win_import.py (+13/-4)
bin/openerp-client.py (+2/-0)
bin/openerp.glade (+2/-0)
bin/widget/model/field.py (+1/-1)
bin/widget/screen/screen.py (+1/-1)
bin/widget/view/calendar_gtk/parser.py (+3/-2)
bin/widget/view/form_gtk/reference.py (+1/-1)
bin/widget/view/list.py (+16/-9)
bin/widget_search/selection.py (+3/-5)
Changed in openobject-client: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → OpenERP sa GTK client R&D (openerp-dev-gtk) |
Hello Joël Grand-Guillaume,
This has been fixed in lp:~openerp-dev/openobject-client/trunk-dev-client with revision info as 1396 <email address hidden> and will be merged soon to the the trunk client.
Thanks,