Browse Source

[FIX] *: <report> -> <record>

pull/186/head
Miquel Raïch 4 years ago
parent
commit
c83fb9bbea
  1. 17
      advance_cash_flow_statements/report/print_report.xml
  2. 45
      customer_product_qrcode/report/report.xml
  3. 52
      front_office_management/report/report.xml
  4. 16
      laundry_management/views/laundry_label.xml
  5. 27
      medical_lab_management/report/report.xml
  6. 17
      mrp_work_order_print/views/report_work_order.xml
  7. 17
      print_voucher_receipts/views/account_voucher_print.xml
  8. 17
      product_catalogue/report/product_catalog_report.xml

17
advance_cash_flow_statements/report/print_report.xml

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<report
id="pdf_report"
model="account.wizard"
string="Cash flow statement Pdf Report"
report_type="qweb-pdf"
name="advance_cash_flow_statements.cash_flow_pdf_report"
file="advance_cash_flow_statements.cash_flow_pdf_report"
/>
<record id="pdf_report" model="ir.actions.report">
<field name="model">account.wizard</field>
<field name="name">Cash flow statement Pdf Report</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">advance_cash_flow_statements.cash_flow_pdf_report</field>
<field name="report_file">advance_cash_flow_statements.cash_flow_pdf_report</field>
<field name="binding_model_id" ref="model_account_wizard"/>
<field name="binding_type">report</field>
</record>
</odoo>

45
customer_product_qrcode/report/report.xml

@ -1,30 +1,27 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<report id="customer_product_qrcode.print_qr"
model="res.partner"
name="customer_product_qrcode.customer_qr_template"
file="customer_product_qrcode.customer_qr_template"
string="Badge"
report_type="qweb-pdf"
menu="False"
/>
<report id="customer_product_qrcode.print_qr1"
model="product.product"
name="customer_product_qrcode.customer_qr_template"
file="customer_product_qrcode.customer_qr_template"
string="Product Badge"
report_type="qweb-pdf"
menu="False"
/>
<report id="customer_product_qrcode.print_qr2"
model="product.template"
name="customer_product_qrcode.customer_qr_template"
file="customer_product_qrcode.customer_qr_template"
string="Product Badge"
report_type="qweb-pdf"
menu="False"
/>
<record id="customer_product_qrcode.print_qr" model="ir.actions.report">
<field name="model">res.partner</field>
<field name="report_name">customer_product_qrcode.customer_qr_template</field>
<field name="report_file">customer_product_qrcode.customer_qr_template</field>
<field name="name">Badge</field>
<field name="report_type">qweb-pdf</field>
</record>
<record id="customer_product_qrcode.print_qr1" model="ir.actions.report">
<field name="model">product.product</field>
<field name="report_name">customer_product_qrcode.customer_qr_template</field>
<field name="report_file">customer_product_qrcode.customer_qr_template</field>
<field name="name">Product Badge</field>
<field name="report_type">qweb-pdf</field>
</record>
<record id="customer_product_qrcode.print_qr2" model="ir.actions.report">
<field name="model">product.template</field>
<field name="report_name">customer_product_qrcode.customer_qr_template</field>
<field name="report_file">customer_product_qrcode.customer_qr_template</field>
<field name="name">Product Badge</field>
<field name="report_type">qweb-pdf</field>
</record>
<record id="customer_product_qrcode.print_qr" model="ir.actions.report">
<field name="paperformat_id" ref="customer_product_qrcode.customer_badge_paperformat"/>
</record>

52
front_office_management/report/report.xml

@ -2,31 +2,35 @@
<odoo>
<data>
<report
string="Visitor Pass"
id="action_print_visit_card"
model="fo.visit"
report_type="qweb-pdf"
name="front_office_management.report_visitor_label"
file="front_office_management.report_visitor_label"
/>
<report
string="Visitors Report"
id="action_print_visit_report"
model="fo.visit"
report_type="qweb-pdf"
name="front_office_management.report_visitor_report"
file="front_office_management.report_visitor_report"
/>
<record id="action_print_visit_card" model="ir.actions.report">
<field name="name">Visitor Pass</field>
<field name="model">fo.visit</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">front_office_management.report_visitor_label</field>
<field name="report_file">front_office_management.report_visitor_label</field>
<field name="binding_model_id" ref="model_fo_visit"/>
<field name="binding_type">report</field>
</record>
<report
string="Property Label"
id="action_print_property_label"
model="fo.property.counter"
report_type="qweb-pdf"
name="front_office_management.report_property_label"
file="front_office_management.report_property_label"
/>
<record id="action_print_visit_report" model="ir.actions.report">
<field name="name">Visitors Report</field>
<field name="model">fo.visit</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">front_office_management.report_visitor_report</field>
<field name="report_file">front_office_management.report_visitor_report</field>
<field name="binding_model_id" ref="model_fo_visit"/>
<field name="binding_type">report</field>
</record>
<record id="action_print_property_label" model="ir.actions.report">
<field name="name">Property Label</field>
<field name="model">fo.property.counter</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">front_office_management.report_property_label</field>
<field name="report_file">front_office_management.report_property_label</field>
<field name="binding_model_id" ref="model_fo_property_counter"/>
<field name="binding_type">report</field>
</record>
</data>
</odoo>

