Commit Graph

3300 Commits

Author SHA1 Message Date
Christophe Matthieu c61329943a [IMP] mail: add breadcrumb from inbox
bzr revid: chm@openerp.com-20130527121823-tfjevhu5zl5at4ar
2013-05-27 14:18:23 +02:00
Martin Trigaux d2d72d8416 [MERGE] forward port of saas-1 up to revision 8749 (mat@openerp.com-20130702135856-kmg7d8anw17nkbd8)
bzr revid: mat@openerp.com-20130702144646-y1wqs5mz4rzoh50g
2013-07-02 16:46:46 +02:00
Christophe Simonis bf29a2ebc7 [MERGE] forward port of branch 7.0 up to revid 9302 chs@openerp.com-20130718111616-apacuhc2qhquobtc
bzr revid: dle@openerp.com-20130627104833-b9zgtu8urj43f12b
bzr revid: mat@openerp.com-20130702135856-kmg7d8anw17nkbd8
bzr revid: chs@openerp.com-20130718115928-wpa84dqh8tcq31zt
2013-07-18 13:59:28 +02:00
Launchpad Translations on behalf of openerp d1a4e0aef0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130711062622-v4muic3uqckueux5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130712063505-m63repwd0zokfibu
bzr revid: launchpad_translations_on_behalf_of_openerp-20130713063525-b30s09rh63t3zox4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130714055943-xf6jvk2dpoemt6qx
bzr revid: launchpad_translations_on_behalf_of_openerp-20130715051357-59o0nkhplh3e58mi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130704054706-ace1fcr1vtruoc4s
bzr revid: launchpad_translations_on_behalf_of_openerp-20130705061311-4735gtnj7xjmuprg
bzr revid: launchpad_translations_on_behalf_of_openerp-20130712063510-g2yq0kxqgrx9x1df
bzr revid: launchpad_translations_on_behalf_of_openerp-20130713063533-7mjj5a7226xhtob6
bzr revid: launchpad_translations_on_behalf_of_openerp-20130714055945-h6jn755mtdcubvei
bzr revid: launchpad_translations_on_behalf_of_openerp-20130715051400-rra06yzfd7zw4bt0
2013-07-15 05:14:00 +00:00
Launchpad Translations on behalf of openerp 447895839f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130630055614-i718kdmoni3huadm
bzr revid: launchpad_translations_on_behalf_of_openerp-20130701051425-zqxi4fg6t39pxx0m
2013-07-01 05:14:25 +00:00
Antony Lesuisse fc70550ca2 [IMP] move html module description and icon
bzr revid: al@openerp.com-20130628100441-swpanf2jwcojygh4
2013-06-28 12:04:41 +02:00
Launchpad Translations on behalf of openerp f789c5e032 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130628054239-1z209ij1b14s9p23
2013-06-28 05:42:39 +00:00
Thibault Delavallée e3c729e1a6 [CLEAN] Cleaned last commit.
bzr revid: tde@openerp.com-20130627145519-533br1ho1da3d4f0
2013-06-27 16:55:19 +02:00
Thibault Delavallée bf4ada34b4 [REF] mail_thread: message_track now uses browse records instead of read results.
Updated addons accordingly.
Updated tests to test corner cases using False / null browse records.

