summaryrefslogtreecommitdiff
path: root/addons/hr_contract
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-09-27 19:36:41 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-09-27 19:36:41 +0200
commitfc9f8491febf3fb7c4cdb074eae1725feed5319c (patch)
tree475ee3ff9a858a658c71ca4792628fba7ff04b81 /addons/hr_contract
parentffb34cf11a8e0c1f55b8e4f2eb861ea706cf6c76 (diff)
parent1c46b40f0921411df436db89aa532268c42a8766 (diff)
[MERGE] related not in 'More...'
bzr revid: fp@tinyerp.com-20120927173641-i503k4kycnwjyefj
Diffstat (limited to 'addons/hr_contract')
-rw-r--r--addons/hr_contract/hr_contract_view.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/addons/hr_contract/hr_contract_view.xml b/addons/hr_contract/hr_contract_view.xml
index 6566f303d36..0659d661420 100644
--- a/addons/hr_contract/hr_contract_view.xml
+++ b/addons/hr_contract/hr_contract_view.xml
@@ -5,13 +5,13 @@
<!-- Contracts Button on Employee Form -->
- <act_window
- context="{'search_default_employee_id': [active_id], 'default_employee_id': active_id}"
- id="act_hr_employee_2_hr_contract"
- name="Contracts"
- res_model="hr.contract"
- src_model="hr.employee"
- groups="base.group_hr_manager"/>
+ <record id="act_hr_employee_2_hr_contract" model="ir.actions.act_window">
+ <field name="res_model">hr.contract</field>
+ <field name="view_type">form</field>
+ <field name="name">Contracts</field>
+ <field name="view_mode">tree,form</field>
+ <field name="context">{'search_default_employee_id': [active_id], 'default_employee_id': active_id}</field>
+ </record>
<menuitem id="next_id_56" name="Contract" parent="hr.menu_hr_configuration" sequence="30" groups="base.group_no_one"/>
<record id="hr_hr_employee_view_form2" model="ir.ui.view">