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

menu = "False" Attribute is not working where i'm wrong please correct my mistake or any advice to achieve my goal 

Code Preview

Problem Preview

الصورة الرمزية
إهمال

did you upgrade related module? after make changes in XML....

الكاتب

yes i restart my server and upgrade this module ....

أفضل إجابة

You should try with this code, Hope it is worked

<report
string="Purchase Order"
id="purchase.action_report_purchase_order"
model="purchase.order"
report_type="qweb-pdf"
name="purchase.report_purchaseorder"
file="purchase.report_purchaseorder"
print_report_name="
(object.state in ('draft', 'sent') and 'Request for Quotation - %s' % (object.name) or
'Purchase Order - %s' % (object.name))"
menu="False"
/>

Restart the server and update the module.

الصورة الرمزية
إهمال
أفضل إجابة

how can i compute two fields?

الصورة الرمزية
إهمال
الكاتب

you can post question on form for getting best answer this is already solved issue ...

أفضل إجابة

Hi,

   In your code, there are two report definitions with the same name Purchase Order. Make sure which report is working by changing the Report String.  Then check it .         

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 23
1670
3
سبتمبر 19
5671
3
يونيو 20
5576
1
يناير 20
5996
2
يناير 24
15892