Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4255 Visualizzazioni

<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 

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
nov 19
3024
0
apr 24
716
5
set 19
5032
2
ott 18
5736
1
gen 21
5691