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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
4673
Views