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

Hi,

I want to Show report in "Print" dropdown based on condition wise. like, if the Sale order is in draft state then in the dropdown it should display Quotation report. But after confirming SO I dont want to show Quotation report. How can I achieve this?

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

It is not possible, at least with odoo core.

But, this is my way to solve this situation:

1. Develop a wizard and launch it in Print Button

2. Then into wizard make this validation.

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

I think  it is not possible in normal case.

I suggest you to remove dropdown and give both buttons in form view.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 16
4497
2
thg 2 24
14189
1
thg 10 22
5742
1
thg 8 21
4216
0
thg 7 21
2188