تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5199 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 16
4497
2
فبراير 24
14188
1
أكتوبر 22
5737
1
أغسطس 21
4216
0
يوليو 21
2187