This question has been flagged
2 Replies
3697 Views

The CRM of ODOO offers only the possibility to log a "Name">.

But we need to log those separately as Mailchimp for example request a separate input for this.

Is it possible to adapt this?

Regards,

diederick 

Avatar
Discard
Best Answer

You need to create two additional fields for first name and last name visible if contact is not company and later create onchange evet to create put compount name in name field. Maybe there is already module for that.

The problem with callout is that it will not work with read only field (name should be read only for persons as it is calculated from first name and last name) and you probably also need to update in in create and write method.

Another possibility is to try split name if you always have first name first, but it could be problem for many first names if used.

Odoo consulting

Avatar
Discard
Best Answer

Dear Diederick,

It's possible to have two input one for the first name et one for the last name.

You have two ways to do that.

  • First way : You add the input field directlty in openerp. To do that you must active the developper mode

How activate the developper mode ? : sees this link : https://www.odoo.com/forum/help-1/question/developper-mode-where-it-is-56979

To add a field, sees this link : https://www.youtube.com/watch?v=XCEmW9F8HQc

When you use this way to add a field, you can lost your input field after upgrade you system.

Sorry, the tutorial is in french, but google traduction is there.

Best regards

Avatar
Discard