Odoo Help

0

Modifying sale.order workflow to skip invoice

By
Tomas Parnarauskas
on 8/2/13, 5:02 AM 2,456 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

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: 8/2/13, 5:02 AM
Seen: 2456 times
Last updated: 3/16/15, 8:10 AM