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.

0

Keep master data for development

By
peterm
on 6/18/14, 4:29 AM 561 views

Is there any way to copy only master data (partners, products, etc or data of a specific model) completely from one db to another. On development I will need some master data to create sales, invoices, etc. At some point I want to have a fresh db without sales and invoices, but with master data in.

Shure, I can keep a copy of db only with masters but during testing in running db I propably add data to masters that I want to copy to another db.

0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 6/18/14, 5:47 AM

Peterm,

If you want to use these master data, you should either keep them at module (by code) level so easily they are usable for other DBs.

In other case, you should export those data and keep them in import-compatible CSVs, so they are easily re-usable.

Thanks.

0

Jagdish Panchal

--Jagdish Panchal--
2674
| 5 3 6
Gandhinagar, India
--Jagdish Panchal--

OpenERP Developer

Jagdish Panchal
On 6/18/14, 5:28 AM

Hi

Refer this link may help you:

http://stackoverflow.com/questions/14826862/how-to-restore-a-single-table-from-a-sql-postgresql-backup

http://www.postgresql.org/docs/current/static/app-pgdump.html

http://stackoverflow.com/questions/14826862/how-to-restore-a-single-table-from-a-sql-postgresql-backup

http://stackoverflow.com/questions/14826862/how-to-restore-a-single-table-from-a-sql-postgresql-backup

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

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

Question tools

1 follower(s)

Stats

Asked: 6/18/14, 4:29 AM
Seen: 561 times
Last updated: 3/16/15, 8:10 AM