Issue 9600

Title
New line disappear when click on cancel after editing in one2many
Priority
bug
Status
closed
Superseder
strange behavior on o2m fields with many2many widget (issue 9298)
Nosy list
ced, mrichez, pokoli, tbruyere
Assigned to
Keywords

Created on 2020-09-15.14:16:29 by mrichez, last changed 1 week ago by ced.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-10-17.02:05:41
For me it is a duplicate of issue9298.
Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2020-10-17.00:43:15
May be related to issue9298 ?
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-10-12.12:26:05
It looks quite similar to issue3325
Author: [hidden] (mrichez)
Date: 2020-09-15.14:16:29
Create a new supplier shipment, select supplier then select an incoming move (using the "+" on the search widget - add/remove on One2Many). Then double-click on the line to edit. On the edit form click on cancel. Line is still on the screen. Then click to receive/save supplier shipment, line will disappear but state is received without line.

Same behaviour applies to also to  supplier invoices (i think to all one2many with an add_remove attribute). But in the case of supplier invoices, i'm doing the same scenario but instead of saving, i'm clicking on "Post"... line disappear and invoice is posted without line ! (i think it's another bug to prevent to post or validate an invoice without line)
History
Date User Action Args
2020-10-17 02:05:41cedsetstatus: chatting -> closed
messages: + msg61021
superseder: + strange behavior on o2m fields with many2many widget, - One2Many fields: Draft records are removed on cancel
2020-10-17 00:43:15pokolisetnosy: + pokoli
messages: + msg61020
2020-10-12 12:26:05cedsetstatus: unread -> chatting
messages: + msg60831
superseder: + One2Many fields: Draft records are removed on cancel
nosy: + ced
2020-09-15 14:16:29mrichezcreate

Showing 10 items. Show all history (warning: this could be VERY long)