Odoo Help


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

on 6/10/15, 4:16 PM 663 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

Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
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.


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)


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