Odoo Help

Welcome!

This community 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.

1

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

By
matheus
on 4/7/13, 10:49 PM 1,711 views

The Question has been closed

by
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!

4

Sudhir Arya (SA)

--Sudhir Arya (SA)--
10150
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow

LinkedIn

Blog

Stackoverflow

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!

matheus
on 4/10/13, 12:21 AM

My pleasure.

Sudhir Arya (SA)
on 4/10/13, 2:10 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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