Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
1975 Visualizzazioni

Hi.


Can you help me to confirm if it is possible to enable the cancel quote option from the action button in the main menu.





Avatar
Abbandona
Risposta migliore

Hi,
You can create a server action in the database for this.

* navigate to server actions menu
* hit new button, name it as Cancel
* select model as sale.order
* let it execute python code

Add the below code:
for record in records:
     record.action_cancel()

See:  Add Contextual Action Using Server Action To Ease Your Work In Odoo



Thanks

Avatar
Abbandona
Risposta migliore

click menu:setting-->click:Activate the developer mode-->clcik menu:Technical -->click menu:Server Actions-->search:Cancel quotaions-->click data--> click button: Remove Contextual Action
After that, refresh the browser page.

Avatar
Abbandona
Autore Risposta migliore

Thank you. I am currently on version 13 of odoo community.

Avatar
Abbandona
Risposta migliore

Hi,

Are you referring to this option? if yes, it's available by default. need not enable from anywhere

Thanks

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
apr 25
1894
2
ott 22
3714
1
set 25
496
2
set 25
597
3
set 25
613