Odoo Help

1

Change ID of Record

By
OpenWorks
on 6/4/15, 6:54 AM 696 views

How To change ID of record which is primary key.  I like to change id of res_country, res_country_state?

1
Rui Franco
On 6/4/15, 7:53 AM

That's a terrible thing to do.

But, if you must, I'd say: use postgresql. Remove the key, change the value of the record and, then, recreate the key. That should do the trick.

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.

Register

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

1 follower(s)

Stats

Asked: 6/4/15, 6:54 AM
Seen: 696 times
Last updated: 6/5/15, 1:14 AM