[FIX] Fixed subtotal footer in project and sale order form views
authorFabien Meghazi <fme@openerp.com>
Thu, 21 Jun 2012 16:01:10 +0000 (18:01 +0200)
committerFabien Meghazi <fme@openerp.com>
Thu, 21 Jun 2012 16:01:10 +0000 (18:01 +0200)
bzr revid: fme@openerp.com-20120621160110-16bp8l8ej2rwagp0

addons/project/project_view.xml
addons/sale/sale_view.xml

index 7588de7..f883f00 100644 (file)
                                     <field name="hours" widget="float_time" sum="Spent Hours"/>
                                 </tree>
                             </field>
-                            <group class="oe_form_subtotal_footer" name="project_hours" groups="project.group_time_work_estimation_tasks">
+                            <group class="oe_subtotal_footer oe_right" name="project_hours" groups="project.group_time_work_estimation_tasks">
                                 <field name="effective_hours" widget="float_time"/>
                                 <label for="remaining_hours" string="Remaining" groups="project.group_time_work_estimation_tasks"/>
                                 <div>
                                     <button name="%(action_project_task_reevaluate)d" string="Reevaluate" type="action" target="new" states="open,pending" icon="gtk-edit"/>
                                     <field name="remaining_hours" widget="float_time" attrs="{'readonly':[('state','!=','draft')]}" groups="project.group_time_work_estimation_tasks"/>
                                 </div>
-                                <field name="total_hours" widget="float_time" class="oe_form_subtotal_footer_separator"/>
+                                <field name="total_hours" widget="float_time" class="oe_subtotal_footer_separator"/>
                             </group>
+                            <div class="oe_clear"/>
                         </page>
                         <page string="Delegations History" groups="project.group_delegate_task">
                             <separator string="Parent Tasks"/>
index aee5ab0..f5b9f42 100644 (file)
                                     <field name="price_subtotal" groups="base.group_sale_notes_subtotal"/>
                                 </tree>
                             </field>
-                            <group class="oe_subtotal_footer" colspan="2" name="sale_total">
+                            <group class="oe_subtotal_footer oe_right" colspan="2" name="sale_total">
                                 <field name="amount_untaxed"/>
                                 <field name="amount_tax"/>
                                 <field name="amount_total" class="oe_subtotal_footer_separator"/>
                             </group>
-                            <separator string="Notes"/>
+                            <separator string="Notes" class="oe_clear"/>
                             <field name="note" placeholder="Add a global note on the sale order..."/>
                         </page>
                         <page string="Other Information">