← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~mileo/ocb-addons/70-bug-1201472 into lp:ocb-addons

 

Luis Felipe Miléo has proposed merging lp:~mileo/ocb-addons/70-bug-1201472 into lp:ocb-addons.

Requested reviews:
  Raphaël Valyi - http://www.akretion.com (rvalyi)
Related bugs:
  Bug #1201472 in OpenERP Addons: "[trunk/7.0][l10n_br] Fields amount_mva, base_reduction and tax_discount are not displayed"
  https://bugs.launchpad.net/openobject-addons/+bug/1201472

For more details, see:
https://code.launchpad.net/~mileo/ocb-addons/70-bug-1201472/+merge/208722
-- 
https://code.launchpad.net/~mileo/ocb-addons/70-bug-1201472/+merge/208722
Your team OpenERP Community Backports Team is subscribed to branch lp:ocb-addons.
=== modified file 'l10n_br/account_view.xml'
--- l10n_br/account_view.xml	2012-10-23 16:05:04 +0000
+++ l10n_br/account_view.xml	2014-02-28 04:09:16 +0000
@@ -34,14 +34,14 @@
 			<field name="inherit_id" ref="account.view_account_tax_template_form"/>
 			<field name="arch" type="xml">
 				<field position="after" name="price_include">
-					<field groups="base.group_extended" name="tax_discount"/>
+					<field name="tax_discount"/>
 			    </field>
 	    		<field name="tax_code_id" position="replace" >
 					<field name="tax_code_id" on_change="onchange_tax_code_id(tax_code_id)" />
 			    </field>
-   				<field position="after" name="amount">
-					<field groups="base.group_extended" name="base_reduction"/>
-					<field groups="base.group_extended" name="amount_mva"/>
+   				<field position="after" name="tax_discount">
+					<field name="base_reduction"/>
+					<field name="amount_mva"/>
 			    </field>
 			</field>
 		</record>
@@ -52,14 +52,14 @@
 			<field name="inherit_id" ref="account.view_tax_form"/>
 			<field name="arch" type="xml">
 				<field position="after" name="price_include">
-					<field groups="base.group_extended" name="tax_discount"/>
+					<field name="tax_discount"/>
 			    </field>
    				<field name="tax_code_id" position="replace" >
 					<field name="tax_code_id" on_change="onchange_tax_code_id(tax_code_id)" />
 			    </field>
-			    <field position="after" name="amount">
-					<field groups="base.group_extended" name="base_reduction"/>
-					<field groups="base.group_extended" name="amount_mva"/>
+			    <field position="after" name="tax_discount">
+					<field name="base_reduction"/>
+					<field name="amount_mva"/>
 			    </field>
 			</field>
 		</record>


Follow ups