Commit Graph

106 Commits

Author SHA1 Message Date
Thibault Delavallée ecd14f2181 [MERGE] Chatter and CRM: usability fixes and improvements
Chatter:
- now displays the 'To' of messages, aka notified people,
- now allows to Send a message or to Log a note, that is a message not pushed to anyone; however users that see the document still see the log message,
- fixed suggested recipient behavior: canceling the partner creation popup now correctly avoids creating a partner,
- moved 'Advanced wizard' button on top-right,
- unfollowing or removing someone from followers now displays a warning,
CRM, Recruitment, Issues:
- better management of customers/applicants: Chatter suggests to notify and add as follower the customer, or to create a partner based on the email_from,
CRM, Recruitment, Tasks, Issues:
- changing the user_id (salesman, responsible) still adds the related partner as follower; but now an unread notification is pushed, with the first email or first message if no email,
- updated and added if missing message_summary in kanban views, now displayed only when having unread messages, and the related number, to be more visible,
CRM:
- crm_partner_assign: fixed forward-to-partner wizard,
- crm_partner_assign: geo localization now also sets salesteam along with salesman,
- crm: fixed opportunity email_template,
- crm: removed 'Send mail' button, as the functionality should be covered by Chatter (but the code of the action is left untouched to avoid errors),
Mail:
- merged message_post and message_post_user_api because there was an opportunity to avoid doing similar things in two different methods,
- fixed email_from of incoming email not always stored,
- followers: authors of discussion messages are now added as followers, this is not only limited to incoming emails,
- followers: recipients of emails coming through the mail gateway are not automatically added as followers of the target documents,
- followers: slightly updated _notify, to be able to notify a partner of a specific message; the notification process is therefore accessible outside of the mail_message.create() process

