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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
6013
Vues
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
mars 15
|
3616 | ||
|
1
juin 21
|
2128 | ||
|
2
sept. 17
|
5810 | ||
|
0
juin 17
|
5460 | ||
|
1
juin 16
|
4282 |