Odoo Help

Welcome!

This community 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.

0

OpenERP Insert multiple records at once

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

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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