Set Partner Ledger PDF filename to include partner names

e.g. "Kartica partnera Paper Star d.o.o.pdf"

🤖 assisted by claude
This commit is contained in:
Ernad Husremovic 2026-02-09 09:26:33 +01:00
parent 652a582f8d
commit e687bf6453
2 changed files with 2 additions and 1 deletions

View file

@ -2,7 +2,7 @@
{ {
'name': 'Odoo 16 Accounting Financial Reports', 'name': 'Odoo 16 Accounting Financial Reports',
'version': '16.0.2.0.6', 'version': '16.0.2.0.7',
'category': 'Invoicing Management', 'category': 'Invoicing Management',
'description': 'Accounting Reports For Odoo 16, Accounting Financial Reports, ' 'description': 'Accounting Reports For Odoo 16, Accounting Financial Reports, '
'Odoo 16 Financial Reports', 'Odoo 16 Financial Reports',

View file

@ -16,6 +16,7 @@
<field name="report_type">qweb-pdf</field> <field name="report_type">qweb-pdf</field>
<field name="report_name">accounting_pdf_reports.report_partnerledger</field> <field name="report_name">accounting_pdf_reports.report_partnerledger</field>
<field name="report_file">accounting_pdf_reports.report_partnerledger</field> <field name="report_file">accounting_pdf_reports.report_partnerledger</field>
<field name="print_report_name">'Kartica partnera ' + ' '.join(object.partner_ids.mapped('name')) if object.partner_ids else 'Kartica partnera'</field>
</record> </record>