Community mailing list archives

Re: Remove Many2Many relation

Elico Corporation, Eric Caudal
- 08/26/2016 21:51:15

Mucher simpler for some cases:

* Export the data (list of cities) via interface

* Export the cities id

* use Excel to replace the id in partners with the data (city name)

* remove your module

* import back the data

Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
On 08/26/2016 11:08 PM, Moises Lopez wrote:

You can create a migration script.

See examples

El 26/08/2016 7:32 a.m., "Juan Plaza" <> escribió:
I installed a module that change res.partner city to Many2Many field, I need to change it to char field again, how I can remove a Many2Many relation without lost integrity?.

Thanks for your help

Post to:

Post to: