<report
id="account_invoices"
model="account.move"
string="Invoices"
report_type="qweb-pdf"
name="account.report_invoice_with_payments"
file="account.report_invoice_with_payments"
attachment="(object.state == 'posted') and ((object.name or 'INV').replace('/','_')+'.pdf')"
print_report_name="(object._get_report_base_filename())"
groups="account.group_account_invoice"
/>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
You can use the delete tag in XML to remove any record created from XML.
Try the following code:
<delete id="account.account_invoices" model="ir.actions.report"/>
Thank you for the quick response
Hello Harikrishnan K,
You can inherit the record id and add the "menu="False"".It will hide from the print menu.
Example : <report
id="account.account_invoices"
menu="False"/>
this will automatically hide the report menu for this report.. thanks
For More Information Contact Us :- https://kanakinfosystems.com/odoo-development-services
Thank u for your quick response
I have removed from invoice from print using this code in report.xml file inside my module.
<report
id="account.account_invoices"
model="account.move"
menu="False"
string="Invoices"
report_type="qweb-pdf"
name="account.report_invoice_with_payments"
file="account.report_invoice_with_payments"
attachment="(object.state == 'posted') and ((object.name or 'INV').replace('/','_')+'.pdf')"
print_report_name="(object._get_report_base_filename())"
groups="account.group_account_invoice"
/>
Hi,
Try this, to remove the report from the print menu,
<record id="base.ir_module_reference_print" model="ir.actions.report">
<field name="binding_model_id" eval="False"/>
</record>
Where id is the Id of the report.
Thanks
Thank you for your quick response
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
2
Sep 23
|
3559 | ||
|
1
Des 22
|
1953 | ||
odoo 13: inverse name in comodel
Diselesaikan
|
|
3
Nov 22
|
4071 | |
|
1
Nov 22
|
4375 | ||
|
1
Mei 22
|
3746 |