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

how to pass fields' values from logged calls to opportunity?

By
Mhmd Fares
on 4/13/16, 5:41 AM 178 views

I created new fields in the logged calls 'crm.phonecall' ,  and the same fields to the opportunity  'crm.lead' , and I would like to know how to pass the values from here to there when I press on "convert to opportunity" button in the logged calls.here below is an example of the fields I added to the forms


class crm_phonecall(osv.osv):   
_inherit = 'crm.phonecall'
_columns = { 

'type_of_service': fields.many2one('service.type', 'Type Of Service'),


class crm_lead(osv.osv):    
_inherit = 'crm.lead'
_columns = {
'type_of_service': fields.many2one('service.type', 'Type Of Service'),



thanks in advance



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: 4/13/16, 5:41 AM
Seen: 178 times
Last updated: 4/13/16, 6:20 AM