Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
1635 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Autor Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

Hi,

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

Thanks

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
abr 25
1413
2
oct 22
3218
1
jul 25
513
2
jul 25
761
1
jul 25
607