跳至內容
選單
此問題已被標幟
1 回覆
3052 瀏覽次數

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.

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 24
1925
2
3月 23
2920
1
6月 22
5447
1
8月 25
5920
0
5月 21
3760