Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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?
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.
- Second way (best way): You use python and openerp ORM to customize the crm module.
you can see this tutorial : http://thierry-godin.developpez.com/openerp/tutoriel-openerp-realisation-module-web-pour-point-vente/
Sorry, the tutorial is in french, but google traduction is there.
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.
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 platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/11/14, 7:56 AM|
|Seen: 635 times|
|Last updated: 3/16/15, 8:10 AM|