CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hello Odoo community,
I was wondering is it possible that let say i have 2 fields res_partner_id which is many2one and phone_numbers which is selection.
so if i change res_partner_id it will populate my phone_numbers list. OR onchange phone_numbers selection but selection will be populated based on res_partner_id. On Openerp version 7
On version 8 it looks something like this but how do i the same on version 7?
name = fields.Selection(selection='_get_selection' string='name')
choise = 
ret_ids = self.env['env'].search()
for amen_id in ret_ids:
Any examples and Ideas would be appreciated
About This Community
Odoo Training Center
|Asked: 2/26/16, 11:48 AM|
|Seen: 865 times|
|Last updated: 2/26/16, 12:22 PM|