Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4 Antwoorden
1888 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Beste antwoord

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
Annuleer
Auteur Beste antwoord

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

Avatar
Annuleer
Beste antwoord

Hi,

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

Thanks

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
apr. 25
1740
2
okt. 22
3548
2
sep. 25
362
3
sep. 25
467
3
sep. 25
514