hunk.code_window:             report_type="qweb-pdf"
               name="account.report_invoice"
               file="account.report_invoice"
               attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')"
               print_report_name="(
                   object.type == 'out_invoice' and object.state == 'draft' and 'Draft Invoice' or
                   object.type == 'out_invoice' and object.state in ('open','paid') and 'Invoice - %s' % (object.number) or
                   object.type == 'out_refund' and object.state == 'draft' and 'Credit Note' or
                   object.type == 'out_refund' and 'Credit Note - %s' % (object.number) or
                   object.type == 'in_invoice' and object.state == 'draft' and 'Vendor Bill' or
                   object.type == 'in_invoice' and object.state in ('open','paid') and 'Vendor Bill - %s' % (object.number) or
                   object.type == 'in_refund' and object.state == 'draft' and 'Vendor Credit Note' or
                   object.type == 'in_refund' and 'Vendor Credit Note - %s' % (object.number))"
           />
           <report 
               id="action_report_print_overdue"
               model="res.partner"
  
hunk.labels: keep keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep keep
hunk.after_edit:             print_report_name="(object._get_printed_report_name())"
  
hunk.file_path: addons/account/views/account_report.xml
hunk.type: replace
file: # -*- coding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  from . import payment
  from . import portal