diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2012-11-30 10:52:40 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2012-11-30 10:52:40 +0530 |
| commit | 5bf7ae99fff3c1933830c028d511ea6e864ad55e (patch) | |
| tree | d54432699923f547e7391136fe7646290d9d38a7 /addons/analytic/analytic_view.xml | |
| parent | eecf5b79c299f1b580eb3a9eb45791de1b32242b (diff) | |
| parent | 69cb769ec5d70f80eaad3391b26870054f394145 (diff) | |
[MERGE]
bzr revid: hmo@tinyerp.com-20121130052240-ea7s4ufomjdbfq32
Diffstat (limited to 'addons/analytic/analytic_view.xml')
| -rw-r--r-- | addons/analytic/analytic_view.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/analytic/analytic_view.xml b/addons/analytic/analytic_view.xml index 1277d25de71..0faca841a0f 100644 --- a/addons/analytic/analytic_view.xml +++ b/addons/analytic/analytic_view.xml @@ -26,10 +26,10 @@ <field name="currency_id" attrs="{'invisible': ['|',('type', '<>', 'view'), ('company_id', '<>', False)]}"/> </group> <group> - <field name="code"/> <field name="type" invisible="context.get('default_type', False)"/> - <field name="parent_id" on_change="on_change_parent(parent_id)" attrs="{'invisible': [('type','in',['contract','template'])]}"/> <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="company_id" on_change="on_change_company(company_id)" widget="selection" groups="base.group_multi_company" attrs="{'required': [('type','<>','view')]}"/> </group> </group> |
