i'm new to openerp as well as python. i want to populate address fields in create customer form using my custom model which i created from openerp web client.
i have created a model named as x_res.postcode. this table contains the information regarding postcodes and their respective addresses. i also have created the custom form view for this model. and i have added a many2one field in res.partner.form. i'm getting value in many2one field in res.partner.form from x_res.postcode.
I want to populate the address in res.partner fields like street, street2, city town etc from the x_res.postcode model address fields.
please ask if i need to post anything to help my question understand
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
|Asked: 4/15/14, 2:47 PM|
|Seen: 1007 times|
|Last updated: 3/16/15, 8:10 AM|