Hi, I need to know the basic work flow of adding multiple banks to a corresponding partner. I need to add multiple countries with a person how is this possible. Is it achieved through one to many field pls help me
Partners should automatically be allowed to have multiple bank accounts, as bank_ids is a one2many field. If you have the account module installed, you should be able to access these under the 'Accounting' tab.
As for multiple countries, you will need to change the country_id field to a many2many field rather than many2one. Something like this should do the trick:
'country_id_id': fields.many2many('res.country', id1='partner_id', id2='country_id', string='Country'),
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: 7/5/13, 5:53 AM|
|Seen: 850 times|
|Last updated: 3/16/15, 8:10 AM|