Commit Graph
3071 Commits
Author SHA1 Message Date
Cedric Snauwaert 724cbb6dee [FIX]mail_followers: signature at the end of mail should be "sent by" and not "send by"
bzr revid: csn@openerp.com-20130429092532-3h31kduga1h0chbb
2013-04-29 11:25:32 +02:00
Vo Minh Thu 9541529215 [FIX] _auto_init(): when _auto_init() is overridden it does not return the super() result, which might brake functional fields initialization.
bzr revid: vmt@openerp.com-20130417075546-e3crirzk1trl9yr1
2013-04-17 09:55:46 +02:00
Thibault Delavallée 4da68cbc22 [FORWARD] Forward port of addons 7.0 until revision 9008
bzr revid: tde@openerp.com-20130411124446-73gzyw3eo925w3dv
2013-04-11 14:44:46 +02:00
Thibault Delavallée f8a2299525 [MERGE] [FIX] mail, email_template: fix attachment duplication and clean attachment management
The way attachments are linked to the document has been cleaned. Posting method message_post may receives 2 arguments:
- attachment_ids: those linked to the wizard model (mail.compose.message) are linked to the document (res_model, res_id)
- attachments: the tuples are used to create new attachments linked to the document
The wizard does not set the res_model and res_id of attachments anymore, delegating this job to message_post.

The mail.message and mail.compose.message now use their respective attachment_ids field when possible. This is done instead of reading/creating new attachments based on the attachments tuple each time a mail.compose.message is processed. Email templates now also use attachment_ids, in particular when generating emails, instead of using the attachments tuple. Only reports are still generated on the fly and put into attachments instead of attachment_ids.

A cron job has been added to unlink 'lost' attachments. Those are attachments:
- linked to 'mail.compose.message'
- with res_id=0 (due Chatter used in minimal mode or reports generated by templates before the wizard has an ID)
- with no activity for more than one day (create_date and write_date)

