if values['section_id']:
custom_dept=[{'name':name,'complete_name':complete_name,'company_id':company_id,'parent_id':parent_id,'manager_id':manager_id},
{'name':name,'complete_name':complete_name,'company_id':company_id,'parent_id':parent_id,'manager_id':manager_id},
{'name':name,'complete_name':complete_name,'company_id':company_id,'parent_id':parent_id,'manager_id':manager_id}]
department_obj.create(cr, uid, custom_dept, context=context)
i need solution like above.can anyone help me to implement this.?