Merge lp:~camptocamp/openobject-addons/7.0-fix-report_webkit-report-view-20120115 into lp:openobject-addons/7.0

Proposed by Yannick Vaucher @ Camptocamp
Status: Merged
Merged at revision: 9322
Proposed branch: lp:~camptocamp/openobject-addons/7.0-fix-report_webkit-report-view-20120115
Merge into: lp:openobject-addons/7.0
Diff against target: 23 lines (+8/-5)
1 file modified
report_webkit/ir_report_view.xml (+8/-5)
To merge this branch: bzr merge lp:~camptocamp/openobject-addons/7.0-fix-report_webkit-report-view-20120115
Reviewer Review Type Date Requested Status
Martin Trigaux (OpenERP) (community) Approve
Rifakat Husen (OpenERP) (community) Approve
Nicolas Bessi - Camptocamp (community) Approve
Alexandre Fayolle - camptocamp (community) code review, no test Approve
Review via email: mp+143325@code.launchpad.net

Description of the change

Add <group> tags to show boolean labels

To post a comment you must log in.
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

LGTM

review: Approve (code review, no test)
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Hello,

Ok for me

Regards

Nicolas

review: Approve
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Yannick,
I think only 1 group block should also give the same result as 2. And if you still keep
2 group block then you can remove separator and use,
<group string="Webkit Template (used if Report File is not found)"> and if you go for this
then you also don't need to add colspan. What do you think?

Thanks

Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

As I can remove the colspan and the separator with the second option I'll go it.

Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Looks good. Thanks a lot,
Rifakat

review: Approve
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,

Thank you for the patch and review. LGTM. Merged into addons 7.0
revno: 9322 [merge]
revision-id: <email address hidden>

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'report_webkit/ir_report_view.xml'
2--- report_webkit/ir_report_view.xml 2012-11-29 22:26:45 +0000
3+++ report_webkit/ir_report_view.xml 2013-06-03 17:33:43 +0000
4@@ -7,11 +7,14 @@
5 <field name="arch" type="xml">
6 <xpath expr="//page[@string='Security']" position="before" >
7 <page string="Webkit" attrs="{'invisible':[('report_type','!=','webkit')]}">
8- <field name="webkit_header"/>
9- <field name="webkit_debug"/>
10- <field name="precise_mode"/>
11- <separator string="Webkit Template (used if Report File is not found)" colspan="4"/>
12- <field name="report_webkit_data" colspan="4" nolabel="1"/>
13+ <group>
14+ <field name="webkit_header"/>
15+ <field name="webkit_debug"/>
16+ <field name="precise_mode"/>
17+ </group>
18+ <group string="Webkit Template (used if Report File is not found)">
19+ <field name="report_webkit_data" nolabel="1"/>
20+ </group>
21 </page>
22 </xpath>
23 </field>