Browse Source

[FIX] Convert ir.header_webkit in ir.property in xml files

6.1
Sebastien LANGE 12 years ago
committed by Guewen Baconnier @ Camptocamp
parent
commit
641c106468
  1. 35
      account_financial_report_webkit/report/report.xml

35
account_financial_report_webkit/report/report.xml

@ -14,8 +14,13 @@
<field name="name">General Ledger Webkit</field>
<field name="report_rml">account_financial_report_webkit/report/templates/account_report_general_ledger.mako</field>
<field name="report_file">account_financial_report_webkit/report/templates/account_report_general_ledger.mako</field>
<field name="webkit_header" ref="financial_landscape_header"/>
</record>
<record id="property_account_report_general_ledger_webkit" model="ir.property">
<field name="name">account_report_general_ledger_webkit</field>
<field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
<field eval="'ir.header_webkit,'+str(ref('account_financial_report_webkit.financial_landscape_header'))" model="ir.header_webkit" name="value"/>
<field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_webkit.account_report_general_ledger_webkit'))" model="ir.actions.report.xml" name="res_id"/>
</record>
<!-- waiting the fix
<report auto="False"
id="account_report_partner_ledger_webkit"
@ -38,7 +43,12 @@
<field name="name">Partner Ledger Webkit</field>
<field name="report_rml">account_financial_report_webkit/report/templates/account_report_partners_ledger.mako</field>
<field name="report_file">account_financial_report_webkit/report/templates/account_report_partners_ledger.mako</field>
<field name="webkit_header" ref="financial_landscape_header"/>
</record>
<record id="property_account_report_partners_ledger_webkit" model="ir.property">
<field name="name">account_report_partners_ledger_webkit</field>
<field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
<field eval="'ir.header_webkit,'+str(ref('account_financial_report_webkit.financial_landscape_header'))" model="ir.header_webkit" name="value"/>
<field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_webkit.account_report_partners_ledger_webkit'))" model="ir.actions.report.xml" name="res_id"/>
</record>
<record id="account_report_trial_balance_webkit" model="ir.actions.report.xml">
@ -53,8 +63,13 @@
<field name="name">Trial Balance Webkit</field>
<field name="report_rml">account_financial_report_webkit/report/templates/account_report_trial_balance.mako</field>
<field name="report_file">account_financial_report_webkit/report/templates/account_report_trial_balance.mako</field>
<field name="webkit_header" ref="financial_portrait_header"/>
</record>
<record id="property_account_report_trial_balance_webkit" model="ir.property">
<field name="name">account_report_trial_balance_webkit</field>
<field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
<field eval="'ir.header_webkit,'+str(ref('account_financial_report_webkit.financial_portrait_header'))" model="ir.header_webkit" name="value"/>
<field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_webkit.account_report_trial_balance_webkit'))" model="ir.actions.report.xml" name="res_id"/>
</record>
<record id="account_report_partner_balance_webkit" model="ir.actions.report.xml">
<field name="report_type">webkit</field>
@ -68,8 +83,13 @@
<field name="name">Partner Balance Webkit</field>
<field name="report_rml">account_financial_report_webkit/report/templates/account_report_partner_balance.mako</field>
<field name="report_file">account_financial_report_webkit/report/templates/account_report_partner_balance.mako</field>
<field name="webkit_header" ref="financial_portrait_header"/>
</record>
<record id="property_account_report_partner_balance_webkit" model="ir.property">
<field name="name">account_report_partner_balance_webkit</field>
<field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
<field eval="'ir.header_webkit,'+str(ref('account_financial_report_webkit.financial_portrait_header'))" model="ir.header_webkit" name="value"/>
<field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_webkit.account_report_partner_balance_webkit'))" model="ir.actions.report.xml" name="res_id"/>
</record>
<record id="account_report_open_invoices_webkit" model="ir.actions.report.xml">
<field name="report_type">webkit</field>
@ -83,8 +103,13 @@
<field name="name">Open Invoices Report</field>
<field name="report_rml">account_financial_report_webkit/report/templates/account_report_open_invoices.mako</field>
<field name="report_file">account_financial_report_webkit/report/templates/account_report_open_invoices.mako</field>
<field name="webkit_header" ref="financial_landscape_header"/>
</record>
<record id="property_account_report_open_invoices_webkit" model="ir.property">
<field name="name">account_report_open_invoices_webkit</field>
<field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
<field eval="'ir.header_webkit,'+str(ref('account_financial_report_webkit.financial_landscape_header'))" model="ir.header_webkit" name="value"/>
<field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_webkit.account_report_open_invoices_webkit'))" model="ir.actions.report.xml" name="res_id"/>
</record>
<!--<record id="account_report_profit_loss_webkit" model="ir.actions.report.xml">-->
<!--<field name="report_type">webkit</field>-->

Loading…
Cancel
Save