Turkesh Patel (openERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-social-list-tpa 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-social-list-tpa/+merge/102660
Improved code for font-bold feature in following modules
--> sale
--> purchase
--> crm
--> mrp
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-social-list-tpa/+merge/102660
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-list_view-sbh.
=== modified file 'crm/crm_lead_view.xml'
--- crm/crm_lead_view.xml 2012-04-10 11:50:18 +0000
+++ crm/crm_lead_view.xml 2012-04-19 10:19:27 +0000
@@ -169,7 +169,8 @@
<field name="model">crm.lead</field>
<field name="type">tree</field>
<field name="arch" type="xml">
- <tree string="Leads" colors="blue:state=='pending';grey:state in ('cancel', 'done')">
+ <tree string="Leads" fonts="bold:needaction_pending==True" colors="blue:state=='pending';grey:state in ('cancel', 'done')">
+ <field name="needaction_pending" invisible="1"/>
<field name="date_deadline" invisible="1"/>
<field name="create_date" groups="base.group_no_one"/>
<field name="name" string="Subject"/>
@@ -536,7 +537,8 @@
<field name="model">crm.lead</field>
<field name="type">tree</field>
<field name="arch" type="xml">
- <tree string="Opportunities" colors="blue:state=='pending' and not(date_deadline and (date_deadline < current_date));gray:state in ('cancel', 'done');red:date_deadline and (date_deadline < current_date)">
+ <tree string="Opportunities" fonts="bold:needaction_pending==True" colors="blue:state=='pending' and not(date_deadline and (date_deadline < current_date));gray:state in ('cancel', 'done');red:date_deadline and (date_deadline < current_date)">
+ <field name="needaction_pending" invisible="1"/>
<field name="date_deadline" invisible="1"/>
<field name="create_date" groups="base.group_no_one"/>
<field name="name" string="Opportunity"/>
=== modified file 'crm/crm_meeting_view.xml'
--- crm/crm_meeting_view.xml 2012-04-03 09:15:51 +0000
+++ crm/crm_meeting_view.xml 2012-04-19 10:19:27 +0000
@@ -224,8 +224,9 @@
<field name="model">crm.meeting</field>
<field name="type">tree</field>
<field name="arch" type="xml">
- <tree string="Meetings"
+ <tree string="Meetings" fonts="bold:needaction_pending==True"
colors="red:state=='open';black:state in ('draft', 'cancel','done','pending')">
+ <field name="needaction_pending" invisible="1"/>
<field name="name" string="Subject" />
<field name="user_id"/>
<field name="date"/>
=== modified file 'crm/crm_phonecall_view.xml'
--- crm/crm_phonecall_view.xml 2012-04-03 09:15:51 +0000
+++ crm/crm_phonecall_view.xml 2012-04-19 10:19:27 +0000
@@ -24,7 +24,8 @@
<field name="model">crm.phonecall</field>
<field name="type">tree</field>
<field name="arch" type="xml">
- <tree colors="gray:state in ('cancel','done');blue:state in ('pending',)" string="Phone Calls">
+ <tree fonts="bold:needaction_pending==True" colors="gray:state in ('cancel','done');blue:state in ('pending',)" string="Phone Calls">
+ <field name="needaction_pending" invisible="1"/>
<field name="date"/>
<field name="name"/>
<field name="partner_id"/>
@@ -132,7 +133,8 @@
<field name="model">crm.phonecall</field>
<field name="type">tree</field>
<field name="arch" type="xml">
- <tree string="Phone Calls" editable="top">
+ <tree string="Phone Calls" fonts="bold:needaction_pending==True" editable="top">
+ <field name="needaction_pending" invisible="1"/>
<field name="date"/>
<field name="name"/>
<field name="partner_id"
=== modified file 'mrp/mrp_view.xml'
--- mrp/mrp_view.xml 2012-04-05 16:55:29 +0000
+++ mrp/mrp_view.xml 2012-04-19 10:19:27 +0000
@@ -573,7 +573,8 @@
<field name="model">mrp.production</field>
<field name="type">tree</field>
<field name="arch" type="xml">
- <tree colors="blue:state in ('draft','confirmed');red:date_planned<current_date and state not in ('done','cancel');black:date_planned>=current_date;gray:state in ('done','cancel') " string="Manufacturing Orders">
+ <tree fonts="bold:needaction_pending==True" colors="blue:state in ('draft','confirmed');red:date_planned<current_date and state not in ('done','cancel');black:date_planned>=current_date;gray:state in ('done','cancel') " string="Manufacturing Orders">
+ <field name="needaction_pending" invisible="1"/>
<field name="name"/>
<field name="date_planned"/>
<field name="product_id"/>
=== modified file 'purchase/purchase_view.xml'
--- purchase/purchase_view.xml 2012-04-05 16:55:29 +0000
+++ purchase/purchase_view.xml 2012-04-19 10:19:27 +0000
@@ -286,7 +286,8 @@
<field name="model">purchase.order</field>
<field name="type">tree</field>
<field name="arch" type="xml">
- <tree colors="grey:state=='cancel';blue:state in ('wait','confirmed');red:state in ('except_invoice','except_picking')" string="Purchase Order">
+ <tree fonts="bold:needaction_pending==True" colors="grey:state=='cancel';blue:state in ('wait','confirmed');red:state in ('except_invoice','except_picking')" string="Purchase Order">
+ <field name="needaction_pending" invisible="1"/>
<field name="name" string="Reference"/>
<field name="date_order" />
<field name="partner_id"/>
=== modified file 'sale/sale_view.xml'
--- sale/sale_view.xml 2012-04-10 11:26:07 +0000
+++ sale/sale_view.xml 2012-04-19 10:19:27 +0000
@@ -77,7 +77,8 @@
<field name="type">tree</field>
<field name="priority">2</field>
<field name="arch" type="xml">
- <tree string="Sales Orders" colors="grey:state=='cancel';blue:state in ('waiting_date','manual');red:state in ('invoice_except','shipping_except')">
+ <tree string="Sales Orders" fonts="bold:needaction_pending==True" colors="grey:state=='cancel';blue:state in ('waiting_date','manual');red:state in ('invoice_except','shipping_except')">
+ <field name="needaction_pending" invisible="1"/>
<field name="name"/>
<field name="date_order"/>
<field name="partner_id"/>
_______________________________________________
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