Odoo Help


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

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

The Question has been closed

Sudhir Arya (SA)
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 (SA)
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 (SA)
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: 2163 times
Last updated: 3/16/15, 8:10 AM