跳至內容
選單
此問題已被標幟
4 回覆
1960 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
4月 25
1873
2
10月 22
3676
1
9月 25
459
2
9月 25
562
3
9月 25
582