bzr revid: tde@openerp.com-20130627144647-swbj77i84vo9ii0v
2013-06-27 16:46:47 +02:00
Thibault Delavallée 3994ea12e9 [CLEAN] Misc cleaning before merging (some code cleaning, added comments).
bzr revid: tde@openerp.com-20130625092606-l8bqt3ce2xz4zm9t
2013-06-25 11:26:06 +02:00
Thibault Delavallée d0aea936ac [CLEAN] Misc cleaning before merging, mainly in views
bzr revid: tde@openerp.com-20130625084630-oqlertvzxl8a8w7f
2013-06-25 10:46:30 +02:00
Thibault Delavallée e6ee1d315e [CLEAN] Misc cleaning before merging
bzr revid: tde@openerp.com-20130624162457-8y8eqwebwolvcdc6
2013-06-24 18:24:57 +02:00
Thibault Delavallée fd90140d7b [REF] mail_thread: refactored message_route improvement, to be closer to the original code + call to a new method that checks the route, instead of doing everything in one method.
bzr revid: tde@openerp.com-20130624151827-hxwaelefs540pvca
2013-06-24 17:18:27 +02:00
Thibault Delavallée f9bc6be1ac [CLEAN] Before merging: removed an added file not used; cleaned some debugging data; improved user form view to better separate email/login and messaging alias.
bzr revid: tde@openerp.com-20130621110344-zx2kxan47uctctka
2013-06-21 13:03:44 +02:00
Thibault Delavallée 19f934e81e [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130621094658-8a30z60e49jtaptw
2013-06-21 11:46:58 +02:00
Thibault Delavallée bd7c26657c [CLEAN] mail_alias: added / cleaned a bit the comments
bzr revid: tde@openerp.com-20130619135229-ow0is5kvl6ux60ze
2013-06-19 15:52:29 +02:00
Vo Minh Thu 960252d091 [IMP] mail: added JSON end-point to receive mails.
bzr revid: vmt@openerp.com-20130619132123-efw3fyqqw33q0s4q
2013-06-19 15:21:23 +02:00
Launchpad Translations on behalf of openerp c0119a87c1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130706061750-b7mm65zaln6pacmc
bzr revid: launchpad_translations_on_behalf_of_openerp-20130707055412-bb9fnxig7ss4pugc
2013-07-07 05:54:12 +00:00
Launchpad Translations on behalf of openerp 034f7bdb14 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130703060137-kl7z1idur87nzjjm
bzr revid: launchpad_translations_on_behalf_of_openerp-20130704054701-nxvmb94gwr227aby
2013-07-04 05:47:01 +00:00
Launchpad Translations on behalf of openerp b732bb34fe Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130630064129-cou489g4u7gq0ins
bzr revid: launchpad_translations_on_behalf_of_openerp-20130701053720-kg0cbfynk0eznz6q
bzr revid: launchpad_translations_on_behalf_of_openerp-20130702055948-6xe11z6qy0pxhfks
2013-07-02 05:59:48 +00:00
Launchpad Translations on behalf of openerp 60f945182a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130628063230-vimvbe89j2208dpl
2013-06-28 06:32:30 +00:00
Launchpad Translations on behalf of openerp fc8ca396d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130625055814-0xhzq55bhk2yalpd
bzr revid: launchpad_translations_on_behalf_of_openerp-20130626061855-up0d9p61pblz40xa
bzr revid: launchpad_translations_on_behalf_of_openerp-20130625055818-kmfgjvq2jfrhd3zr
bzr revid: launchpad_translations_on_behalf_of_openerp-20130626061858-aacxz9wf3f2e4b0v
2013-06-26 06:18:58 +00:00
Thibault Delavallée b7f4ddb880 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130621092424-supbxu8mwm2qtu6b
2013-06-21 11:24:24 +02:00
Thibault Delavallée ff00a84d33 [FIX] mail: fixed a glitch in message_subscribe sometimes overriding specified subtypes
bzr revid: tde@openerp.com-20130620135718-qi0d8fpqvombq3v1
2013-06-20 15:57:18 +02:00
Launchpad Translations on behalf of openerp 4cb1127306 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130621060722-3y4nu7t4kzg3zjua
2013-06-21 06:07:22 +00:00
Launchpad Translations on behalf of openerp 3e269d1572 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130614070428-by6oo1fc0hvfoqc8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130615061319-hikvcj42kmv0fwla
bzr revid: launchpad_translations_on_behalf_of_openerp-20130616053220-l2jj1f2bfhr8s95f
bzr revid: launchpad_translations_on_behalf_of_openerp-20130617062045-ydm23y8oyqt85r6d
bzr revid: launchpad_translations_on_behalf_of_openerp-20130618065045-8n040l4nl7inbsho
bzr revid: launchpad_translations_on_behalf_of_openerp-20130619061621-p7u5tapogm5ao1o2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130620063408-j244y20qpy61d6dn
bzr revid: launchpad_translations_on_behalf_of_openerp-20130615062054-6zhgccaoectf2c0d
bzr revid: launchpad_translations_on_behalf_of_openerp-20130616053235-3eimstk0anu72x9m
bzr revid: launchpad_translations_on_behalf_of_openerp-20130617062114-7wts3fyy6vgqzt8v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130618065127-8w5xbiwnnza5vlo1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130619061719-63jsadfrb1yoqtgz
bzr revid: launchpad_translations_on_behalf_of_openerp-20130620063509-1xk30ymo1f7nn4h0
2013-06-20 06:35:09 +00:00
Thibault Delavallée cd9efe1f99 [FIX] mail: take into account default_ context values for auto subscribe
bzr revid: tde@openerp.com-20130619123829-gr1rkgp490bdci9u
2013-06-19 14:38:29 +02:00
Thibault Delavallée 7b7dfb955f [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130617095141-74uttqtw60iorl5g
2013-06-17 11:51:41 +02:00
Denis Ledoux 6b45fe6ae9 [FIX]mail: _postprocess_sent_message send all mail, not only type = email
bzr revid: dle@openerp.com-20130614132418-hfhf61vfmq28zmv0
2013-06-14 15:24:18 +02:00
Christophe Simonis 484148e8e4 [FIX] mail: compare splitted email in tests
bzr revid: chs@openerp.com-20130614114258-iar6h3ctaaqrb4on
2013-06-14 13:42:58 +02:00
Christophe Simonis 201a383c9c [FIX] mail: reply_to is set to email_from as a last resort
bzr revid: chs@openerp.com-20130614103005-9x5r0b22b25jll1g
2013-06-14 12:30:05 +02:00
Christophe Simonis 1ae74e8907 [FIX] mail: default value for email_reply_to variable (merge messup)
bzr revid: chs@openerp.com-20130614094439-iqji8aimvaf4x5t6
2013-06-14 11:44:39 +02:00
Christophe Simonis aa133b4d29 [MERGE] forward port of branch saas-1 up to revid 8745 chs@openerp.com-20130613181503-82234mo34wxb0oap
bzr revid: chs@openerp.com-20130614091924-z5ta02kwhmwcrgox
2013-06-14 11:19:24 +02:00
Christophe Simonis 6a9adbca62 [MERGE] forward port of branch 7.0 up to revid 9236 mat@openerp.com-20130613160953-itt79mu5xrl7suv4
bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
2013-06-13 20:15:03 +02:00
Thibault Delavallée 75236c2e48 [MERGE] Addons misc improvements Vol.30
hr_evaluation: make employee_id, date, survey_request_ids readonly on done state
mail: small re-ordering of menu in settings/email
sale: product is readonly in other state than draft, improve some helps

bzr revid: tde@openerp.com-20130613130659-uaq0bxwc24q54t4x
2013-06-13 15:06:59 +02:00
Thibault Delavallée 48071be570 [MERGE] Merged branch holding addons-30 misc improvement. FP-style merge for testing purpose.
bzr revid: tde@openerp.com-20130613105923-xt7rvj0n3n3egvzj
2013-06-13 12:59:23 +02:00
Thibault Delavallée 41311b9f33 [FIX] mail: fixed id of record in a loop (record.id, not all ids).
bzr revid: tde@openerp.com-20130613095228-b4r8kca7hkjd6ppa
2013-06-13 11:52:28 +02:00
Thibault Delavallée 2652bd586d [FIX] mail: message_subscribe_users: refactoring of the algorithm to achieve better computation time.
Previous implementation did a search on mail.followers with subtype_ids=False, leading
to a very bad computation time. This search is now avoided.

bzr revid: tde@openerp.com-20130613082029-lmd63s3mqwxasy4j
2013-06-13 10:20:29 +02:00
Thibault Delavallée fc44f25d3a [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130612123429-a4mp0wiicdhlvk0m
2013-06-12 14:34:29 +02:00
Thibault Delavallée 43d08b898f [MERGE] [IMP] 'Social Aspects' Task
Purpose:
- mail is now focused on messaging; partner document is now a classic document, without specific behavior; removed the concept of 'my followers' from mail;
- hr adds social features to mail: employee profile is used to display internal messages; employees can follow other employees, comment and react on their profile messages;
- display suggestion of Groups and Employees to follow in the Inbox, using a new widget. The purpose is to promote social interactions between employees and to improve the visibility of groups;

mail:
- add suggestions.Group widget that allows to display a list of suggested groups to follow; this widget is displayed in the Inbox;
- display 'Partner profile of' or 'News from' when reading messages from a partner profile / employee profile in the Inbox;
- 'Compose a new message or Write to my followers' is not present anymore when hr is not installed, because this social aspect comes with HR;
- mail_thread: add a search function on message_is_follower;
- mail_group: implement suggested groups behavior;
- res_partner: removed specific code changing message_post with type='email' to a private discussion between author and destination partner; partner document behaves like a classic document;
- res_users: add 'display_groups_suggestions' field that controls the display of suggested groups to follow;
- res_users: writing on a res.users object is considered as a private discussion; when Hr is not installed, only aliases should be able to post on a user;

hr_employee:
- when creating an employee, post a message on its profile and push it to every employees of the same company;
- add follow/unfollow and message and follower count on employee kanban view;
- implement suggested employee behavior;
- HR improves the basic Inbox by adding the 'Compose a new message or Write to my followers';
- allow to post on an employee profile when having read access right if the user that posts is an employee;

HR:
- add suggestions.Employee widget that allows to display a list of suggested employees to follow; this widget is displayed in the Inbox;
- res_users: add 'display_employees_suggestions' field that controls the display of suggested employees to follow;
- res_users: do not welcome new users anymore, welcome new employees instead
- res_users: incoming emails are still considered as private messages (using aliases); however messages posted on user profile are redirected to the related employee profiles (used for 'Write to my followers')

bzr revid: tde@openerp.com-20130612121258-j38do5opsot2ur7c
2013-06-12 14:12:58 +02:00
Thibault Delavallée 99dd06cfd0 [FIX] [HACK] Delocate code about mail_thread inheritance from portal to mail_thread, because of the inheritance graph bug in trunk to sovle that makes this code not visible for hr.employee.
bzr revid: tde@openerp.com-20130612113630-ao1dxpv0ax5n4xje
2013-06-12 13:36:30 +02:00
Thibault Delavallée 7d2344bc36 [FIX] Chatter: fixed avatar management as this should be fixed in trunk
bzr revid: tde@openerp.com-20130612095944-2aa2mezzbb47uk6g
2013-06-12 11:59:44 +02:00
Thibault Delavallée 4f7a2419fe [CLEAN] hr: check_related_document now located in hr_employee instead of a mail_message override.
bzr revid: tde@openerp.com-20130612095507-1ksx759e8hkk323h
2013-06-12 11:55:07 +02:00
Launchpad Translations on behalf of openerp be80d2ec94 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130612055731-f24di0etqrugwqfp
2013-06-12 05:57:31 +00:00
Denis Ledoux 75ed151ad9 [FIX]mail: mail_thread, method message_capable_models was not returning all message capable models
bzr revid: dle@openerp.com-20130611133314-pq9bmj7af61k7swe
2013-06-11 15:33:14 +02:00
Launchpad Translations on behalf of openerp 75595cc55b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130611063100-w95zvev0e2wme31v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130611063242-nvli6wf9xoxol1i9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130611063247-ed0nk3aer2b28d41
2013-06-11 06:32:47 +00:00
Thibault Delavallée dff9e6f8d8 [FIX] mail: fixed hasattr on hasattr.
bzr revid: tde@openerp.com-20130610154809-uro1vnbpe90ip1d4
2013-06-10 17:48:09 +02:00
Launchpad Translations on behalf of openerp 3a296f5386 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130608070127-tu3wr0ejaojeuizk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130609061554-vunz3dsqv73j8io4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130608074839-suk66wcjidodrzyu
bzr revid: launchpad_translations_on_behalf_of_openerp-20130609061704-e1t9mv2alygf4g38
bzr revid: launchpad_translations_on_behalf_of_openerp-20130608075116-643xgspj93t8g1y9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130609061708-y08i6exqm5v36qg7
2013-06-09 06:17:08 +00:00
Olivier Dony 8c33eb76e1 [I18N] Synchronize translation templates with latest source code
bzr revid: odo@openerp.com-20130607194309-eysyrkxpr0dukm07
2013-06-07 21:43:09 +02:00
Thibault Delavallée 636c793c70 [TESTS] mail: added tests
bzr revid: tde@openerp.com-20130607091619-tfh78a1agqdiqc23
2013-06-07 11:16:19 +02:00