o2m list discards changed lines after adding a new record
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Confirmed
|
Medium
|
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.
Hello,
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.
Thanks!