Odoo Help


populating address fields in create customer form using custom model

Ahmed Sohaib Amjad
on 4/15/14, 2:47 PM 1,426 views

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

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/15/14, 2:47 PM
Seen: 1426 times
Last updated: 3/16/15, 8:10 AM