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
↧