Turkesh Patel (openERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-967009-tpa into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-967009-tpa/+merge/102108
project_issue
=====================================================
[FIX]: Kanban view change the color if select white.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-967009-tpa/+merge/102108
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-967009-tpa.
=== 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-16 13:33:50 +0000
@@ -224,7 +224,7 @@
<field name="user_id"/>
<templates>
<t t-name="kanban-box">
- <t t-set="color" t-value="kanban_color(record.color.raw_value || record.state.raw_value)"/>
+ <t t-set="color" t-value="kanban_color(record.color.raw_value === false ? record.state.raw_value : record.color.raw_value)"/>
<div t-att-class="color + (record.priority.raw_value == 1 ? ' oe_kanban_color_alert' : '')">
<div class="oe_kanban_box oe_kanban_color_border">
<table class="oe_kanban_table oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
_______________________________________________
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