flectra/addons/sale/report/sale_report.xml
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

25 lines
821 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<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>
</odoo>