Odoo Help


What sql command openerp uses when you press the 'duplicate' database button? [Closed]

on 4/7/13, 10:49 PM 2,312 views

The Question has been closed

Sudhir Arya (ERP Harbor Consulting Services)
on 04/18/2013 04:50:32

This is the best method to get a copy of a specific database, but unfortunatelly you can only do it in the same server.. The purpose of this question is to do get a perfect copy of certain database since the backup method fails most of the time. Thanks!


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 4/8/13, 2:09 AM

When you press Duplicate button, copy method is called. That copy will call read method which then calls _read_flat method which executes select query.

For more information you can find this all methods inside server/openerp/osv/orm.py.

Thanks Sudhir! Your answer was very clear and exactly what i needed to know!

on 4/10/13, 12:21 AM

My pleasure.

Sudhir Arya (ERP Harbor Consulting Services)
on 4/10/13, 2:10 AM

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

0 follower(s)


Asked: 4/7/13, 10:49 PM
Seen: 2312 times
Last updated: 3/16/15, 8:10 AM