16
laundry_management/views/laundry_label.xml

@ -35,13 +35,15 @@
</t>
</template>
<report
string="Laundry Order Label"
id="laundry_label"
model="laundry.order"
report_type="qweb-pdf"
name="laundry_management.laundry_order_label"
file="laundry_management.laundry_order_label"/>
<record id="laundry_label" model="ir.actions.report">
<field name="name">Laundry Order Label</field>
<field name="model">laundry.order</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">laundry_management.laundry_order_label</field>
<field name="report_file">laundry_management.laundry_order_label</field>
<field name="binding_model_id" ref="model_laundry_order"/>
<field name="binding_type">report</field>
</record>
</data>
</odoo>

27
medical_lab_management/report/report.xml

@ -9,24 +9,15 @@
<field name="report_file">medical_lab_management.report_patient_labtest</field>
</record>
<!-- <record id="action_report_patient_label" model="ir.actions.report">-->
<!-- <field name="name">Patient Card</field>-->
<!-- <field name="model">lab.patient</field>-->
<!-- <field name="report_type">qweb-pdf</field>-->
<!-- <field name="report_name">medical_lab_management.report_patient_label</field>-->
<!-- <field name="report_file">medical_lab_management.report_patient_label</field>-->
<!-- </record>-->
<report
string="Patient Card"
id="action_report_patient_label"
model="lab.patient"
report_type="qweb-pdf"
name="medical_lab_management.report_patient_label"
file="medical_lab_management.report_patient_label"
/>
<record id="action_report_patient_label" model="ir.actions.report">
<field name="name">Patient Card</field>
<field name="model">lab.patient</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">medical_lab_management.report_patient_label</field>
<field name="report_file">medical_lab_management.report_patient_label</field>
<field name="binding_model_id" ref="model_lab_patient"/>
<field name="binding_type">report</field>
</record>
</data>
</odoo>

17
mrp_work_order_print/views/report_work_order.xml

@ -88,13 +88,14 @@
</template>
<data>
<report
string="Work Order Details"
id="action_report_work_order"
model="mrp.workorder"
name="mrp_work_order_print.report_workorder"
file="mrp_work_order_print.report.report_work_order"
report_type="qweb-pdf"
/>
<record id="action_report_work_order" model="ir.actions.report">
<field name="name">Work Order Details</field>
<field name="model">mrp.workorder</field>
<field name="report_name">mrp_work_order_print.report_workorder</field>
<field name="report_file">mrp_work_order_print.report.report_work_order</field>
<field name="report_type">qweb-pdf</field>
<field name="binding_model_id" ref="model_mrp_workorder"/>
<field name="binding_type">report</field>
</record>
</data>
</odoo>

17
print_voucher_receipts/views/account_voucher_print.xml

@ -1,13 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<report
id="action_print_receipt"
string="Receipts"
model="account.move"
report_type="qweb-pdf"
name="print_voucher_receipts.print_voucher_receipt"
file="print_voucher_receipts.print_voucher_receipt"
/>
<record id="action_print_receipt" model="ir.actions.report">
<field name="name">Receipts</field>
<field name="model">account.move</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">print_voucher_receipts.print_voucher_receipt</field>
<field name="report_file">print_voucher_receipts.print_voucher_receipt</field>
<field name="binding_model_id" ref="model_account_move"/>
<field name="binding_type">report</field>
</record>
</data>
</odoo>

17
product_catalogue/report/product_catalog_report.xml

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<report
id="action_report_product_catalog"
string="Product Catalog(PDF)"
model="product.template"
report_type="qweb-pdf"
name="product_catalogue.report_product_catalog"
file="product_catalogue.report_product_catalog"
/>
<record id="action_report_product_catalog" model="ir.actions.report">
<field name="name">Product Catalog(PDF)</field>
<field name="model">product.template</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">product_catalogue.report_product_catalog</field>
<field name="report_file">product_catalogue.report_product_catalog</field>
<field name="binding_model_id" ref="model_product_template"/>
<field name="binding_type">report</field>
</record>
</odoo>
Loading…
Cancel
Save