Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
1231 Vizualizări

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.





Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

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

Thanks

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
apr. 25
810
2
oct. 22
2548
3
mai 25
328
3
mai 25
639
1
mai 25
305