Commit Graph
27 Commits
Author SHA1 Message Date
Cédric Krier b7c8981540 Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:17 +02:00
Sergi Almacellas Abellana 5f0f38ea00 Add test using id as recipient
issue11033
review383751002
2022-02-18 13:18:06 +01:00
Cédric Krier 5afcb37a3b Use custom class to avoid mro inconsistency 2021-12-13 00:55:21 +01:00
Cédric Krier 4dbeb62df9 Allow to import tests without test depends 2021-12-13 00:40:43 +01:00
Cédric Krier 9835bd549d Follow isort formatting
issue10928
2021-12-11 17:58:42 +01:00
Cédric Krier 2d611eae94 Add delay to sending email
issue10919
review381321002
2021-11-24 01:06:26 +01:00
Cédric Krier b6c3b3f0ae Do not set record name on title of report get_email
issue10724
review362511002
2021-09-23 10:10:51 +02:00
Cédric Krier cd28a165f6 Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
2021-04-10 23:46:23 +02:00
Cédric Krier 625622c9a8 Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier fe3f0ebdb4 Update tests for new report name scheme
issue9509
2020-09-24 18:28:44 +02:00
Sergi Almacellas Abellana 17c7f65388 Add test for email notification with no recipients
issue9485
review303961002
2020-07-27 16:16:33 +02:00
Sergi Almacellas Abellana fbde26b3c1 Add optional subject to notifications
issue9321
review290011002
2020-07-04 20:07:54 +02:00
Cédric Krier d3c2d86010 Simplify trigger action
We use now a selection field to choose the action to trigger.
It is safer and more user friendly.

issue9096
review272961003
2020-03-28 23:56:19 +01:00
Cédric Krier 0370160c89 Run trigger in the queue
This ensures that internal changes that are reverted later in the same
transaction does not trigger an action.
Also we ensure that a record is triggered by the same trigger only
once per transaction.

issue8342
review280971002
2020-03-28 17:13:12 +01:00
Cédric Krier 3e4bac334d Use string when setting config option in tests
Since issue8840, ConfigParser is used and enforces to set only string values.
2019-11-22 00:24:49 +01:00
Cédric Krier 336974e90f Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:48 +02:00
Nicolas Évrard edf9f9b2bf Add fallback users for the recipients
issue7029
review39051002
2018-03-10 17:37:01 +01:00
Cédric Krier a785861eab Use mimetype guessed from report name for attachment
issue6930
review41681002
2017-11-18 12:24:58 +01:00
Cédric Krier 2c85e5c166 Use language instance instead of code for get_email 2017-08-28 23:53:27 +02:00
Sergi Almacellas Abellana f5f0d5e34a Use txt extension instead of plain
issue6676
review43351002
2017-08-24 15:43:46 +02:00
Cédric Krier c7d693db21 Fix attachment test for Python 3 2017-08-02 23:44:00 +02:00
Cédric Krier c052cbf1e6 Rename notification.log into notification.email.log
issue6667
review40561002
2017-08-02 22:56:57 +02:00
Cédric Krier 2d7090df28 Add attachments to email
issue6675
review40581002
2017-08-02 22:53:56 +02:00
Cédric Krier 65e9641271 Add Auto-Submitted header
Recommended by RFC 3834.

issue6673
review35211002
2017-08-02 22:52:12 +02:00
Cédric Krier 7da87d513d Add From to email header
issue6632
review40511002
2017-07-12 20:02:18 +02:00
Cédric Krier ee38354856 Skip test for versions affected by bug #25195
issue6594
review35481002
2017-06-27 12:41:22 +02:00
Cédric Krier af9651c90c Initial commit
issue5835
review26611002
2017-06-24 10:51:20 +02:00