Odoo Help

0

Discard button is not working properly when duplicating an instance of an object

By
mehdi
on 6/10/15, 4:16 PM 610 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.

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

Atchuthan - Technical Consultant, Sodexis Inc
on 6/11/15, 1:07 AM
0
Sudhir Arya (SA)
On 6/11/15, 3:40 AM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 6/10/15, 4:16 PM
Seen: 610 times
Last updated: 6/11/15, 3:40 AM