This question has been flagged
2 Replies
2864 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