Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
1983 Переглядів

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.





Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Автор Найкраща відповідь

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

Аватар
Відмінити
Найкраща відповідь

Hi,

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

Thanks

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
квіт. 25
1903
2
жовт. 22
3733
0
жовт. 25
87
Add pdf file to quote Вирішено
1
вер. 25
511
2
вер. 25
612