Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
1245 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

Hi,

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

Thanks

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
dub 25
816
2
říj 22
2566
1
čvn 25
92
3
kvě 25
363
3
kvě 25
648