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

45
customer_product_qrcode/report/report.xml

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

52
front_office_management/report/report.xml

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

16
laundry_management/views/laundry_label.xml

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

27
medical_lab_management/report/report.xml

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

17
mrp_work_order_print/views/report_work_order.xml

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

17
print_voucher_receipts/views/account_voucher_print.xml

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

17
product_catalogue/report/product_catalog_report.xml

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