Commit Graph

88 Commits

Author SHA1 Message Date
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 9389b44c1d Replace Activity to cls (ElectronicMail) class
From changeset c13d252
2023-09-26 12:34:05 +02:00
Raimon Esteve 4fbf0d417f Replace cls to Activity class
From changeset c13d252
2023-09-26 12:33:57 +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
Raimon Esteve a052a6a1b6 Increase version number 2023-05-10 17:23:43 +02:00
Albert Cervera i Areny 269e85819a Adapt to new mail_file binary file. 2023-03-20 16:46:41 +01:00
Raimon Esteve aeb1b998b3 Increase version number 2022-08-17 14:14:58 +02: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
Jared Esparza f67b2d80f8 Replace test setuptools command by unittest discover 2022-04-26 13:26:33 +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
Raimon Esteve 9af96fbbbd Increase version number 2021-06-01 10:01:55 +02:00
Raimon Esteve ffae356f60 Increase version number 2021-04-30 13:20:27 +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 57cf1b178e Use inside buttons group to define view position. 2021-03-28 17:15:00 +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 409d7a62a7 Locales 2021-02-08 12:51:35 +01:00
Raimon Esteve 08e959e63e Send email by queue
#035809
2021-02-02 10:46:45 +01:00
Àngel Àlvarez 94d48d4a59 Modify tox and add Jenkisfile 2020-04-11 18:11:21 +02:00
?ngel ?lvarez d77adf786a increase version 2019-11-14 11:01:43 +01:00
?ngel ?lvarez 407d20e1ef increase version 2019-11-14 10:56:43 +01:00
Juanjo Garcia 34236b186b Code refactoring. 2019-10-02 15:16:26 +02: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 e3f01f1911 Use material design icons. 2019-09-05 13:33:27 +02:00
Juanjo Garcia 1ba5a51a09 Use grouped attribute on message.xml 2019-09-04 12:13:32 +02:00
Juanjo Garcia dfb1b2e2d8 Replace msg_from_string with message_from_bytes. 2019-05-23 12:14:43 +02:00
?ngel ?lvarez 2f235f167d increase version 2019-05-06 23:27:28 +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
?ngel ?lvarez 6e74c9cfd5 register buttons 2018-06-25 13:42:25 +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
Raimon Esteve 325e213152 Remove new entry line in tryton.cfg 2018-05-10 13:20:27 +02:00
Raimon Esteve 25fcc6c913 FIX CHANGELOG version 2018-05-02 16:56:39 +02:00
Raimon Esteve 3682f5ca39 FIX version number 2018-05-02 15:56:34 +02:00
?ngel ?lvarez 25138fc7d0 increase version 2018-04-25 10:38:38 +02:00
?ngel ?lvarez 0305e60c3a rename locales 2018-02-27 12:00:06 +01:00