flectra/addons/sale/report/sale_report.xml
2018-01-16 02:34:37 -08:00

25 lines
827 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<data>
<report
id="action_report_saleorder"
string="Quotation / Order"
model="sale.order"
report_type="qweb-pdf"
file="sale.report_saleorder"
name="sale.report_saleorder"
print_report_name="(object.state in ('draft', 'sent') and 'Quotation - %s' % (object.name)) or 'Order - %s' % (object.name)"
/>
<report
id="action_report_pro_forma_invoice"
string="PRO-FORMA Invoice"
model="sale.order"
report_type="qweb-pdf"
file="sale.report_saleorder_pro_forma"
name="sale.report_saleorder_pro_forma"
print_report_name="'PRO-FORMA - %s' % (object.name)"
/>
</data>
</flectra>