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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
5894
Vistas
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
mar 15
|
3526 | ||
|
1
jun 21
|
2061 | ||
Account.invoice customization
Resuelto
|
|
2
sept 17
|
5681 | |
|
0
jun 17
|
5357 | ||
|
1
jun 16
|
4185 |