Ir al contenido
Menú
Se marcó esta pregunta
5080 Vistas
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.?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
dic 23
12934
3
jul 22
23345
2
jun 21
18686
0
sept 20
3810
0
may 16
4241