How To change ID of record which is primary key. I like to change id of res_country, res_country_state?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
1
Ответить
6769
Представления
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
1
мар. 15
|
9275 | ||
|
0
июл. 25
|
13 | ||
|
2
июн. 24
|
1233 | ||
|
0
янв. 22
|
2483 | ||
|
1
июн. 21
|
3837 |