コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5 返信
4991 ビュー

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
8月 23
1680
3
9月 19
5676
3
6月 20
5587
1
1月 20
5998
2
1月 24
15900