← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~sbi/ocb-addons/7.0-opw-598926-dhr into lp:ocb-addons

 

Stéphane Bidoul (Acsone) has proposed merging lp:~sbi/ocb-addons/7.0-opw-598926-dhr into lp:ocb-addons.

Requested reviews:
  Stéphane Bidoul (Acsone) (sbi): code review
  OpenERP Community Backports Team (ocb)
Related bugs:
  Bug #1237512 in OpenERP Addons: "No parent for contract or project analytic account"
  https://bugs.launchpad.net/openobject-addons/+bug/1237512

For more details, see:
https://code.launchpad.net/~sbi/ocb-addons/7.0-opw-598926-dhr/+merge/192532

Automatically derived from https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-598926-dhr for https://code.launchpad.net/~openerp/openobject-addons/7.0. Below is a copy of the original description.

This branch repairs the described issue.
-- 
https://code.launchpad.net/~sbi/ocb-addons/7.0-opw-598926-dhr/+merge/192532
Your team OpenERP Community Backports Team is requested to review the proposed merge of lp:~sbi/ocb-addons/7.0-opw-598926-dhr into lp:ocb-addons.
=== modified file 'analytic/analytic_view.xml'
--- analytic/analytic_view.xml	2012-10-23 16:05:04 +0000
+++ analytic/analytic_view.xml	2013-10-24 15:46:27 +0000
@@ -29,7 +29,7 @@
                                 <field name="type" invisible="context.get('default_type', False)"/>
                                 <field name="template_id" on_change="on_change_template(template_id,context)" domain="[('type','=','template')]" attrs="{'invisible': [('type','in',['view', 'normal','template'])]}" context="{'default_type' : 'template'}"/>
                                 <field name="code"/>
-                                <field name="parent_id" on_change="on_change_parent(parent_id)" attrs="{'invisible': [('type','in',['contract'])]}"/>
+                                <field name="parent_id" on_change="on_change_parent(parent_id)"/>
                                 <field name="company_id" on_change="on_change_company(company_id)" widget="selection" groups="base.group_multi_company" attrs="{'required': [('type','&lt;&gt;','view')]}"/>
                             </group>
                         </group>


References