bzr revid: tde@openerp.com-20130301101122-l18mr6hb0j5k4atv
2013-03-01 11:11:22 +01:00
Thibault Delavallée cb2e28f59f [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130218090101-ye6f1gslafpg52bc
bzr revid: tde@openerp.com-20130220102822-aik3ywiz8n043e7x
2013-02-20 11:28:22 +01:00
Christophe Matthieu 093f3a12f2 [FIX] mail_followers: display_subtypes
bzr revid: chm@openerp.com-20130215111926-tpnwii4a3of1gkb7
2013-02-15 12:19:26 +01:00
Christophe Matthieu d374ffba59 [IMP] mail_followers: When unfollowing: confirmation box
bzr revid: chm@openerp.com-20130214150949-hgdlxvd4g18734mu
2013-02-14 16:09:49 +01:00
Christophe Matthieu 48733540e1 [FIX] mail_followers: bug-1100691
bzr revid: chm@openerp.com-20130121085311-n1nwcmviykdp7u0o
2013-01-21 09:53:11 +01:00
Christophe Matthieu c46be224e6 [IMP] mail_followers: hide hr when there are no subtype
bzr revid: chm@openerp.com-20130108162130-e390u7s1duf3yj3r
2013-01-08 17:21:30 +01:00
Christophe Matthieu 31b11163fa [FIX] mail followers: count the number of subtype for display more of 1 subtype
bzr revid: chm@openerp.com-20121227103701-fhn5f25nbtqf2uea
2012-12-27 11:37:01 +01:00
Christophe Matthieu d36ef41a46 [IMP] mail follower: don't display invite button if the user don't have write access. Use many2many_tags_email widget on composer
bzr revid: chm@openerp.com-20121221102649-xyecgj5tqd3li3hw
2012-12-21 11:26:49 +01:00
Christophe Matthieu 7a1ba3a3d5 [IMP] mail follower: add button to show more followers
bzr revid: chm@openerp.com-20121220152906-tr3i2jy7uvqyw9vc
2012-12-20 16:29:06 +01:00
Christophe Matthieu 2efed7e8f8 [IMP] mail follower: remove the unfollow partners button if the user can't edit the view
bzr revid: chm@openerp.com-20121220150112-ysmpkqv0bbx5shrk
2012-12-20 16:01:12 +01:00
Christophe Matthieu 79308644c9 [IMP] mail follower: allow to remove followers if the user have access to write on the document
bzr revid: chm@openerp.com-20121220140946-hqqkz62xyn0oq9g8
2012-12-20 15:09:46 +01:00
Christophe Matthieu 5b6c12b0d0 [IMP] mail follower: hide follower subtype if <= 1. unfollow if the user uncheck all subtype
bzr revid: chm@openerp.com-20121220132434-bte0y5mc21b5r0m5
2012-12-20 14:24:34 +01:00
Christophe Matthieu 53d35debfd [FIX] mail followers: invisible attribute and mode create
bzr revid: chm@openerp.com-20121120162434-g5wfgwndozrcstld
2012-11-20 17:24:34 +01:00
Christophe Matthieu 4011dd8760 [FIX] mail_follower: clear the subtype_list when reload (delete double value)
bzr revid: chm@openerp.com-20121114141936-atyfapg9qia3avsc
2012-11-14 15:19:36 +01:00
Christophe Matthieu df1403d9b6 [FIX] mail/followers: set partner_id of uid on the root thread; No set_value in followers widget
bzr revid: chm@openerp.com-20121108153327-wopb6dscgnf1t4wp
2012-11-08 16:33:27 +01:00
Christophe Matthieu da5d4ce664 [IMP] mail: pipe to then in js
bzr revid: chm@openerp.com-20121108142230-i1bk5hx2dx5x5tyh
2012-11-08 15:22:30 +01:00
Thibault Delavallée d97ffd7b19 [CLEAN] Misc cleaning of code: removed debug statements, added some notes.
bzr revid: tde@openerp.com-20121029112117-kup1q99c2nbkgar7
2012-10-29 12:21:17 +01:00
Frédéric van der Essen 7cdf99ade1 [IMP] mail: improved display of openchatter in form views
bzr revid: fva@openerp.com-20121026095821-c3idarsd5yi9fzso
2012-10-26 11:58:21 +02:00
Frédéric van der Essen 8d9fdcc352 [IMP] mail: followers css + widget integration in inbox and formview
bzr revid: fva@openerp.com-20121024152043-q5j7hpa4rur39k03
2012-10-24 17:20:43 +02:00
Christophe Matthieu a97b20d1ec [MERGE] from trunk
bzr revid: chm@openerp.com-20121022075824-hnyaunrv8wjd16bz
2012-10-22 09:58:24 +02:00
Christophe Matthieu 591c0ff348 [FIX] mail_followers: display_subtypes read first time
bzr revid: chm@openerp.com-20121019132307-s7hvnjltjvc9kndo
2012-10-19 15:23:07 +02:00
Thibault Delavallée 3d057c36f6 [IMP] mail_followers widget: start now calls its super, and override of set_value is not necessary anymore.
bzr revid: tde@openerp.com-20121019120648-kh4ct8kobijvirev
2012-10-19 14:06:48 +02:00
Thibault Delavallée 4ab127557d [REV] mail_followers: this.view.dataset.ids[0] back to its old this.view.datarecord.id form.
bzr revid: tde@openerp.com-20121019095626-7j3xpjebay33nyij
2012-10-19 11:56:26 +02:00
Thibault Delavallée 0b4a35d62e [FIX] mail_followers widget: fixed bug trying to get current record id, now using datarecord.id.
bzr revid: tde@openerp.com-20121019083612-9oklso9sht5qj5tq
2012-10-19 10:36:12 +02:00
Thibault Delavallée 7c142d5a5c [MERGE] Merged with addons/trunk, re-done to get last fixes from trunk.
bzr revid: tde@openerp.com-20121018130049-d2cisvw7g503chvs
bzr revid: tde@openerp.com-20121018130601-nj99fd1a5ok7r952
2012-10-18 15:06:01 +02:00
niv-openerp 1199780ed4 [FIX] problem in mail_followers.js
bzr revid: nicolas.vanhoren@openerp.com-20121018123827-lu6ku0zb9pfddsjc
2012-10-18 14:38:27 +02:00
Thibault Delavallée 1737a3161b [REVIEW] Cleaning before merging.
bzr revid: tde@openerp.com-20121018093453-trijh79z0j7oha6f
2012-10-18 11:34:53 +02:00
Thibault Delavallée 1c7859c67a [IMP] [FIX] mail_followers widget: fixed buggy button; fixed subtypes displayed only if the current user is following the document; various code cleaning.
bzr revid: tde@openerp.com-20121018091327-bt7dyi7pn9w11lsa
2012-10-18 11:13:27 +02:00
Thibault Delavallée 86868af1f1 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20121018072448-y2yvsh2kvznnmg8j
2012-10-18 09:24:48 +02:00
Fabien Meghazi 122cf4a203 [IMP] WebClient api change. ActionManager#do_action() now takes an optional 'options' dict as second argument
bzr revid: fme@openerp.com-20121017145639-xyyg9askp6xtlg6r
2012-10-17 16:56:39 +02:00
Thibault Delavallée fc815ba415 [REF] mail_message: message_read: re-implementation using read instead of browse, to avoid access rights issues. Fixed call in js; updated mail_follower and mail about set_value becoming render_value.
bzr revid: tde@openerp.com-20121017134449-l8gyp8l5e6ogcx3a
2012-10-17 15:44:49 +02:00
Christophe Matthieu 23e20e95d4 [MERGE] from trunk
bzr revid: chm@openerp.com-20121017073146-9m5s2hffeekmj068
2012-10-17 09:31:46 +02:00
Thibault Delavallée ced4a91578 [FIX] mail_followers: fixed is_follower computation.
bzr revid: tde@openerp.com-20121016115915-l9sgcxoa6i46d6xe
2012-10-16 13:59:15 +02:00
Thibault Delavallée e915bd83cb [IMP] mail_thread: remove message_subtype_data field, not used anymore; message_is_follower is not computed with message_follower_ids. Updated mail_followers widget, as message_is_follower is barely never used in views. Updated tests.
bzr revid: tde@openerp.com-20121016111753-shhyhred0m210o1z
2012-10-16 13:17:53 +02:00
niv-openerp 5d6fe5cf3a Merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121015091705-wih9n5lulr4fmu9t
bzr revid: nicolas.vanhoren@openerp.com-20121016084018-ckjvsczxc0qh02cg
2012-10-16 10:40:18 +02:00
Christophe Matthieu 44646f0da0 [IMP]mail/mailbox: js optimisation
bzr revid: chm@openerp.com-20121015141731-0nssfnal6lmua9ap
2012-10-15 16:17:31 +02:00
Thibault Delavallée 55700ac661 [CLEAN] get_message_subtypes -> message_get_subscription_data
bzr revid: tde@openerp.com-20121015133438-oqbe24v80y0ayimn
2012-10-15 15:34:38 +02:00
Thibault Delavallée d7a3875516 [CLEAN] [FIX] mail_followers widget: small cleanup of code, fixed wrong display of follower button when having more than one follower.
bzr revid: tde@openerp.com-20121015120331-uiv40j3d9fxqhopt
2012-10-15 14:03:31 +02:00
Christophe Matthieu adc318837a [IMP]mail: secu
bzr revid: chm@openerp.com-20121012124003-zs8uj68gr1upgc57
2012-10-12 14:40:03 +02:00
niv-openerp e4e1803fb3 Ported field mail followers
bzr revid: nicolas.vanhoren@openerp.com-20121012121803-imyqenc1jxipdra5
2012-10-12 14:18:03 +02:00
Christophe Matthieu 4a77345f63 [IMP] mail, following: access
bzr revid: chm@openerp.com-20121011161614-k72bm2f6gw451u5g
2012-10-11 18:16:14 +02:00
Christophe Matthieu 49a174df57 [IMP] chatter, follower: html/js for css imp
bzr revid: chm@openerp.com-20121010181611-rl167r9h0ejz8zdu
2012-10-10 20:16:11 +02:00
niv-openerp d9d07f9a13 [FIX] removed console.log
bzr revid: nicolas.vanhoren@openerp.com-20121008130309-bdl7ryns0phy158t
2012-10-08 15:03:09 +02:00
Olivier Dony 3744f5c402 [REV] Revert last commit, breaks tests
bzr revid: odo@openerp.com-20121003153306-e2ugphdyijvq8x6l
2012-10-03 17:33:06 +02:00
Christophe Matthieu d653b76e5d [FIX] mail thread follower: follow/unfollow
bzr revid: chm@openerp.com-20121003085110-du30higfqr9x0n26
2012-10-03 10:51:10 +02:00
Antony Lesuisse 6dd16f2613 [MERGE] trunk
bzr revid: al@openerp.com-20120930141638-bw50m7b5a8wnu2yh
2012-09-30 16:16:38 +02:00
Antonin Bourguignon 8683ea9c6d [MERGE] trunk
bzr revid: abo@openerp.com-20120928152152-p6s1dzq96g0sy2sf
2012-09-28 17:21:52 +02:00
Christophe Matthieu 4ddb50dbf9 [IMP] mail: subtype adapted for css onhover box
bzr revid: chm@openerp.com-20120926071709-v51ra4mzn2hp121j
2012-09-26 09:17:09 +02:00
Fabien Pinckaers 0eee48d30a [MERGE] auto-follow Sales Team, Projet, HR Manager
bzr revid: fp@tinyerp.com-20120927191059-pug5mrft8f06uwux
2012-09-27 21:10:59 +02:00
Atul Patel (OpenERP) 97fdf97be2 [FIX]: Add help instead of follow_help key
bzr revid: atp@tinyerp.com-20120926175659-7x7r0zpek55jqaeq
2012-09-26 23:26:59 +05:30