Thibault Delavallée
95284e1ecf
[CLEAN] mail_mail: lean cleaning
...
bzr revid: tde@openerp.com-20140314174809-t66z5pjxwu1izh6a
2014-03-14 18:48:09 +01:00
Thibault Delavallée
0d3d0e9563
[IMP] mail: improved link in notification, now of form
...
Sent from <company> using <openerp:pub>, about <model document_name>, access in <customer portal:partner only>
bzr revid: tde@openerp.com-20140305173610-yw71rophyt3iyfi4
2014-03-05 18:36:10 +01:00
Thibault Delavallée
11e0e64769
[FIX] mail: notification url: only web, not login
...
bzr revid: tde@openerp.com-20140226170002-ndr090idip3cyx3n
2014-02-26 18:00:02 +01:00
Thibault Delavallée
bb795e929d
[FIX] mail: fixed sign-in URL in notification emails, use the new web/login controller introduced in saas-3.
...
bzr revid: tde@openerp.com-20140225095054-kswinebsgsj5fex1
2014-02-25 10:50:54 +01:00
Jitendra Prajapati (OpenERP)
4c6083580a
[MERGE]with lp:openobject-addons
...
bzr revid: prajapatijitendra7969@gmail.com-20140120051258-gpmbuy6ztm8wo51f
2014-01-20 10:42:58 +05:30
Thibault Delavallée
b92ad39005
[FIX] email_template: support of email_recipients in send_mail.
...
email_recipients is a char fields holding a comma separated list of partner_ids
that are the email recipients. This field is correctly handled in the composer
but was not taken into account in the send_mail method email_template.
However due to model limitations, this field can only be taken into account
when sending the email directly using force_send. When the email is
queued, no field is available to hold the value of email_recipients.
This is already fixed in trunk/v8 as a field has been added to handle
this value.
[FIX] mail: when sending email to some recipients_ids, filter to have only
the existing partner_ids. Trusting email template to generate valid
partner_ids is a bit risky.
[TESTS] email_template: added tests for send_mail
bzr revid: tde@openerp.com-20131220144652-h18yam60vpedbh7x
2013-12-20 15:46:52 +01:00
jke-openerp
306dd6e397
[IMP] Add span with class for footer received in mail
...
[FIX] convert partner_to from template_mail (string with comma) to recipent_ids (list of partner_id) in model mail_mail
bzr revid: jke@openerp.com-20131219133144-zbt100e8030wd927
2013-12-19 14:31:44 +01:00
jke-openerp
cd4f71cf36
[REF] rb r2g
...
bzr revid: jke@openerp.com-20131124130241-s1hjdl08y5dcsnxs
2013-11-24 14:02:41 +01:00
jke-openerp
5f9ee3b2d2
[IMP] Bck not running
...
bzr revid: jke@openerp.com-20131123113627-csxj0qx8s030dhi7
2013-11-23 12:36:27 +01:00
Pooja Zankhariya (OpenERP)
a676916002
[IMP]Improved value in breadcrumb
...
bzr revid: pza@tinyerp.com-20131101073821-dugeqgue1a0o4ry5
2013-11-01 12:38:21 +05:00
Pooja Zankhariya (OpenERP)
66850dbe56
[MISC]Revert rev 8963
...
bzr revid: pza@tinyerp.com-20131101062806-bcbmvwnvm4lig5n9
2013-11-01 11:28:06 +05:00
Pooja Zankhariya (OpenERP)
34224c45e1
[MISC]Revert rev 8962
...
bzr revid: pza@tinyerp.com-20131101061945-is98vb8lane02hb6
2013-11-01 11:19:45 +05:00
Pooja Zankhariya (OpenERP)
a59de2a106
[IMP]Added warning when user clicks on send button and server is not configured
...
bzr revid: pza@tinyerp.com-20131030131055-ljewgj0zz86hxzli
2013-10-30 18:10:55 +05:00
Pooja Zankhariya (OpenERP)
c4dd49d317
[IMP]Improved value in breadcrumb
...
bzr revid: pza@tinyerp.com-20131030130558-akqntn5k4rjhx771
2013-10-30 18:05:58 +05:00
Thibault Delavallée
62e88a16e4
[FIX] mail: mail_mail: fixed url embedded in notification emails.
...
When having emails not linked to a notification (mail.notification = False)
the link is generated without any clue about the source record.
However we can try to use model and res_id defined on the mail_mail record
to correctly format a link.
Added support of model and res_id in message_redirect_action. This method
now can redirect based on a message_id, or based on model / res_id.
bzr revid: tde@openerp.com-20131018144924-j4f22hen3lsua7cb
2013-10-18 16:49:24 +02:00
Thibault Delavallée
ed62d1dac7
[REF] mass_mailing: first refactor
...
Mail statistics are now stored onto a separated object (mail.mail.statistics), allowing to
handle emails separately from statistics (among other removing mail.mail entries while keeping
statistics).
Everything linnked to opened/replied/bounce is not managed by mass_mailing, removed added code
in mail module.
bzr revid: tde@openerp.com-20130913115408-322cyjipdg680as6
2013-09-13 13:54:08 +02:00
Thibault Delavallée
ce8c987089
[IMP] mail, email_template, mass_mailing: improvev mass mailing management in mail.compose.message + form view cleanings + some fixes in mail_mail about set_opened/replied/bounced, now checking that ids effectively exist
...
bzr revid: tde@openerp.com-20130910151901-nhuwvtrkbwekyh7x
2013-09-10 17:19:01 +02:00
Thibault Delavallée
903ca548c7
[IMP] mass_mailing: added kanban views for mass_mailing, implemented segment for campaigns. Moved sparkline and gauge widgets to web.
...
Segment: template, date, mails.
Campaign: grouped statistics.
bzr revid: tde@openerp.com-20130903145936-nwy250w1suxmtbl3
2013-09-03 16:59:36 +02:00
Thibault Delavallée
b35a44f66d
[IMP] mail_mail, mail_message: various improvements to try to improve message creation time
...
Replaced some read by browse
Moved get_reply_to from mail_mail to mail_message
Hint: specifying email_from, reply_to help to enhance computation time
[REF] mail: cleaned some tests, renamed a file, moved mail_group tests into a dedicated file
bzr revid: tde@openerp.com-20130827133058-ko0g0ib0f0jihmdk
2013-08-27 15:30:58 +02:00
Thibault Delavallée
982915b7d0
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20130807145147-ltn86n2a87q8y88g
2013-08-07 16:51:47 +02:00
Thibault Delavallée
2eece10cd4
[FIX] mail_mail: computation of reply_to after create to avoid
...
interfering with automatic message_id creation of mail_message
[FIX] mail_thread: fixed issues with private messages through mailgateway
(wrong route checking, variable erasing)
[TEST] mail: added test for the second bug
bzr revid: tde@openerp.com-20130807142418-3h5qxdt3ekosj9x6
2013-08-07 16:24:18 +02:00
Thibault Delavallée
fd100054cc
[FIX] mail_mail: fixed reply_to computation (before create was leading to a wrong message_id to the embedded mail_message); mail_thread; fixed private discussion not going through the route checking; improved replying through mailgateway now incrementing the replied field of mail_mail.
...
bzr revid: tde@openerp.com-20130807130118-yggvmontssofxt0q
2013-08-07 15:01:18 +02:00
Thibault Delavallée
38a534dee0
[IMP] mail: first implementation of tracking and bounce management.
...
Added 2 fields on mail_mail to count read/bounce.
Added bounce alias bounce-mail_id-model-res_id.
Added message_receive_bounce method that try to incremetn message_bounce field.
bzr revid: tde@openerp.com-20130806151143-7dw6xlj8n7mh0nqe
2013-08-06 17:11:43 +02:00
Thibault Delavallée
a3a0d3dbbf
[FIX] mail: res was not created if there are no email in email_list when sending emails
...
bzr revid: tde@openerp.com-20130726101008-whwcl1ssh2fsxhbw
2013-07-26 12:10:08 +02:00
Thibault Delavallée
f1f2b2ba06
[IMP] mail: mail.message now has mail_server_id from template_id.
...
bzr revid: tde@openerp.com-20130722131725-i30xd4b03nui3hyw
2013-07-22 15:17:25 +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
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
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
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
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
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
Martin Trigaux
ccb38117ee
[MERGE] Forward porting of saas-1 until rev 8739
...
bzr revid: mat@openerp.com-20130605090453-e4mg37kms5j1r18n
2013-06-05 11:04:53 +02:00
Thibault Delavallée
27839fead3
[CLEAN] auth_signup, mail_mail: better management of exceptions when sending emails, delegated to mail_mail.
...
bzr revid: tde@openerp.com-20130604151508-7bd8gxhkr86fuybp
2013-06-04 17:15:08 +02:00
Thibault Delavallée
8b42f9bb1f
[FIX] mail_mail: removed column reply_to, as this column already exists
...
in mail_message. As mail_mail inherits from mail_message, there is no need
to duplicate it. Removing the column should be safe, because reading will
fetch the value from mail_message even if the mail_mail column has been
deleted.
bzr revid: tde@openerp.com-20130529144441-giku7wbwrc3kg5qk
2013-05-29 16:44:41 +02:00
Thibault Delavallée
c93c8935ad
[IMP] mail: now may raise exception instead of just logging it. They are used in auth_signup to avoid having the process considering the invite/reset password email was sent when it was not.
...
bzr revid: tde@openerp.com-20130524114857-8wy5uob23i2d6b6p
2013-05-24 13:48:57 +02:00
Thibault Delavallée
cd278d83ab
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20130522103305-yi5ql1chdx9qxxlx
bzr revid: tde@openerp.com-20130522114236-qi2s3i2dl2lemdvh
2013-05-22 13:42:36 +02:00
Thibault Delavallée
faefb9fad1
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20130522103426-wjn0ttqdbf72g713
2013-05-22 12:34:26 +02:00
Thibault Delavallée
a05b0bebbe
[FORWARD] Forward port of 7.0 branch until revision 9143.
...
bzr revid: tde@openerp.com-20130521122359-b5vii7gv8arluz06
2013-05-21 14:23:59 +02:00
Thibault Delavallée
bc4964de13
[IMP] mail: now defines a catchall email alias, used to format the
...
reply_to of notification emails when having a document without alias, or for
private discussions using external mail readers.
bzr revid: tde@openerp.com-20130516150900-khb1d1ygyuos1wrl
2013-05-16 17:09:00 +02:00
Thibault Delavallée
8a0adc0f33
[FIX] mail: notification email: notification sent for private discussions now have a correct subject, aka the subject of the original email.
...
bzr revid: tde@openerp.com-20130515133332-g3wtttsnasfz0y8b
2013-05-15 15:33:32 +02:00
Thibault Delavallée
c08b877370
[FIX] mail: fixed redirection action that was not redirecting to the discussion when failing to open the document.
...
bzr revid: tde@openerp.com-20130429093329-w0qxiiipx1mkz6qt
2013-04-29 11:33:29 +02:00
Thibault Delavallée
10176982c4
[CLEAN] Remove dead code left when merging 7.0 branch inside trunk branch
...
bzr revid: tde@openerp.com-20130426134656-hruyetp4x10g1t0h
2013-04-26 15:46:56 +02:00
Thibault Delavallée
b61c12d28e
[MERGE] Revisions 9000 ... 9002 of 7.0 branch
...
bzr revid: tde@openerp.com-20130426132847-mr8e0yuxao582bs6
2013-04-26 15:28:47 +02:00
Thibault Delavallée
0dada27fcd
[MERGE] Revisions 8997 ... 8999 of 7.0 branch.
...
bzr revid: tde@openerp.com-20130426132721-02lkoc41fms9ve1k
2013-04-26 15:27:21 +02:00
Thibault Delavallée
a75cc23573
[REF] mail: refactored system to generate links in signatures. A new server action is used that choose to redirect to the document or to the Inbox (Portal or Classic Inbox, depending on the user).
...
bzr revid: tde@openerp.com-20130417122225-faf0bb5vyhbcx7ys
2013-04-17 14:22:25 +02:00
Raphael Collet
894eeef8e0
[MERGE] from trunk
...
bzr revid: rco@openerp.com-20130411073708-gaxl2332umtedmg6
2013-04-11 09:37:08 +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
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
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
3106310824
[MERGE] Sync with 7.0 until 8906
...
bzr revid: tde@openerp.com-20130321120618-0vaokwa3bmvlpe01
2013-03-21 13:06:18 +01:00
Thibault Delavallée
f6b713f1ee
[FIX] mail: fixed errors trigerred by improved mail tests and last trunk modifications.
...
bzr revid: tde@openerp.com-20130321102151-qk1vf3iwhzd23k3s
2013-03-21 11:21:51 +01:00
Thibault Delavallée
40a5dda617
[MERGE] Forward port of addons until 8903
...
bzr revid: tde@openerp.com-20130321093716-3nt7h2xunl8lusqh
2013-03-21 10:37:16 +01:00
Thibault Delavallée
e5aeefadce
[FIX] mail: rpely_to of sent emails is sanitized.
...
bzr revid: tde@openerp.com-20130321092332-8cp59mu3idrpbnke
2013-03-21 10:23:32 +01:00
Thibault Delavallée
0c79cbd146
[FIX] mail: emails sent to partners now use the 'Name <email>' format, instead of just 'email'.
...
bzr revid: tde@openerp.com-20130320121706-csue8xkqrc7adbqi
2013-03-20 13:17:06 +01:00
Thibault Delavallée
522f144781
[CLEAN] Misc cleaning and code review before merging.
...
bzr revid: tde@openerp.com-20130319091844-tnpd0w8tlagcbypz
2013-03-19 10:18:44 +01:00
Thibault Delavallée
bcc7fcb3c6
[FIX] mail: missing 'nice' reply_to is back on track.
...
bzr revid: tde@openerp.com-20130318150252-twwxoborz8ppeh6a
2013-03-18 16:02:52 +01:00
Thibault Delavallée
7e696dfdcb
[MERGE] Sync with trunk and latest mail changes.
...
bzr revid: tde@openerp.com-20130318122027-l570iyzlljshz4ne
2013-03-18 13:20:27 +01:00
Thibault Delavallée
5d59401b91
[MERGE] Sync with trunk, tried to resolve the conflicts without breakign everything.
...
bzr revid: tde@openerp.com-20130315120759-sf1o1sd80ycuuy7n
2013-03-15 13:07:59 +01:00
Thibault Delavallée
4484a3197c
[MERGE] Sync with trunk, resolved conflicts due to forward port of 7.0
...
bzr revid: tde@openerp.com-20130315114338-54scb00rkp7zwr30
2013-03-15 12:43:38 +01:00
Thibault Delavallée
646c83c250
[IMP] mail_mail: delegated footer modification into a dedicated method called by send_get_email_body.
...
bzr revid: tde@openerp.com-20130315110421-if39vmvov4loe5u7
2013-03-15 12:04:21 +01:00
Thibault Delavallée
8ba623dd8e
[CLEAN] mail_mail: cleaned a bit the form view
...
bzr revid: tde@openerp.com-20130314120611-p9fouks0wk0e10do
2013-03-14 13:06:11 +01:00
Thibault Delavallée
52e47a660a
[FIX] [IMP] Second batch of fixes and small usability fixes/improvements for CRM / mailing
...
email_template:
- fix email_template overriding recipients even when the template is void; the convention is that void values in the template are not used, meaning that they are not relevant in the template and not that they should erase existing values,
- added _order on name on email_template, in order to ease the choosing of templates,
crm:
- fix phonecall scheduling taking the lead/opportunity description as phonecall description,
- fix phonecall scheduling Chatter message: added phonecall description into it
- improved phonecall scheduling wizard form view (type is now on the left to ease reading and updating),
- fix opt_out parameter explanations; this parameter is relevant only for mass mailing and marketing campaigns,
- added 'Available for mass mailing' (opt_out = False) filter to give users the possibility of filtering leads before performing mass mailing,
res_partner:
- fix notification_email_send field missing on res_partner form view, preventing management of email reception policy for partners,
- fix opt_out parameter explanations (field added in email_template); this parameter is relevant only for mass mailing and marketing campaigns,
- added 'Available for mass mailing' (opt_out = False) filter to give users the possibility of filtering leads before performing mass mailing,
mail_message:
- fix read/unread filters on mail_message (help of both filters were the same; string of Unread becomes To Read to be clearer)
bzr revid: tde@openerp.com-20130313131341-5pwn4g0nmbaq030p
2013-03-13 14:13:41 +01:00
Thibault Delavallée
6b2c64ff40
[IMP] mail_mail: cleaned code about reply_to format: now uses tools.email_split, cleaned a bit the code.
...
bzr revid: tde@openerp.com-20130313111926-45d9gct5nihr6f6n
2013-03-13 12:19:26 +01:00
Thibault Delavallée
6ae80a98ac
[CLEAN] mail: cleaned code of modified reply_to.
...
bzr revid: tde@openerp.com-20130311124914-xcdbgmw4w7nm02rv
2013-03-11 13:49:14 +01:00
Thibault Delavallée
7310643b6b
[IMP] email: better reply_to that includes document name.
...
bzr revid: tde@openerp.com-20130311114623-ftcj8s8rbahvjupz
2013-03-11 12:46:23 +01:00
Thibault Delavallée
7daec12ef6
[FIX] mail_mail: fixed reply_to
...
bzr revid: tde@openerp.com-20130305151450-l1xbu91qbo850a11
2013-03-05 16:14:50 +01:00
Christophe Matthieu
c81f9536a5
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20130226105528-oc73iis3eyuft4f9
2013-02-26 11:55:28 +01:00
Thibault Delavallée
0aaca4daa9
[IMP] mail: improved mass mailing. Correctly take into account email_to, email_cc, partner_to even if no template. Mass mailing is a no-subtype post with additional recipients manually notified. Added option (in technical features) to send to followers, or to directly create a mail_mail. Added some default values in mail_message. Added explicit management of email_from and reply_to. Having a reply_to bypasses the 'model-res_id' in message_id behavior allowing to construct threads. Added explicit recipient_ids field on mail_mail that replaces the recipient_ids parameter in mail_mail.send(). Updated tests accordingly.
...
bzr revid: tde@openerp.com-20130225164857-i635atksj7riq9nd
2013-02-25 17:48:57 +01:00
Thibault Delavallée
d7f63a10fd
[FIX] mail: notification emails: subject is now Re: <document_name>.
...
bzr revid: tde@openerp.com-20130214123925-2ymglkqph90ntebg
2013-02-14 13:39:25 +01:00
Fabien Pinckaers
5857bedb93
[FIX] create a meeting from an opportunity
...
bzr revid: fp@tinyerp.com-20130201091303-3czjnqpj6bqheunw
2013-02-01 10:13:03 +01:00
Christophe Matthieu
46c52b0650
[IMP] mail: signature
...
bzr revid: chm@openerp.com-20130131162814-93chvgsc4xorh3g2
2013-01-31 17:28:14 +01:00
Christophe Matthieu
468fed66be
[IMP] mail: add a method get_signature_footer to add a good signature on bottom of messages sent with the chatter and invite followers
...
bzr revid: chm@openerp.com-20130124094241-k9ophrwqhne611il
2013-01-24 10:42:41 +01:00
Thibault Delavallée
d67d895220
[IMP] Notifications: link to the document basically in mail module, with basic parameters. Portal improve this.
...
bzr revid: tde@openerp.com-20130104125754-mmh2n0qcbvn4kd0s
2013-01-04 13:57:54 +01:00
Thibault Delavallée
c33dff10f1
[IMP] mail: send emails now have a reply_to based on aliases, if defined, and if not reply_to already defined in the mail.mail object.
...
bzr revid: tde@openerp.com-20130102130025-5wa2k8wzv1vgg2xx
2013-01-02 14:00:25 +01:00
Olivier Dony
fc0c2942ba
[MERGE] Another batch of bugfixes from 6.1
...
bzr revid: odo@openerp.com-20121218175547-7c1uxq4ypbi314gx
2012-12-18 18:55:47 +01:00
Olivier Dony
b67f73c327
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20121218025230-zig415ldtmazgbxt
2012-12-18 03:52:30 +01:00
Olivier Dony
84d7987f33
[MERGE] Bugfixes from 6.1 until revision 6900
...
rev.6900 = xal@openerp.com-20120720134532-t07xr3lp8ouhn2dv
bzr revid: odo@openerp.com-20121218021123-9ligpn7bkr9zo4n7
2012-12-18 03:11:23 +01:00
Cecile Tonglet
15fe515601
[MERGE] From trunk
...
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Thibault Delavallée
d5a2853ba4
[IMP] mail_mail: removed unnecessary SUPERUSER_ID.
...
bzr revid: tde@openerp.com-20121214104754-5zsqi9tyhyk7fe6s
2012-12-14 11:47:54 +01:00
Thibault Delavallée
45e1682327
[FIX] [CLEAN] mail: fixed some access rules issues; removed now unused files.
...
bzr revid: tde@openerp.com-20121211143301-b52ji02vynvgo3m9
2012-12-11 15:33:01 +01:00
Vo Minh Thu
e7f4891d46
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Olivier Dony
cb57169c97
[FIX] mail.mail: typo in previous commits
...
bzr revid: odo@openerp.com-20121009134414-923kv1ciw00pxh6v
2012-10-09 15:44:14 +02:00
Olivier Dony
43595fbeb1
[FIX] mail: default email From should consider user email if there is no alias
...
bzr revid: odo@openerp.com-20121008120421-k9aj7g6vsr3zu5u2
2012-10-08 14:04:21 +02:00
Thibault Delavallée
9a9a56fa49
[WIP] [FIX] mail: fixing access rights: second turn of update.
...
bzr revid: tde@openerp.com-20120914115107-mtgu8soy3ck5xgir
2012-09-14 13:51:07 +02:00
Thibault Delavallée
3180b4def5
[CLEAN] mail: cleaned mail-invite before merging. Updated some methods and var names; updated some comments.
...
bzr revid: tde@openerp.com-20120913154844-i5tikncn3sxepk34
2012-09-13 17:48:44 +02:00
Thibault Delavallée
30fb693c20
[IMP] Portal: override of mail_mail to add the signin link into footer of send notifications.
...
bzr revid: tde@openerp.com-20120912155300-8ilg2g24yl7qsjfg
2012-09-12 17:53:00 +02:00
Thibault Delavallée
a16bf464f5
[IMP] mail: added a new behavior when sending notifications. Each notification can now be customized (subject, body); each partner to notify will receive a different ir_email. It is still the same mail_mail as a basis, but specific content can be send to partners (for example, portal links). Updated the tests as well.L
...
bzr revid: tde@openerp.com-20120912133843-lltf7pzder386e2w
2012-09-12 15:38:43 +02:00
Thibault Delavallée
6d03677e4e
[CLEAN] mail_mail: cleaned some forgotten spaces; fixed the commend for the notification field.
...
bzr revid: tde@openerp.com-20120912120144-m440eafqjtccv3sp
2012-09-12 14:01:44 +02:00
Olivier Dony
5f1dce419b
[IMP] mail*: implement auto-deletion mechanism for mail.message, mail.mail and the attachment
...
This is based on the auto_delete flag on mail.mail
and the assumption that mail.mail records created
without a parent message will be deleted as a whole,
including the parent message and its attachments.
This is contrasted with mail.mail records created
for notifications regarding a mail.message, and therefore
created with an existing `mail_message_id` parent.
For this last case the parent must not be deleted
along with the child mail.mail, as it exists on its own.
bzr revid: odo@openerp.com-20120905151950-7jv6hi0x5fx5iytp
2012-09-05 17:19:50 +02:00
Thibault Delavallée
21f17ba8a5
[CLEAN] mail_mail: misc clean of comments and commented lines; also renamed message as mail in send, to have a more accurate variable name.
...
bzr revid: tde@openerp.com-20120831093139-9o8ui5h912rx9i13
2012-08-31 11:31:39 +02:00
Olivier Dony
9aabe91bbf
[FIX] email_template: wip - trying to make templates work again
...
bzr revid: odo@openerp.com-20120830174452-59q43k1x13at4i37
2012-08-30 19:44:52 +02:00
Thibault Delavallée
bec83eef6f
[REF] mail_mail: body_html is back, holding the body of emails to send.
...
Body of send emails is mail_mail.body_html, not body anymore.
Signature adding is back to mail_followers.notify().
Subject adding is still done just before sending.
Updated mail_mail view. mail.compose.message: body_text inside <pre>.
[TESTS] mail: added tests for message_post, updated tests for mail.message.compose to test the composer only.
bzr revid: tde@openerp.com-20120830085116-o5h13yqodt0vof0k
2012-08-30 10:51:16 +02:00
Thibault Delavallée
9b6379462b
[REF] mail_mail: cool and clean refactoring of the models.
...
Removed body_html and content_subtype fields. We now entirely
rely on the body field, that holds sanitized HTML.
Added a user_signature field from email_template. mail_mail.send()
is now responsible of adding the signature on emails.
mail_notification.notify() sets the user_signature flag on
emails send for notifciations.
mail_mail.send() is responsible of adding a default subject
on emails send if there is no subject on the mail.message,
and res_id and model are set.
purchase_requisition: removed an override of mail.message
schedule_with_attach.
bzr revid: tde@openerp.com-20120829150002-v8t581oesnw0rhvl
2012-08-29 17:00:02 +02:00
Olivier Dony
b19d73525d
[IMP] mail: implement parent message resolution when parsing incoming message + cleanup lint
...
bzr revid: odo@openerp.com-20120828173901-8y9y16crvii8d2qg
2012-08-28 19:39:01 +02:00
Thibault Delavallée
6e3ea98e48
[IMP] mail_mail: re-instaured body_alternative, using html2plaintext of tools. Removed some dead imports.
...
bzr revid: tde@openerp.com-20120824160936-n3fehtgf4f2k0dkn
2012-08-24 18:09:36 +02:00