bzr revid: tde@openerp.com-20130411112033-mqph9vjlcjkoolfs
2013-04-11 13:20:33 +02:00
Thibault Delavallée 9e4486ae52 [FIX] mail: fixed missing conflict resolution
bzr revid: tde@openerp.com-20130411104659-ik62af6wubzu5j6q
2013-04-11 12:46:59 +02:00
Thibault Delavallée 8c7cf300eb [MERGE] [FIX] mail: bettersuggested recipients based on email address. It tries to find a partner that is in the related document followers, or a user, or the first partner with matching email.
bzr revid: tde@openerp.com-20130411104151-wi5ru54b362pv957
2013-04-11 12:41:51 +02:00
Thibault Delavallée fe2ea997a2 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130411103645-rmr3sa8p9ropx2gc
2013-04-11 12:36:45 +02:00
Thibault Delavallée f994529725 [IMP] mail: finding partner based on email: improved code for suggested partners, added somme comments and tests.
bzr revid: tde@openerp.com-20130411101720-mumz152dsxvv1xbj
2013-04-11 12:17:20 +02:00
Raphael Collet 894eeef8e0 [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073708-gaxl2332umtedmg6
2013-04-11 09:37:08 +02:00
Launchpad Translations on behalf of openerp 75997ddc1c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130410055452-4saqwvwv6cgtil6s
2013-04-10 05:54:52 +00:00
Thibault Delavallée 8b97805621 [FIX] mail: fixed some translation issues.
Document created text was not translatable
Subtype was fetched without context, therefore not translated
Removed odd override of _t introduced in mail_followers at revision 7885

bzr revid: tde@openerp.com-20130408092447-3ri41v6xluuj0wha
2013-04-08 11:24:47 +02:00
Launchpad Translations on behalf of openerp eb3ffc52ed Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130406063640-151b9f95w2tgiifb
bzr revid: launchpad_translations_on_behalf_of_openerp-20130407060111-hobhqctome9qtz6c
bzr revid: launchpad_translations_on_behalf_of_openerp-20130408062055-hzgkrbw8lvkfphxe
2013-04-08 06:20:55 +00:00
Thibault Delavallée 1fe0a9afe9 [MERGE] Alias Visibility and Salesteams View. Improve the display of alias in form views and in empty list help messages. Improve the use, visibility and display of salesteams.
This revision adds a configuration in Settings/Sales: enable the use of sales team. If not enabled, users have access to Leads and Opportunities menus; Sales Teams menu is hidden, as well as all fields related to sales teams. If enabled, a Sales Teams menu is added that works as the Project menu. The new sales Teams kanban view allows to have an overview of the sales team (leads, opportunities, quotations, sales orders, invoices). Clicking on a link of the kanban vignette redirect to the related list/kanban view, filtered by the chosen sales team.

This revision also improves the display of help message (also shown for empty kanban views) for leads, opportunities, tasks, issues, applicants. It displays the current sales team / project / job alias, or a default alias if no context is provided.

bzr revid: tde@openerp.com-20130405151914-8892yfmsmr2xwbbk
2013-04-05 17:19:14 +02:00
Thibault Delavallée c41cc328bb [IMP] mail_thread: in empty list help, do not display alias info when alias domain is not configured.
bzr revid: tde@openerp.com-20130405115830-wv64k3z20t8m1odx
2013-04-05 13:58:30 +02:00
Thibault Delavallée d50b159f81 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130405111048-kqxll4mdwnsq2r8o
2013-04-05 13:10:48 +02:00
Thibault Delavallée 034d244be6 [REF] crm, hr, project: refactored kanban/form html/css to be cleaner and remove custom CSS. kanban specific css for aliases has been moved into web_kanban.
bzr revid: tde@openerp.com-20130405110737-xhdgxodrffqtfrzp
2013-04-05 13:07:37 +02:00
Thibault Delavallée 1804c558e7 [IMP] mail: empty list help: take first created alias by default, because this should be the configuration data like 'sales'.
bzr revid: tde@openerp.com-20130405110702-51yt8on1t3c2v54o
2013-04-05 13:07:02 +02:00
Christophe Matthieu d8b3533a82 [IMP] mail_followers: remove the blue background color on invite button
bzr revid: chm@openerp.com-20130405092352-gg9tyfnztu9ay23j
2013-04-05 11:23:52 +02:00
Quentin (OpenERP) 3bb51ac696 [MERGE] forward port of bugfixes made in 7.0, up to revision 8969.
bzr revid: qdp-launchpad@openerp.com-20130404095257-oek77sijuxjyi0aj
2013-04-04 11:52:57 +02:00
Thibault Delavallée 35b51a2efd [IMP] Chatter: improved footer of chatter messages: better differentiation of logged a note / send a message / system notification, with or without recipients.
bzr revid: tde@openerp.com-20130403145151-nvpeqdpp937079iu
2013-04-03 16:51:51 +02:00
Launchpad Translations on behalf of openerp 828edbb276 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130405062313-k2ucjzk7xhm084or
2013-04-05 06:23:13 +00:00
Thibault Delavallée 05306fd30a [FIX] Chatter: do not show colon when there is no trailing record name.
bzr revid: tde@openerp.com-20130403124125-3hbmaqktlxhsgih1
2013-04-03 14:41:25 +02:00
Thibault Delavallée 37bec9643d [FIX] mail: fixed recipients of private discussion, that were not correct. Author could be notified of their own reply independently of the specified recipients. Added tests for private discussions.
bzr revid: tde@openerp.com-20130403121307-4rixx7ct6y86spoz
2013-04-03 14:13:07 +02:00
Thibault Delavallée d300e2b0ce [FIX] mail: notifications: email_to now contains reference to 'Followers of Doc Name' when having a related document.
bzr revid: tde@openerp.com-20130403121022-lijarue6r2t7mh3w
2013-04-03 14:10:22 +02:00
Thibault Delavallée a173caa0f4 [FIX] Fixed wrong parameter name given to astimezone introduced at revision 8954; correct parameter name is tz, not tzinfo.
bzr revid: tde@openerp.com-20130403120926-xfxtj5hsva6jzb1u
2013-04-03 14:09:26 +02:00
Christophe Matthieu 767fe2458a [FIX] mail: issue: After receiving inbox messages from external emails, when clicking on reply button the external email is listed in the form. However when clicking on send the external email is removed! and instead of email what we get is an internal note.
bzr revid: chm@openerp.com-20130403085116-m2kyiem0r2dnjwov
2013-04-03 10:51:16 +02:00
Thibault Delavallée ba9412cb5d [CLEAN] addons: various linkt cleanup (indentation, spaces, ...).
bzr revid: tde@openerp.com-20130403081009-jy35sm7dl4pq7eyu
2013-04-03 10:10:09 +02:00
Thibault Delavallée bdd8a38121 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130402081312-v4pmhvv25gopey9y
2013-04-02 10:13:12 +02:00
Launchpad Translations on behalf of openerp 252bcc802f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130330060824-pc5f2pj14gj0ak27
bzr revid: launchpad_translations_on_behalf_of_openerp-20130331055726-frtzw3gc9ut4wx4y
bzr revid: launchpad_translations_on_behalf_of_openerp-20130401053127-tolr13p1b3bhjny1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130402054749-t3x0zc7qk3n4man2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130330060920-k0cnlpk0rxcli841
bzr revid: launchpad_translations_on_behalf_of_openerp-20130331055741-loojniiz6du9upat
bzr revid: launchpad_translations_on_behalf_of_openerp-20130401053211-yvt1h32v41rs6jje
bzr revid: launchpad_translations_on_behalf_of_openerp-20130402054814-fwg742kzhsupr6kc
bzr revid: launchpad_translations_on_behalf_of_openerp-20130329051100-3ul1k4qwwm2f49gt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130330060923-wch1f8ndmb15nu6x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130331055759-aj1nc93t9420lov0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130401053215-kqqgqefzp95fa1tk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130402054817-k33rri349nc2ioiz
2013-04-02 05:48:17 +00:00
Raphael Collet fb4b655139 [FIX] mail: make some registry access more tolerant
bzr revid: rco@openerp.com-20130329145652-ux8g42u063015zy9
2013-03-29 15:56:52 +01:00
Raphael Collet 96ad608854 [IMP] general: use registry[X] instead registry.get(X) when X is dynamic
bzr revid: rco@openerp.com-20130329143720-80pkd4csemlk1aqz
2013-03-29 15:37:20 +01:00
Thibault Delavallée 0d14fd300a [MERGE] [IMP] email_template: template_id field is now a many2one towards email.template
- changed selection field to a many2one using a domain; this
allows to edit the template while being in a composition wizard.
- improved email template and template preview form view

bzr revid: tde@openerp.com-20130329114631-fd6phvjaxojk9ja5
2013-03-29 12:46:31 +01:00
Thibault Delavallée becbd707cf [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130329105546-epbmbbxd64cncj2h
2013-03-29 11:55:46 +01:00
Thibault Delavallée 3a39464710 [REM] mail: removed doc file, that was not adding usefull information compared to docstrings already present in the code. As the doc generator should take those docstrings into account, it is not necessary to re-add it. Moreover, this will make maintaining the doc up to date difficult.
bzr revid: tde@openerp.com-20130329104007-ye9xglq17xar9wvo
2013-03-29 11:40:07 +01:00
Thibault Delavallée c6bf1f1af3 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130329103315-ico83ec57l2dzx4v
2013-03-29 11:33:15 +01:00
Thibault Delavallée fbdaa9c945 [DEL] mail: removed test file about aliases, as finally no changes were done to the alias model.
bzr revid: tde@openerp.com-20130329102200-a3v3p6w4ivgvsuv2
2013-03-29 11:22:00 +01:00
Thibault Delavallée c934ab4a7a [IMP] mail_group, hr_job: added aliases always visible in form view.
bzr revid: tde@openerp.com-20130329101857-ryp7jtzo475g73kf
2013-03-29 11:18:57 +01:00
Thibault Delavallée 3a155a408a [CLEAN] mail_thread: cleaned code of get_empty_list_help (using variables instead of calls to context, better indentation of help message formatting
bzr revid: tde@openerp.com-20130329100151-pbtdm85qp27wohgk
2013-03-29 11:01:51 +01:00
Launchpad Translations on behalf of openerp 7a8d71be6d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130329050903-yuxb08q83hlvg6ok
2013-03-29 05:09:03 +00:00
Thibault Delavallée d4f4fdd682 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130328092453-zl0vfhzxzxoaa9vs
2013-03-28 10:24:53 +01:00
Launchpad Translations on behalf of openerp fc04522286 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130328060500-yc40z00ubsz154vw
2013-03-28 06:05:00 +00:00
Vo Minh Thu f0eb3e823d [REF] mail: removed openerp.pooler imports.
bzr revid: vmt@openerp.com-20130327135527-g01vvhf9vv3e1mql
2013-03-27 14:55:27 +01:00
Thibault Delavallée 28e5d02b06 [MERGE] Sync with trunk.
bzr revid: tpa@tinyerp.com-20130322065219-vjy2nwjg97xhv16n
bzr revid: tde@openerp.com-20130327120928-o26n6vksq6hainq2
2013-03-27 13:09:28 +01:00
Chris Biersbach e985ddea30 [MERGE] fetchmail: The save_original parameter was not correctly apssed around, causing the original email to not be saved even if it was configured to be saved. This restores this functionality.
bzr revid: cbi@openerp.com-20130327121546-xcrmhn8i3rtyzx6p
2013-03-27 13:15:46 +01:00
Chris Biersbach fd84a4dec4 [FIX] the functionality to save the original mail fetched by the fetchmail module now correctly works
bzr revid: cbi@openerp.com-20130327112517-evcxdkedguka6y8a
2013-03-27 12:25:17 +01:00
Thibault Delavallée 07099455fc [MERGE] [FIX] mail_group: usability fix. The 'Wall view' of
mail groups now displays all messages (removed 'Unread' filter).
It also displays a composition box, not 'Send a message or Log a note'
as the purpose of a mail.group is to share with other members.

bzr revid: tde@openerp.com-20130327110520-nja6273v5ozdt49j
2013-03-27 12:05:20 +01:00
Thibault Delavallée ae7af34ef3 [MERGE] [FIX] Chatter: when displaying a message title without subject, do not finish by a ':'.
bzr revid: tde@openerp.com-20130327110058-tea6p5y0he85pjjr
2013-03-27 12:00:58 +01:00
Christophe Matthieu 1f2518a64f [FIX] mail_followers: ellipsis for long name, esc name to display
bzr revid: chm@openerp.com-20130327103350-wdpigtwvtwm92ov1
2013-03-27 11:33:50 +01:00
Thibault Delavallée 6b893e4a1a [FIX] mail_group: fixed client action, no more Unread messages, send or log -> composition box with a correct message.
bzr revid: tde@openerp.com-20130327095822-m3m2jiwpsa6y5qvi
2013-03-27 10:58:22 +01:00
Thibault Delavallée 6a8da249e6 [FIX] Chatter: when displaying a message title without subject, do not finish by a ':'.
bzr revid: tde@openerp.com-20130327094017-a77mdmkmo919yr08
2013-03-27 10:40:17 +01:00