Odoo Help


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.


Modifying sale.order workflow to skip invoice

Tomas Parnarauskas
on 8/2/13, 5:02 AM 1,825 views

I tried to add additional condition in workflow that when sale's order total amount is 0 (for example giving advertisements to partners, so they don't need to pay for that), then transition when pressing confirm order (either from draft or from sent email state), goes directly to wait_ship phase instead of router phase (which then would split into wait ship and invoice). So I tried to make a sale with zero amount_total, but after confirming that sale order, screen only refreshes and nothing happens and it stays in draft state. Did I miss something? I only added two transitions from draft and from sent states to check if amount_total is zero. If it is, then it skips router activity and goes directly to wait_ship. You can see in screenshot how my modified workflow looks like. image description

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)


Asked: 8/2/13, 5:02 AM
Seen: 1825 times
Last updated: 3/16/15, 8:10 AM