Merge lp:~openerp-dev/openobject-addons/trunk-bug-872245-bde into lp:openobject-addons

Proposed by Bharat Devnani (Open ERP)
Status: Merged
Merged at revision: 5538
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-872245-bde
Merge into: lp:openobject-addons
Diff against target: 41 lines (+5/-4)
1 file modified
hr_holidays/hr_holidays_view.xml (+5/-4)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-872245-bde
Reviewer Review Type Date Requested Status
Raphael Collet (OpenERP) (community) Approve
Review via email: mp+79365@code.launchpad.net

Description of the change

Hello Sir,

I have added category_id field in tree view of hr.holidays in hr_holidays/hr_holidays_view.xml.

Thanks & Regards,
Devnani Bharat R.

To post a comment you must log in.
Revision history for this message
Raphael Collet (OpenERP) (rco-openerp) wrote :

Good. I made it invisible when merging, to avoid cluttering the list.

Thanks,
Raphael

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_holidays/hr_holidays_view.xml'
2--- hr_holidays/hr_holidays_view.xml 2011-10-11 14:03:35 +0000
3+++ hr_holidays/hr_holidays_view.xml 2011-10-14 05:59:25 +0000
4@@ -203,6 +203,7 @@
5 <field name="department_id" invisible="1"/>
6 <field name="type"/>
7 <field name="name"/>
8+ <field name="category_id"/>
9 <field name="number_of_days" string="Number of Days" sum="Remaining Days"/>
10 <field name="date_from"/>
11 <field name="date_to"/>
12@@ -427,9 +428,9 @@
13
14 <!-- Shortcuts -->
15 <act_window name="Leaves" domain="[('type','=','remove')]" context="{'search_default_employee_id': [active_id], 'default_employee_id': active_id}" res_model="hr.holidays" src_model="hr.employee" view_id="view_holiday" id="act_hr_employee_holiday_request"/>
16-
17+
18 <!-- Assing leave -->
19-
20+
21 <record id="hr_holidays_leaves_assign_tree_view" model="ir.ui.view">
22 <field name="name">hr.employee.leave.tree</field>
23 <field name="model">hr.employee</field>
24@@ -440,7 +441,7 @@
25 <field name="remaining_leaves" string="Remaining Legal Leaves"/>
26 </tree>
27 </field>
28- </record>
29+ </record>
30
31 <record model="ir.actions.act_window" id="hr_holidays_leaves_assign_legal">
32 <field name="name">Allocate Leaves for Employees</field>
33@@ -458,7 +459,7 @@
34 </record>
35
36 <!-- Hr employee inherit Legal Leaves -->
37-
38+
39 <record id="view_employee_form_leave_inherit" model="ir.ui.view">
40 <field name="name">hr.employee.leave.form.inherit</field>
41 <field name="model">hr.employee</field>

Subscribers

People subscribed via source and target branches

to all changes: