Bernat Brunet
c50dd002d8
Update last commit when try to control possible concurrencies.
...
The queue need the instance by values.
With the contraints and a control in the iteration mails will be enough.
2023-12-11 12:48:34 +01:00
Bernat Brunet
c115b7b7b8
Control possible concurrency moving the search of the emails to create
...
the activity in side the queued function, to do the search in the moment
is needed.
Add a costraint to only have one mail per activity.
Update translations.
2023-12-07 07:16:09 +01:00
Raimon Esteve
c57d407c5f
Replace active_id from context to self.records in do_open StateAction wizard
...
#162822
2023-10-18 07:58:11 +02:00
Raimon Esteve
4872c8fd88
Move queue to electronic.mail class
...
From changeset c13d252
2023-09-26 12:33:49 +02:00
Raimon Esteve
be869f9419
Create Activities queue require list object at the first parameter
...
From changeset c13d252
2023-09-26 10:01:33 +02:00
Raimon Esteve
f02dfdfdf0
Replace mail mailbox save to write
...
#162174
2023-09-22 13:06:01 +02:00
Albert Cervera i Areny
269e85819a
Adapt to new mail_file binary file.
2023-03-20 16:46:41 +01:00
Juanjo Garcia
5263abad10
In attachment name, renplace special characters like '\n' or '\s'.
...
Task #048600
2022-05-30 13:08:27 +02:00
Raimon Esteve
bf9fac11ba
Add filename in mail_content binary field
...
#051353
2022-05-11 15:59:22 +02:00
Victor Lorente
4d46d81fb8
Add mail_content field
2021-12-02 09:44:49 +01:00
Raimon Esteve
4401086dc5
Set party from resource when previous activity has not party
...
#046983
2021-09-28 12:38:11 +02:00
Albert Cervera i Areny
6030333ace
Do not crash if mail_file is None.
2021-07-12 13:24:53 +02:00
Raimon Esteve
11dbc9e276
Check create_from_mail return
...
#045113
2021-06-23 09:28:02 +02:00
Alberto Rivera
6f3f7d8fec
Fixed activity double save
2021-04-08 12:05:39 +02:00
Alberto Rivera
6d90515a04
Removed \r in activities created by mails
2021-04-07 12:52:00 +02:00
Alberto Rivera
6ac806b13d
Guess resource now tries to guess party too
2021-04-01 12:51:00 +02:00
Alberto Rivera
05c2630be6
Added attachments to created activities from mails
2021-04-01 12:47:47 +02:00
Alberto Rivera
d445f0d0a0
80+ column fix
2021-04-01 12:41:56 +02:00
Alberto Rivera
2b5e4dc73a
Properly convert email description
2021-04-01 12:41:32 +02:00
Albert Cervera i Areny
8be89957f4
Pyflakes fixes.
2021-03-23 15:23:47 +01:00
Alberto Rivera
67b9a58870
Added activity creation via mail and resource guess
2021-03-23 09:50:13 +01:00
Raimon Esteve
08e959e63e
Send email by queue
...
#035809
2021-02-02 10:46:45 +01:00
Juanjo Garcia
1d9cac3612
Delete string at view level and add to ir.model.button.
...
Add icon attribute to cls._buttons on model.
2019-10-02 15:15:58 +02:00
Juanjo Garcia
dfb1b2e2d8
Replace msg_from_string with message_from_bytes.
2019-05-23 12:14:43 +02:00
?ngel ?lvarez
ce6e399927
adapt to ir.message
2019-04-14 08:31:18 +02:00
Albert Cervera i Areny
d8beb61ebc
Migrate to python 3.
2018-08-17 18:35:06 +02:00
Albert Cervera i Areny
d54fd2ddd1
PEP8 fixes.
2018-08-17 18:20:48 +02:00
Bernat Brunet Torruella
451e552123
Adapt code to use the new send_mail function on SMTP server
2018-06-12 23:36:24 +02:00
Bernat Brunet Torruella
d5d3057248
Refact the use of validate_emails, now permit list and singles
2016-02-28 07:56:25 +01:00
NaN?tic
1f5dbc5db9
Fix 2 bugs. When receive a mail without subject. Bad brows field
2015-05-07 23:59:25 +02:00
Bernat Brunet Torruella
26870626a1
Remove main_contact field. Not use more, now use the contacts
2015-03-08 22:34:05 +01:00
Bernat Brunet Torruella
984cdd1d2a
[ #021885 ] Remove submultipart not needed
2015-01-19 21:18:45 +01:00
NaN?tic
955a70bf55
Fix some problems with the 'type' removed field
2014-10-30 09:27:56 +01:00
NaN?tic
341036a7eb
Update the type/direction for the new activity_type field
2014-10-21 22:40:31 +02:00
Bernat Brunet Torruella
817e1c8140
Change some function names for more comprenssive
2014-10-20 14:45:36 +02:00
NaN?tic
2fafac0b95
fix typo, mail->email
2014-10-16 11:59:05 +02:00
NaN?tic
c32d47cd9e
Fix bug when email name have a coma ','
2014-09-16 14:35:28 +02:00
NaN?tic
1f9cabc1ae
Fix bug with a mimetype function call
2014-09-12 10:37:43 +02:00
NaN?tic
b6fe2b1217
Ensure to take the right employee, even when Delivered-To mail field it's not correct.
2014-09-10 07:36:20 +02:00
NaN?tic
b942560964
Fix some bugs whne try to browse fot Nonetype objects
2014-09-09 23:58:10 +02:00
NaN?tic
905a1377f9
Update the 'References' creation
2014-09-08 19:19:15 +02:00
NaN?tic
d1b3c6dc33
Fix bug when creat activity with existen resource.
2014-09-08 14:21:36 +02:00
NaN?tic
9f22fa346d
Forgot to add the bcc in the sendmail
2014-09-08 09:10:30 +02:00
NaN?tic
5446607e7a
Add blind carbon copy when send mail to have all mail conversation in mailserver too
2014-09-08 09:02:53 +02:00
Bernat Brunet Torruella
96d644361f
Add function to tkae the contact mechanism if the mail is in more than one. By the moment we absed in the relationship
2014-09-08 08:35:47 +02:00
Bernat Brunet Torruella
251670510c
Fix some important bug in teh mail mimetype structure creation. And control if the mail/activity exist. And change some call name.
2014-09-07 11:59:07 +02:00
Bernat Brunet Torruella
8341f21db9
Fix bug whn send mails to more than one destinity
2014-09-07 07:30:03 +02:00
NaN?tic
2b3c325122
Change the signature checbox information from activity to user model, with the other SMTP fields
2014-09-07 07:17:39 +02:00
NaN?tic
ec2f20e337
Add cascade delete when remove an activity, remove the mail associated
2014-09-04 09:32:27 +02:00
NaN?tic
6b47bf5e0b
Fix bug creating an activity need the resource fields to be fill with None or something
2014-09-04 09:14:15 +02:00