flectra/addons/mrp_repair/report/mrp_repair_reports.xml

17 lines
541 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<report
string="Quotation / Order"
id="action_report_mrp_repair_order"
model="mrp.repair"
name="mrp_repair.report_mrprepairorder2"
file="mrp_repair.report_mrprepairorder"
report_type="qweb-pdf"
print_report_name="(
object.state == 'draft' and 'Repair Quotation - %s' % (object.name) or
'Repair Order - %s' % (object.name))"
/>
</data>
</odoo>