Odoo Help


Change ID of Record

on 6/4/15, 6:54 AM 892 views

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

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.


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)


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