跳至内容
菜单
此问题已终结
1 回复
4260 查看

<report

 id="account_invoices" 

 model="account.invoice" 

 string="Invoices"

 report_type="qweb-pdf" 

 name="account.report_invoice_with_payments"

 file="account.report_invoice_with_payments" 

 attachment="(object.state in ('open','in_payment','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')" print_report_name="(object._get_report_base_filename())" 

groups="account.group_account_invoice" 

 menu="False" />


i'm using this syntex but menu not goes to false any help 

形象
丢弃
最佳答案

Hi,

Once you give menu="False", the report will get invisible from the print menu in the top of the view. Make sure that you have upgraded the module after the changes.

See this: How To Remove Report From Print Menu in Odoo

Thanks

形象
丢弃
相关帖文 回复 查看 活动
1
11月 19
3036
0
4月 24
722
5
9月 19
5039
2
10月 18
5741
1
1月 21
5711