Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
1830 Lượt xem

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.





Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

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

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 4 25
1688
2
thg 10 22
3514
2
thg 9 25
230
3
thg 9 25
414
3
thg 9 25
465