Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
4 Vastaukset
1996 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä Paras vastaus

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

Avatar
Hylkää
Paras vastaus

Hi,

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

Thanks

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
huhtik. 25
1924
2
lokak. 22
3763
3
lokak. 25
348
1
syysk. 25
542
2
syysk. 25
641