[IMP] Clean Modules name: there are 3 modules named Contracts Management.
[odoo/odoo.git] / addons / analytic_contract_hr_expense / analytic_contract_hr_expense_view.xml
index b36178c..9c816b0 100644 (file)
@@ -6,6 +6,7 @@
             <field name="model">account.analytic.account</field>
             <field name="type">form</field>
             <field eval="60" name="priority"/>
+            <field name="arch" type="xml">
                 <xpath expr='//tr[@name="total"]' position='before'>
                     <tr>
                         <td>
@@ -22,7 +23,7 @@
                             <field class="oe_form_inline" name="expense_to_invoice" attrs="{'invisible': [('charge_expenses','=',False)]}"/>
                         </td><td>
                             <button name="open_hr_expense" string="All Expenses" type="object" attrs="{'invisible': [('charge_expenses','=',False)]}"/>
-                            <button name="hr_to_invoiced_expense" string="Expenses to Invoice" type="object" attrs="{'invisible': [('charge_expenses','=',False)]}"/>
+                            <button name="hr_to_invoice_expense" string="Expenses to Invoice" type="object" attrs="{'invisible': [('charge_expenses','=',False)]}"/>
                         </td>
                     </tr>
                 </xpath>