I have a button function to move between states in product. when the state move from draft to confirm , i wrote a function to show warning if the onhand quantities are there. It show the warning but it stop the flow of function. Is there alternative warnings that show only the warning without affect the flow?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
2535
Visualizzazioni
Hi,
Adding an alert inside the form will help in this case ? If yes, use alerts in odoo.
Sample:
<div colspan="2" class="alert alert-danger text-center mb-3" role="alert"
attrs="{'invisible': ['|', ('comment_single_recipient', '=', False), ('recipient_single_valid', '=', True)]}">
<p class="my-0">Invalid phone numberp>
div>
Thanks
I tried this.But, it didn't work
didn't work means, not able to show alert on the form view ?
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
3
gen 25
|
4130 | ||
|
2
ago 24
|
9327 | ||
|
0
apr 22
|
2256 | ||
|
1
giu 25
|
1224 | ||
|
3
lug 25
|
2968 |