Skip to Content
Menu
This question has been flagged
5 Replies
4988 Rodiniai

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

Portretas
Atmesti

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

Autorius

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

Best Answer

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.

Portretas
Atmesti
Best Answer

how can i compute two fields?

Portretas
Atmesti
Autorius

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

Best Answer

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 .         

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
rugp. 23
1678
3
rugs. 19
5675
3
birž. 20
5587
1
saus. 20
5998
2
saus. 24
15897