Kuldeep Joshi(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-889199-kjo into 
lp:openobject-addons.

Requested reviews:
  Bhumika (OpenERP) (sbh-openerp)
Related bugs:
  Bug #889199 in OpenERP Addons: "Messages - wrong button and default"
  https://bugs.launchpad.net/openobject-addons/+bug/889199

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-889199-kjo/+merge/82112

Default search in on received mail and add the send button in search view
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-889199-kjo/+merge/82112
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-889199-kjo.
=== modified file 'mail/mail_message_view.xml'
--- mail/mail_message_view.xml	2011-11-07 22:13:37 +0000
+++ mail/mail_message_view.xml	2011-11-14 09:52:29 +0000
@@ -100,9 +100,10 @@
             <field name="type">search</field>
             <field name="arch" type="xml">
                 <search string="Email Search">
-                    <filter icon="terp-camera_test" string="Received" domain="[('state','=','received')]"/>
+                    <filter icon="terp-camera_test" name="received" string="Received" domain="[('state','=','received')]"/>
                     <filter icon="terp-call-start" name="outgoing" string="Outgoing" domain="[('state','=','outgoing')]"/>
                     <filter icon="terp-gtk-stop" string="Failed" domain="[('state','=','exception')]"/>
+                    <filter icon="terp-check" name="Send" string="Send" domain="[('state', '=', 'sent')]"/>
                     <field name="email_from"/>
                     <field name="email_to"/>
                     <field name="subject"/>
@@ -132,7 +133,7 @@
             <field name="view_type">form</field>
             <field name="view_mode">tree,form</field>
             <field name="domain">[('email_from', '!=', False)]</field>
-             <field name="context">{'search_default_outgoing':1}</field>
+             <field name="context">{'search_default_received':1}</field>
             <field name="search_view_id" ref="view_email_message_search"/>
         </record>
 

_______________________________________________
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

Reply via email to