Kuldeep Joshi(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-project-list-kjo into
lp:~openerp-dev/openobject-addons/trunk-list_view-sbh.
Requested reviews:
Bhumika (OpenERP) (sbh-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-project-list-kjo/+merge/102658
Add the Fonts bold feature in Tree view of following Module
1 project
2 project_issue
3 hr_recruitment
4 hr_holidays
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-project-list-kjo/+merge/102658
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-list_view-sbh.
=== modified file 'hr_holidays/hr_holidays_view.xml'
--- hr_holidays/hr_holidays_view.xml 2012-04-10 14:09:55 +0000
+++ hr_holidays/hr_holidays_view.xml 2012-04-19 10:13:23 +0000
@@ -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"/>
=== modified file 'hr_recruitment/hr_recruitment_view.xml'
--- hr_recruitment/hr_recruitment_view.xml 2012-04-10 19:59:44 +0000
+++ hr_recruitment/hr_recruitment_view.xml 2012-04-19 10:13:23 +0000
@@ -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"/>
=== modified file 'project/project_view.xml'
--- project/project_view.xml 2012-04-10 16:25:55 +0000
+++ project/project_view.xml 2012-04-19 10:13:23 +0000
@@ -140,8 +140,9 @@
<field name="type">tree</field>
<field name="field_parent">child_ids</field>
<field name="arch" type="xml">
- <tree colors="red:date and (date<current_date) and (state == 'open');blue:state in ('draft','pending');grey: state in ('close','cancelled')" string="Projects">
+ <tree fonts="bold:needaction_pending==True" colors="red:date and (date<current_date) and (state == 'open');blue:state in ('draft','pending');grey: state in ('close','cancelled')" string="Projects">
<field name="sequence" invisible="1"/>
+ <field name="needaction_pending" invisible="1"/>
<field name="date" invisible="1"/>
<field name="name" string="Project Name"/>
<field name="user_id" string="Project Manager"/>
@@ -414,7 +415,8 @@
<field name="type">tree</field>
<field eval="2" name="priority"/>
<field name="arch" type="xml">
- <tree colors="grey:state in ('cancelled','done');blue:state == 'pending';red:date_deadline and (date_deadline<current_date) and (state in ('draft','pending','open'))" string="Tasks">
+ <tree fonts="bold:needaction_pending==True" colors="grey:state in ('cancelled','done');blue:state == 'pending';red:date_deadline and (date_deadline<current_date) and (state in ('draft','pending','open'))" string="Tasks">
+ <field name="needaction_pending" invisible="1"/>
<field name="sequence" invisible="not context.get('seq_visible', False)"/>
<field name="name"/>
<field name="project_id" icon="gtk-indent" invisible="context.get('user_invisible', False)"/>
=== modified file 'project_issue/project_issue_view.xml'
--- project_issue/project_issue_view.xml 2012-04-03 10:24:08 +0000
+++ project_issue/project_issue_view.xml 2012-04-19 10:13:23 +0000
@@ -123,7 +123,8 @@
<field name="model">project.issue</field>
<field name="type">tree</field>
<field name="arch" type="xml">
- <tree 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"/>
<field name="name"/>
@@ -290,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"/>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp