Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5213 มุมมอง

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?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I think  it is not possible in normal case.

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 16
4497
2
ก.พ. 24
14189
how to print a custom report in openerp แก้ไขแล้ว
1
ต.ค. 22
5742
1
ส.ค. 21
4216
0
ก.ค. 21
2188