Commit Graph

71781 Commits

Author SHA1 Message Date
Thibault Delavallée b671bad849 [MERGE] [IMP] BoM tree view usability improvements
- remove method field
- set bom_id, date_start and date_stop visible only for members of group_mrp_properties

bzr revid: tde@openerp.com-20130612160557-d73e5bp2o6rsg1du
2013-06-12 18:05:57 +02:00
Thibault Delavallée 55fad983d3 [MERGE] [IMP] BoM tree view usability improvements
- remove method field
- set bom_id, date_start and date_stop visible only for members of group_mrp_properties

bzr revid: tde@openerp.com-20130612153710-kjdsrn54eheuon6x
2013-06-12 17:37:10 +02:00
Thibault Delavallée 09604b0674 [MERGE] [IMP] purchase_order: allow the user to choose the currency, whatever the pricelist. By default the currency is the one defined on the user's company.
bzr revid: tde@openerp.com-20130612145313-blrfa4gmrtuq5dmu
2013-06-12 16:53:13 +02:00
Thibault Delavallée 57147ea6c6 [MERGE] [IMP] Crucial merge of the day: rename All Products into All, to avoid displaying long strings in some form views.
bzr revid: tde@openerp.com-20130612140332-51nd84c27fno4wjx
2013-06-12 16:03:32 +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
Thibault Delavallée adb84380e2 [IMP] hr: emplyee kanban view: add number of messages and followers
bzr revid: tde@openerp.com-20130612084924-mngzy6q0an60cu2x
2013-06-12 10:49:24 +02:00
Thibault Delavallée 0707febe1c [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130611145628-q55zkmf7smsrbh1x
2013-06-11 16:56:28 +02:00
Launchpad Translations on behalf of openerp 70f16ce73b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130608055225-r7ywbpq3uy3jesvh
bzr revid: launchpad_translations_on_behalf_of_openerp-20130611054057-l97gta47ob4sj5ir
2013-06-11 05:40:57 +00:00
niv-openerp a94bbf8e5e [FIX] Merge fix in saas1 for the problem that made the server crash when install a db
bzr revid: nicolas.vanhoren@openerp.com-20130610144915-0nj8vpk7n84ocj3f
bzr revid: nicolas.vanhoren@openerp.com-20130610150657-3xddn91gm0iq0ubp
bzr revid: nicolas.vanhoren@openerp.com-20130610154514-oee6s4f9g17bx63z
2013-06-10 17:45:14 +02:00
niv-openerp 02aa3f2114 [FIX] regression that made the server crash when we install a db
bzr revid: nicolas.vanhoren@openerp.com-20130610154139-jylxm135apnu3app
2013-06-10 17:41:39 +02:00
dle@openerp.com c59fe603ef [FIX]l10n_be: partner vat intra report rml
bzr revid: dle@openerp.com-20130610124549-kfk5wnl34ufd90q2
2013-06-10 14:45:49 +02:00
DBR (OpenERP) 9686f8cf83 [Merge] lp:openobject-addons
bzr revid: dbr@tinyerp.com-20130607133024-b4is88n7xr7k8hrn
2013-06-07 19:00:24 +05:30
niv-openerp 901ba0cba5 [IMP] Sets the request object in web controlles as a global object
bzr revid: nicolas.vanhoren@openerp.com-20130607121905-dq474wdsppatfv9c
2013-06-07 14:19:05 +02:00
niv-openerp 9b1904e892 Put back stuff removed by merge
bzr revid: nicolas.vanhoren@openerp.com-20130607103749-7pe6k3vgwudohnxo
2013-06-07 12:37:49 +02:00
Christophe Matthieu 8c6ff33bef [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607102359-is19utzap127nwr4
2013-06-07 12:23:59 +02:00
Thibault Delavallée a16e1a8ba1 [MERGE] [FIX] mail, email_template: various fixes
- [FIX] [IMP] mail_thread: allow to use message_post on models not having message_post method defined. mail_compose_message.send() wizard and mail_thread.message_process() now check that the active model has message_post defined. Otherwise using thread_model context key, it is possible to use mail_thread.message_post() while keeping model and res_id on the created mail_message.
- [FIX] [TESTS] mail_message, mail_mail: fixed reply_to and email_from default / specified values + added tests (mostly backported from trunk)
- [IMP] mail_message, mail_followers: _notify now have 2 new arguments force_send and user_signature. force_send allows to immediately send the notification emails. user_signature tells whether to add the author's signature in the notification emails sent.
- [FIX] mail_message: notified people: when having no subtype, just avoid notifying the followers but take into account specified recipients (partner_ids).
- [FIX] mail_mail: removed duplicate field email_from, as it is already defined on mail_message (mail_mail inherits from mail_message).
- [IMP] mail_mail: no need to search on type = email in list view.
- [FIX] email_template: allow to add a context action even without having create access on ir.values and ir.action by using SUPERUSER_ID.
- [FIX] mail_compose_message: support user_signature of template. Note that in case of multiple wizards (having ids), user_signature=False on one template is used for all wizards.
- [FIX] mass mailing: emails due to mass mailing are not queued instead of sent immediately.
- [IMP] Chatter: better display of recipients when having a message_post due to mass mailing (not always displaying logged a note).

bzr revid: tde@openerp.com-20130607101641-5h6z2707tu0f3i2n
2013-06-07 12:16:41 +02:00
niv-openerp 956a05e0f2 Replaced main
bzr revid: nicolas.vanhoren@openerp.com-20130607091856-mnjnllza9oafqxb7
2013-06-07 11:18:56 +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
Thibault Delavallée a1a6698558 [CLEAN] mail: cleaned reply_to code, finally.
bzr revid: tde@openerp.com-20130607091611-7cpzlxzngkrs86a0
2013-06-07 11:16:11 +02:00
niv-openerp b778d3c45a merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130607085618-quxxm6izqlfnoy1n
2013-06-07 10:56:18 +02:00
Christophe Matthieu 7a0308cdfe [MERGE] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607082958-a59md26e0nmhzsf7
2013-06-07 10:29:58 +02:00
niv-openerp 9d412b63cb fix another stupid bug
bzr revid: nicolas.vanhoren@openerp.com-20130607080108-ajjly9a05ny96hmd
2013-06-07 10:01:08 +02:00
Launchpad Translations on behalf of openerp 5deae04585 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130607054825-38kbw2umxndg1w3v
2013-06-07 05:48:25 +00:00
Launchpad Translations on behalf of openerp 72f82f8fa3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130607054801-oxz1o62tu2fx01d8
2013-06-07 05:48:01 +00:00
niv-openerp 3d782a25d9 fix stupid bug
bzr revid: nicolas.vanhoren@openerp.com-20130606164726-zdwd4rf93m7unt35
2013-06-06 18:47:26 +02:00
niv-openerp a3e430ec63 Changed to use werkzeug's LocalStack
bzr revid: nicolas.vanhoren@openerp.com-20130606162020-oemq8eyuxr47a2e1
2013-06-06 18:20:20 +02:00
Thibault Delavallée 216cb2122e [IMP] mail: mass_mailing: avoid having 'Followers of' when having a specified reply_to coming from the mail_message
bzr revid: tde@openerp.com-20130606152814-iqftppk06s7g8weg
2013-06-06 17:28:14 +02:00
Thibault Delavallée 30a7720452 [IMP] mail_message: added reply_to to the form view of mail.message
bzr revid: tde@openerp.com-20130606152538-4u3s1k4vvkotxz6c
2013-06-06 17:25:38 +02:00
Thibault Delavallée 1ef65f1577 [FIX] mail_mail: reply_to: use tools.email_split to avoid issues when handling email addresses.
bzr revid: tde@openerp.com-20130606151440-atdhk834ny248xqq
2013-06-06 17:14:40 +02:00
Thibault Delavallée a1e942c0de [FIX] mail.compose.message: fixed reply_to from template in mass mailing.
bzr revid: tde@openerp.com-20130606142814-jyw76nhaeivotu6k
2013-06-06 16:28:14 +02:00
Thibault Delavallée 05d463a0e2 [FIX] mail_mail: sdearch view: no need to have default_type_email
bzr revid: tde@openerp.com-20130606142720-ghs664yqhgemd132
2013-06-06 16:27:20 +02:00
Thibault Delavallée 5601fbd78c [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130606135313-u3mbe1a8yeussnck
2013-06-06 15:53:13 +02:00
Martin Trigaux d5d2f88b01 [MERGE] Forward porting of saas-1 up to revision 8739
bzr revid: mat@openerp.com-20130606132925-buuf13n6m73cen6i
2013-06-06 15:29:25 +02:00
Thibault Delavallée 62a03693a3 [FIX] mail.compose.message in email_template: var typo
bzr revid: tde@openerp.com-20130606130851-h5jswklvvz98enue
2013-06-06 15:08:51 +02:00
Martin Trigaux a5698b8016 [IMP] mail: better tests for gateway
bzr revid: mat@openerp.com-20130606125046-0f0sj5u64blqxbrs
2013-06-06 14:50:46 +02:00
Thibault Delavallée 72f6a8c646 [FIX] mail.compose.message: supports user_signature of template. Note that in case of multiple wizards (send on ids that is not a singleton list), user_signature on one template is valid for all wizard.
bzr revid: tde@openerp.com-20130606123724-f7q3mwm81ek7mr5c
2013-06-06 14:37:24 +02:00
Thibault Delavallée b3cde8da4a [FIX] email_template: allow to define context action even without having create access on ir.values and ir.action
Hint: look for backport into 7.0

bzr revid: tde@openerp.com-20130606123415-vuelai2eh1yy3c87
2013-06-06 14:34:15 +02:00
Thibault Delavallée a216e70e85 [FIX] [IMP] mail: allow to use message_post on models not having message_post method defined.
mail.compose.message wizard and messaage_process now check that the active model
has message_post defined. Otherwise using thread_model context key that is better
managed in message_post, it is possible to use mail_thread.message_post() with a
thread_model and thread_id that should not allow message_post otherwise.

Hint: look for backport into 7.0

bzr revid: tde@openerp.com-20130606123230-d7ql14yydzfrlc7h
2013-06-06 14:32:30 +02:00
Thibault Delavallée 9c57f6e1cd [FIX] mail: various fixes
Mass mailing: emails due to mass mailing are not queued instead of sent immediately.
As most of cases go through mail_followers._notify(), a new argument is added that
allows to control the force_send (like what is done in email_template).
Chatter: better display of recipients when having a message_post due to mass mailing
(not always displaying logged a note).
Notified people: when having no subtype, just avoid notifying the followers but
take into account specified recipients (partner_ids).

bzr revid: tde@openerp.com-20130606102437-43s4xp96b5wa3r1q
2013-06-06 12:24:37 +02:00
Xavier Morel b45fc9bb82 [FIX] correctly display char[password] as stars in list views
lp bug: https://launchpad.net/bugs/1113419 fixed

bzr revid: xmo@openerp.com-20130606091325-q2wgizk8yq4xkgj6
2013-06-06 11:13:25 +02:00
Launchpad Translations on behalf of openerp 1f96789be6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130606052150-3gmo30yv2a4jrql4
2013-06-06 05:21:50 +00:00
Olivier Dony 0298755c67 [FIX] base_partner_merge: properly ignore computed fields when merging 2 partners
bzr revid: odo@openerp.com-20130605161622-7xj8b585sslvd3lj
2013-06-05 18:16:22 +02:00
Martin Trigaux d0202ffb19 [IMP] mail: remove unecessary write in test
bzr revid: mat@openerp.com-20130605152316-tnd9oilxq7910061
2013-06-05 17:23:16 +02:00
Martin Trigaux 1482ce563f [FIX] mail: fix emails to adapt changes in saas (you ruined my afternoon tde)
bzr revid: mat@openerp.com-20130605151039-ps29tnqmn5pilxz4
2013-06-05 17:10:39 +02:00
Vo Minh Thu 691cd6e2a5 [MERGE] change_password_wizard: add password=True on the field.
bzr revid: vmt@openerp.com-20130605140818-m6hoesdwbbiiidey
2013-06-05 16:08:18 +02:00
Vo Minh Thu fd61bfac43 [MERGE] ir_ui_view: better constraints on `arch` and `model`.
bzr revid: vmt@openerp.com-20130605132332-s0azrlqk0hjvders
2013-06-05 15:23:32 +02:00
Vo Minh Thu 8d0a477644 [IMP] ir_ui_view: do not use _logger.exception() (because there is no exception), add a check on `model`.
bzr revid: vmt@openerp.com-20130605121143-u2nkmcmeifphr54h
2013-06-05 14:11:43 +02:00