Skip to Content
Menu
This question has been flagged
2 Replies
3009 Views

when i duplicate an instance of an object the button discard don't work and registration takes effect without using the save button. please can you give me one exemple using copy methode to correct this error.

Avatar
Discard

This is the default working mechanism of COPY/DUPLICATE in Odoo. def copy() will create the record and then it shows the user interface.

Best Answer

The object is first duplicated in the database (i.e. the record is duplicated and created in database) and then new created record will be displayed in an edit mode to let use to change anything.

"Discard" button discards any subsequent changes done by use.

Avatar
Discard
Related Posts Replies Views Activity
2
Jan 23
23781
4
Jun 21
37398
1
Dec 20
1488
1
Apr 18
6458
3
Sep 15
8481