Merge lp:~alnslang/account-financial-report/6.1 into lp:~account-report-core-editor/account-financial-report/6.1

Proposed by Sebastien LANGE - http://www.Syleam.fr
Status: Merged
Merged at revision: 24
Proposed branch: lp:~alnslang/account-financial-report/6.1
Merge into: lp:~account-report-core-editor/account-financial-report/6.1
Diff against target: 77 lines (+30/-5)
1 file modified
account_financial_report_webkit/report/report.xml (+30/-5)
To merge this branch: bzr merge lp:~alnslang/account-financial-report/6.1
Reviewer Review Type Date Requested Status
Guewen Baconnier @ Camptocamp Approve
Stefan Rijnhart (Opener) code reading, no test Approve
Sebastien LANGE - http://www.Syleam.fr (community) Needs Resubmitting
Nhomar - Vauxoo Needs Fixing
Review via email: mp+137322@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Hi,

looks like you reformatted the xml file to fix the spacing as well as changed the content. Not sure if there are any best practices that we could set as a standard for OpenERP community reviews, but personally I would appreciated it if you could remove the reformatting for clarity's sake and upload a separate branch to fix the spacing (as I *do* appreciate a neatly spaced XML file). It would make it a bit easier to do adhoc reviews on all these projects.

Cheers,
Stefan.

Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

I think the same as Stefan.

You should propose 2 MP.

1 for reformatting - if you think it is needed -

2 for the bug itself.

Regards.

In my case i well mark thi MP as Needs Fixing

Thanks

review: Needs Fixing
24. By Sebastien LANGE - http://www.Syleam.fr

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

Revision history for this message
Sebastien LANGE - http://www.Syleam.fr (alnslang) wrote :

I modified my commit for just having the bug fix.

review: Needs Resubmitting
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Thank you. Looks fine now.

review: Approve (code reading, no test)
Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :

Looks good to me. Thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_financial_report_webkit/report/report.xml'
2--- account_financial_report_webkit/report/report.xml 2012-03-06 09:13:59 +0000
3+++ account_financial_report_webkit/report/report.xml 2012-12-09 13:54:22 +0000
4@@ -14,8 +14,13 @@
5 <field name="name">General Ledger Webkit</field>
6 <field name="report_rml">account_financial_report_webkit/report/templates/account_report_general_ledger.mako</field>
7 <field name="report_file">account_financial_report_webkit/report/templates/account_report_general_ledger.mako</field>
8- <field name="webkit_header" ref="financial_landscape_header"/>
9 </record>
10+ <record id="property_account_report_general_ledger_webkit" model="ir.property">
11+ <field name="name">account_report_general_ledger_webkit</field>
12+ <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
13+ <field eval="'ir.header_webkit,'+str(ref('account_financial_report_webkit.financial_landscape_header'))" model="ir.header_webkit" name="value"/>
14+ <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"/>
15+ </record>
16 <!-- waiting the fix
17 <report auto="False"
18 id="account_report_partner_ledger_webkit"
19@@ -38,7 +43,12 @@
20 <field name="name">Partner Ledger Webkit</field>
21 <field name="report_rml">account_financial_report_webkit/report/templates/account_report_partners_ledger.mako</field>
22 <field name="report_file">account_financial_report_webkit/report/templates/account_report_partners_ledger.mako</field>
23- <field name="webkit_header" ref="financial_landscape_header"/>
24+ </record>
25+ <record id="property_account_report_partners_ledger_webkit" model="ir.property">
26+ <field name="name">account_report_partners_ledger_webkit</field>
27+ <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
28+ <field eval="'ir.header_webkit,'+str(ref('account_financial_report_webkit.financial_landscape_header'))" model="ir.header_webkit" name="value"/>
29+ <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"/>
30 </record>
31
32 <record id="account_report_trial_balance_webkit" model="ir.actions.report.xml">
33@@ -53,8 +63,13 @@
34 <field name="name">Trial Balance Webkit</field>
35 <field name="report_rml">account_financial_report_webkit/report/templates/account_report_trial_balance.mako</field>
36 <field name="report_file">account_financial_report_webkit/report/templates/account_report_trial_balance.mako</field>
37- <field name="webkit_header" ref="financial_portrait_header"/>
38 </record>
39+ <record id="property_account_report_trial_balance_webkit" model="ir.property">
40+ <field name="name">account_report_trial_balance_webkit</field>
41+ <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
42+ <field eval="'ir.header_webkit,'+str(ref('account_financial_report_webkit.financial_portrait_header'))" model="ir.header_webkit" name="value"/>
43+ <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"/>
44+ </record>
45
46 <record id="account_report_partner_balance_webkit" model="ir.actions.report.xml">
47 <field name="report_type">webkit</field>
48@@ -68,8 +83,13 @@
49 <field name="name">Partner Balance Webkit</field>
50 <field name="report_rml">account_financial_report_webkit/report/templates/account_report_partner_balance.mako</field>
51 <field name="report_file">account_financial_report_webkit/report/templates/account_report_partner_balance.mako</field>
52- <field name="webkit_header" ref="financial_portrait_header"/>
53 </record>
54+ <record id="property_account_report_partner_balance_webkit" model="ir.property">
55+ <field name="name">account_report_partner_balance_webkit</field>
56+ <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
57+ <field eval="'ir.header_webkit,'+str(ref('account_financial_report_webkit.financial_portrait_header'))" model="ir.header_webkit" name="value"/>
58+ <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"/>
59+ </record>
60
61 <record id="account_report_open_invoices_webkit" model="ir.actions.report.xml">
62 <field name="report_type">webkit</field>
63@@ -83,8 +103,13 @@
64 <field name="name">Open Invoices Report</field>
65 <field name="report_rml">account_financial_report_webkit/report/templates/account_report_open_invoices.mako</field>
66 <field name="report_file">account_financial_report_webkit/report/templates/account_report_open_invoices.mako</field>
67- <field name="webkit_header" ref="financial_landscape_header"/>
68 </record>
69+ <record id="property_account_report_open_invoices_webkit" model="ir.property">
70+ <field name="name">account_report_open_invoices_webkit</field>
71+ <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
72+ <field eval="'ir.header_webkit,'+str(ref('account_financial_report_webkit.financial_landscape_header'))" model="ir.header_webkit" name="value"/>
73+ <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"/>
74+ </record>
75
76 <!--<record id="account_report_profit_loss_webkit" model="ir.actions.report.xml">-->
77 <!--<field name="report_type">webkit</field>-->

Subscribers

People subscribed via source and target branches

to status/vote changes: