← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~pedro.baeza/account-financial-tools/7.0-account_invoice_currency-fix into lp:account-financial-tools

 

Pedro Manuel Baeza has proposed merging lp:~pedro.baeza/account-financial-tools/7.0-account_invoice_currency-fix into lp:account-financial-tools.

Requested reviews:
  Account Core Editors (account-core-editors)

For more details, see:
https://code.launchpad.net/~pedro.baeza/account-financial-tools/7.0-account_invoice_currency-fix/+merge/211845

[FIX] account_invoice_currency: Fix indentation on XML file
[FIX] account_invoice_currency: Remove type attribute on XML views

This is for avoiding warnings on log.
-- 
https://code.launchpad.net/~pedro.baeza/account-financial-tools/7.0-account_invoice_currency-fix/+merge/211845
Your team Account Core Editors is requested to review the proposed merge of lp:~pedro.baeza/account-financial-tools/7.0-account_invoice_currency-fix into lp:account-financial-tools.
=== modified file 'account_invoice_currency/account_invoice_view.xml'
--- account_invoice_currency/account_invoice_view.xml	2013-12-23 17:21:34 +0000
+++ account_invoice_currency/account_invoice_view.xml	2014-03-19 23:46:26 +0000
@@ -3,21 +3,20 @@
     <data>
 
         <!-- ###############################################
-        					INVOICE INHERITANCE
+                        INVOICE INHERITANCE
              ############################################### -->
         
         <!-- ## Suppliers ## -->
         <record id="invoice_supplier_company_currency_form" model="ir.ui.view">
             <field name="name">Account invoice supplier (form) - add company currency</field>
             <field name="model">account.invoice</field>
-            <field name="type">form</field>
             <field name="inherit_id" ref="account.invoice_supplier_form"/>
             <field name="arch" type="xml">
                 <field name="period_id" position="after">
                     <group string="Amounts in company currency">
-                    	<field name="cc_amount_untaxed"/>
-                    	<field name="cc_amount_tax"/>
-                    	<field name="cc_amount_total"/>
+                        <field name="cc_amount_untaxed"/>
+                        <field name="cc_amount_tax"/>
+                        <field name="cc_amount_total"/>
                     </group>
                 </field>
             </field>
@@ -27,14 +26,13 @@
         <record id="invoice_company_currency_form" model="ir.ui.view">
             <field name="name">Account invoice (form) - add company currency</field>
             <field name="model">account.invoice</field>
-            <field name="type">form</field>
             <field name="inherit_id" ref="account.invoice_form"/>
             <field name="arch" type="xml">
                 <field name="move_id" position="after">
-                	<group string="Amounts in company currency">
-                    	<field name="cc_amount_untaxed"/>
-                    	<field name="cc_amount_tax"/>
-                    	<field name="cc_amount_total"/>
+                    <group string="Amounts in company currency">
+                        <field name="cc_amount_untaxed"/>
+                        <field name="cc_amount_tax"/>
+                        <field name="cc_amount_total"/>
                     </group>
                 </field>
             </field>


Follow ups