← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~camptocamp/openerp-rma/7.0-use-footer-tag-in-wizard into lp:openerp-rma

 

Joël Grand-Guillaume @ camptocamp has proposed merging lp:~camptocamp/openerp-rma/7.0-use-footer-tag-in-wizard into lp:openerp-rma.

Commit message:
[IMP] Use the footer option in wizard views (better ergonomy)

Requested reviews:
  OpenERP RMA (openerprma)

For more details, see:
https://code.launchpad.net/~camptocamp/openerp-rma/7.0-use-footer-tag-in-wizard/+merge/199822

Hi,

Just a little view fix to benefit from the <footer> tag in v7.0 view.

This improve the user experience of the return product wizard.

Regards,

Joël
-- 
https://code.launchpad.net/~camptocamp/openerp-rma/7.0-use-footer-tag-in-wizard/+merge/199822
Your team OpenERP RMA is requested to review the proposed merge of lp:~camptocamp/openerp-rma/7.0-use-footer-tag-in-wizard into lp:openerp-rma.
=== modified file 'crm_claim_rma/wizard/claim_make_picking_view.xml'
--- crm_claim_rma/wizard/claim_make_picking_view.xml	2013-11-15 11:00:25 +0000
+++ crm_claim_rma/wizard/claim_make_picking_view.xml	2013-12-20 14:33:32 +0000
@@ -11,17 +11,17 @@
             <field name="name">claim_picking</field>
             <field name="model">claim_make_picking.wizard</field>
             <field name="arch" type="xml">
-                <form string="Select exchange lines to add in picking">
+                <form string="Select exchange lines to add in picking" version="7.0">
                     <separator string="Locations" colspan="4"/>
                     <field name="claim_line_source_location" nolabel="1" />
                     <field name="claim_line_dest_location" nolabel="1" />
                     <separator string="Select lines for picking" colspan="4"/>
                     <field name="claim_line_ids" nolabel="1" colspan="4"/>
-                    <group col="4" colspan="2">
-                        <button special="cancel" string="Cancel" name="action_cancel" type="object" icon='gtk-cancel'/>
-                        <button name="action_create_picking" string="Create picking" 
-                                icon='gtk-ok' type="object"/>
-                    </group>
+                    <footer>
+                        <button name="action_create_picking" string="Create picking" type="object" class="oe_highlight"/>
+                        or
+                        <button string="Cancel" class="oe_link" special="cancel" />
+                    </footer>
                 </form>
             </field>
         </record> 


Follow ups