Hey friend try to create a function which will add for each customer do like this:
1. add 411101 + custmer..id
2. concatenate the first result with the name of the customer
Which means a function like this:
def get_inputs(self, cr, uid,ids, field_id, context=None):
obj = self.pool.get('table_of_cutomers')
id_var = self.read(cr, uid,ids,['id','name_customer'])
obj_ids = obj.search(cr, uid, [('name_customer', '=', field_id)])
and then you will add (411101 + id) put it in a variable and concatenate i as i told you.
To call your function you can call an on_change function like this:
def on_change_customer_id(self, cr, uid, ids, field_id, context=None):
res = {'value':{'customer_ids': self.get_inputs(cr, uid, ids, field_id, context=context),
}
return res
Dont forget the xml:
<field name="field_id" on_change="on_change_customer_id(field_id)">
Regards.