Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
3250 Widoki

Hi,

In Odoo V8 I am trying to upload Companies details using .csv file but the data which i am trying to upload for phone, email, Tax ID and website is not getting updated but rest all information gets updated.

Please help. I think this is a Odoo Bug

Awatar
Odrzuć

could you post headers from your csv file?

During Import, in the import screen where it lists the data beneath the column names, did you checked that does the columns you mentioned are there or is it saying 'Don't Import'. Check It. If it is showing 'Don't Import', then there is some problem in the field names.

Najlepsza odpowiedź

These fields are fields.function, which are filled up based on the partner attached to that company, so it takes values from the values set in the res.partner. So as soon as you will create a company it will create a partner and the city, street, street2 etc. will be taken from there. Check this.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Hi Guys Thanks for all your replies. But the problem for these fields is that they are Related Fields to Partner. If I try to import it using CSV is it not updating in res.company but if i manually enter value in then they get updated in the company as well as in partner.

 

 

 

These are the header names

Parent Company name currency street street2 city country zip vat email phone fax website company_registry

Also I have checked "Don't Import" thing. All seems good. I have also tried with Removing the header and manually selecting header for each column but its not working 

Awatar
Odrzuć

Import all data on partner form, using external id : base.main_partner

Najlepsza odpowiedź

Hi,

You first create a record by entering the values manually.Then export that record by using the export type ="Import-Compatible Export" nad save it in the .csv file.Then change any field value or import as it  is or validate it.If it results "Everything Seems valid" means ,there is no problem otherwise your code was not updated.Try this and you can find where is the issue

Awatar
Odrzuć