diff options
| author | Kuldeep Joshi (OpenERP) <kjo@tinyerp.com> | 2012-04-19 15:38:55 +0530 |
|---|---|---|
| committer | Kuldeep Joshi (OpenERP) <kjo@tinyerp.com> | 2012-04-19 15:38:55 +0530 |
| commit | b657cdb9671908351310cf4ceed9916f95dcc038 (patch) | |
| tree | c1ea960a818f6adb4e1d36da5ed4c586bcd352fe | |
| parent | b55d7abf1c9eb387722e6f62e729276fba2a07a1 (diff) | |
[IMP]hr_recruitment, hr_holidays: add treeview fonts bold
bzr revid: kjo@tinyerp.com-20120419100855-7tomt33drutwkpvy
| -rw-r--r-- | addons/hr_holidays/hr_holidays_view.xml | 9 | ||||
| -rw-r--r-- | addons/hr_recruitment/hr_recruitment_view.xml | 3 | ||||
| -rw-r--r-- | addons/project_issue/project_issue_view.xml | 5 |
3 files changed, 11 insertions, 6 deletions
diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index d6ee7ed869c..066ac29c6e3 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -150,7 +150,8 @@ <field name="model">hr.holidays</field> <field name="type">tree</field> <field name="arch" type="xml"> - <tree colors="red:state == 'refuse';blue:state == 'draft';black:state in ('confirm','validate','validate1')" string="Allocation Requests"> + <tree fonts="bold:needaction_pending==True" colors="red:state == 'refuse';blue:state == 'draft';black:state in ('confirm','validate','validate1')" string="Allocation Requests"> + <field name="needaction_pending" invisible="1"/> <field name="holiday_type"/> <field name="employee_id"/> <field name="category_id"/> @@ -205,7 +206,8 @@ <field name="type">tree</field> <field name="priority">20</field> <field name="arch" type="xml"> - <tree colors="red:state == 'refuse';blue:state == ' draft';black:state in ('confirm','validate','validate1')" string="Leaves Summary"> + <tree fonts="bold:needaction_pending==True" colors="red:state == 'refuse';blue:state == ' draft';black:state in ('confirm','validate','validate1')" string="Leaves Summary"> + <field name="needaction_pending" invisible="1"/> <field name="employee_id"/> <field name="category_id" invisible="1"/> <field name="department_id" invisible="1"/> @@ -231,7 +233,8 @@ <field name="model">hr.holidays</field> <field name="type">tree</field> <field name="arch" type="xml"> - <tree colors="red:state == 'refuse';blue:state == ' draft';black:state in ('confirm','validate','validate1')" string="Leave Requests"> + <tree fonts="bold:needaction_pending==True" colors="red:state == 'refuse';blue:state == ' draft';black:state in ('confirm','validate','validate1')" string="Leave Requests"> + <field name="needaction_pending" invisible="1"/> <field name="holiday_type"/> <field name="employee_id"/> <field name="category_id"/> diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index 1f7d916c6f3..9e4948eebc6 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -41,7 +41,8 @@ <field name="model">hr.applicant</field> <field name="type">tree</field> <field name="arch" type="xml"> - <tree string="Applicants" colors="grey:state in ('cancel','done');blue:state=='pending'"> + <tree string="Applicants" fonts="bold:needaction_pending==True" colors="grey:state in ('cancel','done');blue:state=='pending'"> + <field name="needaction_pending" invisible="1"/> <field name="create_date" groups="base.group_no_one"/> <field name="name" string="Subject"/> <field name="partner_name"/> diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml index 50c79346127..3b47965306c 100644 --- a/addons/project_issue/project_issue_view.xml +++ b/addons/project_issue/project_issue_view.xml @@ -123,7 +123,7 @@ <field name="model">project.issue</field> <field name="type">tree</field> <field name="arch" type="xml"> - <tree fonts="bold:needaction_pending==True" string="Issue Tracker Tree" colors="black:state=='open';blue:state=='pending';grey:state in ('cancel', 'done')"> + <tree string="Issue Tracker Tree" fonts="bold:needaction_pending==True" colors="black:state=='open';blue:state=='pending';grey:state in ('cancel', 'done')"> <field name="needaction_pending" invisible="1"/> <field name="id"/> <field name="create_date" groups="base.group_no_one"/> @@ -291,8 +291,9 @@ <field name="model">project.issue</field> <field name="type">tree</field> <field name="arch" type="xml"> - <tree string="Feature Tracker Tree" colors="red:state=='open';black:state in ('draft', 'cancel','done','pending')"> + <tree string="Feature Tracker Tree" fonts="bold:needaction_pending==True" colors="red:state=='open';black:state in ('draft', 'cancel','done','pending')"> <field name="id"/> + <field name="needaction_pending" invisible="1"/> <field name="name" string="Feature description"/> <field name="partner_id" groups="base.group_extended"/> <field name="priority" string="Priority"/> |
