o2m list discards changed lines after adding a new record

Bug #942477 reported by Simon on 2012-02-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP sa GTK client R&D

Bug Description

When you both modify a previously saved record and add a new record to a one2many list, the changes are discarded upon saving the parent record.

steps to reproduce:

* using trunk server, addons and client, and a clean database with demo data and sale installed
* create a new sale for customer axelor
* add a line with product pc1, quantity 1
* save & close the sale order line
* save the sale
* open the line with product pc1, change qty to 2
* save & new
* add a line with product pc2, quantity 1
* save & close (you now see a sale with lines pc1: qty=2, pc2: qty=1)
* save the sale
* the sale order line pc1's quantity reverted to 1, were it should be 2.

The same applies to eg purchase orders.


I have tested your scenario, I have faced the same problem at my end. That's why I have attached the video for more reference.


Changed in openobject-client:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP sa GTK client R&D (openerp-dev-gtk)
importance: Low → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers