Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3059 Vues

I have a csv file which contains: 

MyProvider / External ID, Address / Street, Address / PostalCode


The relation between providers and addresses is Many2many and I want to add more providers to an existing address.


If import is succesful many different addresses with the same street and postal code are created which is bad.

If I do street and postalcode unique using _sql_constraints and import first the addresses and then I try to import update them Odoo will throw an error because the addresses can't be found just by their street names.


Maybe the solution it's obvious, sorry I'm new with Odoo.

Avatar
Ignorer
Meilleure réponse

Please Post Any Example how you add address and street in odoo.

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
août 24
1927
2
mars 23
2923
1
juin 22
5449
1
août 25
5923
0
mai 21
3765