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.
Im in Logged Calls(crm.phonecall) screen.
I created 2 extra fields for phone & email here...
When i press save button the values loaded to crm_phonecall table,
But i need to store the customer name,phone & email in res_partner also,,
@Aci, what you can do is inherit the write method so that before calling the crm.phonecall, it gets the values that need to be stored to res.partner and store it in the res.partner as well. However, do note that write will receive new values only, so you may need to obtain the res.partner's ID from the existing crm.phonecall.
your question is not clear but you say "When create a new customer through drop down menu i want to store the phone & email" seems like you want to open customer form to fill phone and email while you click on create button in dropdown. If yes then you can mark those fields required in view only. and form will be opened, you can fill the required fields and save record.
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: 1/20/15, 6:30 AM|
|Seen: 562 times|
|Last updated: 3/16/15, 8:10 AM|