I'm trying to import suppliers. Some are for foreign companies that have no state codes, which makes the import process return errors. Looking in the database, I see that field "state" in "res.partner" is nullable, so why can't I import a blank field? I have also tried replacing empty strings with "NULL" and "(null)", but neither works.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
What ended up working for me was to open the .csv file in OpenOffice, select the blank fields, and hit the "Delete" key. I then got a pop-up asking if I wanted to delete numbers, text, etc., or "Delete All". I chose "Delete All", then re-saved the file. After that, it validated and imported without problems! Hope this helps someone else when they run into the same issue.
I suspect that the fields of your initial csv file were not blank but filled with one symbol/caracter like ' which you cannot see by default.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
2
May 25
|
1320 | ||
Import from Winbooks
Çözüldü
|
|
4
May 25
|
5017 | |
|
1
Ağu 24
|
2322 | ||
|
1
Şub 24
|
3086 | ||
|
3
Eki 23
|
11123 |