Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2878 Visualizzazioni

Hi all,

    In project module, we have a field named "partner_id"(customer), while in "res_partner" module,it allows we have tow customers of the same name(if we don't add code to avoid this). Assuming that we have two  companies both named "Company_1", but they have different E-mail(or any other index),one"Company_1" has E-mail "Tim@gmail.com",the other "Company_1" has E-mail "Elizabeth@gmail.com", but in project excel file waiting to import it only has partner_id:Company_1, if I'm supposed to import a project whose customer name "Company_1" and has E-mail "Elizabeth@gmail.com", what should I do?

As u can see  as follows:


excel waiting to 

import:

project name

customer

...

...



do some thing

Company_1

...

...


in res_partner module:

name

E-mail





Company_1

Tim@gmail.com





Company_1

Elizabeth@gmail.com





  so how should I import the correct customer? Should I change the excel type or add some code in project module or res_partner module?

  Thanks a lot : )           


Avatar
Abbandona
Risposta migliore

You can use external id of partner instead of customer/company name.The external id of the partner will be different even though the names are same.

Avatar
Abbandona