Odoo Help

0

OpenERP Insert multiple records at once

By
priyankahdp
on 11/4/13, 5:57 AM 1,730 views
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.?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 11/4/13, 5:57 AM
Seen: 1730 times
Last updated: 3/16/15, 8:10 AM