Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Can we log separately the first name and last name of a contact?

By
Diederick Geerinckx
on 9/11/14, 7:56 AM 596 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 

0
ThackerS (ts)
On 9/11/14, 8:18 AM

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

0
Marek Mosiewicz
On 9/11/14, 8:15 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/11/14, 7:56 AM
Seen: 596 times
Last updated: 3/16/15, 8:10 AM