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?
Această întrebare a fost marcată
1
Răspunde
4100
Vizualizări
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 ?
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
3
ian. 25
|
6260 | ||
|
|
2
aug. 24
|
17825 | ||
|
|
0
apr. 22
|
3699 | ||
|
|
0
mar. 26
|
16 | ||
|
Timesheet App in backoffice
Rezolvat
|
|
2
mar. 26
|
3373 |