Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
5 Besvarelser
4983 Visninger

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

Avatar
Kassér

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

Forfatter

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

Bedste svar

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.

Avatar
Kassér
Bedste svar

how can i compute two fields?

Avatar
Kassér
Forfatter

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

Bedste svar

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 .         

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
aug. 23
1674
3
sep. 19
5673
3
jun. 20
5584
1
jan. 20
5998
2
jan. 24
15893