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

How to trigger an action on several records when importing ?

By
Hugo
on 8/21/15, 8:24 AM 451 views

On Odoo 8, I imported a lot of data through the import module (via csv files) but I can't find a way to execute actions from buttons like "Validate" on a record.

For example, I imported some customer invoices. Their state is "draft" after the import. What I want is to generate payments on all those invoices, without having to click manually on the Validate (or others) buttons.

0

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
2988
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


Ahmed M.Elmubarak
On 8/23/15, 9:12 AM

Hello,

I usually use xml-rpc script to achieve such task, you can call the workflow for list of some records ...

I hope it'll help

Regards,

0
Hugo
On 8/24/15, 11:11 AM

Well I actually did modify the workflow temporarly directly on the GUI, but using a XML-RPC script could be more reusable indeed.

Thanks for your answer

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

2 follower(s)

Stats

Asked: 8/21/15, 8:24 AM
Seen: 451 times
Last updated: 6/21/16, 5:31 AM