Cédric Krier
b5b65d282b
Use declarative index definition for ModelSQL
...
issue5757
review361251002
2022-10-11 00:44:49 +02:00
Cédric Krier
70f1a48558
Format email addresses with encoding in message header
...
issue11517
review421211005
2022-06-04 00:26:32 +02:00
Cédric Krier
7107e5f08c
Add validate_fields to ModelStorage
...
issue11303
review386191002
2022-04-11 23:24:21 +02:00
Nicolas Évrard
42193945ba
Send only the required fields when fetching a readonly view definition
...
issue11134
review380081002
2022-04-08 19:07:13 +02:00
Cédric Krier
529041d241
Do not set name to the queue by default
...
issue11300
review356081002
2022-03-26 12:28:59 +01:00
Sergi Almacellas Abellana
c342e47a99
Use record as recipient for id fields
...
issue11033
review383751002
2022-02-18 13:17:45 +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
Adrià Tarroja Caubet
852c9d1126
Do not migrate log if it has resource
...
issue10855
review364201002
2021-10-13 18:27:52 +02:00
Cédric Krier
720e5ea764
Add set_from_header in email tools
...
issue10753
review377121002
2021-09-26 23:11:21 +02:00
Cédric Krier
c0fecc8139
Do not migrate log without trigger
...
The notification and resource columns are required so they can not be updated
with NULL value when there is no trigger linked.
issue10622
review369341002
2021-08-12 18:36:32 +02:00
Cédric Krier
452d37f23f
Factorize addresses computation
...
This allows to extend the addresses of a notification.
issue10521
review358281009
2021-07-12 23:12:23 +02:00
Cédric Krier
71a1741d6b
Add language to contact mechanism
...
issue10223
review349611002
2021-04-11 18:37:41 +02:00
Cédric Krier
92f9c8932a
Allow distinct FROM addresses for envelope and header
...
issue9948
review324741004
2021-02-03 23:26:07 +01:00
Cédric Krier
74a262429d
Send client email via server
...
issue9449
review292001002
2020-09-17 17:18:02 +02:00
Cédric Krier
5286e18428
Add resource relate on notification log
...
We store on the log the record as resource but also the notification to get
the email subject.
issue9457
review307901002
2020-08-11 22:00:26 +02:00
Sergi Almacellas Abellana
6708f10eb1
Do not call get_email when no recipients
...
issue9485
review303961002
2020-07-27 16:16:17 +02:00
Sergi Almacellas Abellana
fbde26b3c1
Add optional subject to notifications
...
issue9321
review290011002
2020-07-04 20:07:54 +02:00
David Harper
50078c76a3
Correct spelling of notification
...
issue9267
review307521002
2020-05-08 17:45:42 +02:00
Cédric Krier
81814eea17
Fix flake8 errors and warnings
...
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.
issue9082
review297061002
2020-03-01 12:33:52 +01:00
Sergi Almacellas Abellana
851407c1e4
Add commission agent as a recipient
...
issue9031
review262911002
2020-02-22 15:11:06 +01:00
Cédric Krier
49183d6d21
Order notification logs by creation date descending
2019-11-22 09:36:11 +01:00
Sergi Almacellas Abellana
4e9250a6e4
Use party language for employees notifications
...
issue8693
review250011002
2019-10-03 10:10:20 +02:00
Cédric Krier
acbc522ee0
Allow to delete trigger
...
For that, we add missing on delete CASCADE on log.
issue8383
review261541002
2019-06-12 19:01:13 +02:00
Cédric Krier
f9a7f98a64
Add employee as recipients
...
issue7677
review47691002
2018-10-04 09:08:23 +02:00
Cédric Krier
90603b7878
Fix contact_mechanism_get usage
...
The contact_mechanism_get returns a contact mechanism instance and not the
value. Also the contact mechanism should be used as name if filled.
issue7623
review49531002
2018-08-20 22:41:56 +02:00
Cédric Krier
336974e90f
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:48 +02:00
Cédric Krier
da40c56b92
Call contact_mechanism_get with the party instance
...
contact_mechanism_get is an instance method and not a class method.
issue7498
review47491002
2018-06-11 23:14:22 +02:00
Nicolas Évrard
edf9f9b2bf
Add fallback users for the recipients
...
issue7029
review39051002
2018-03-10 17:37:01 +01:00
Cédric Krier
3d101183a8
Add contact mechanism usage
...
issue7093
review43931002
2018-02-19 19:16:17 +01:00
Cédric Krier
0fd9140181
Do not set hidden recipients in message header
...
issue7041
review39091002
2018-02-04 23:34:31 +01:00
Cédric Krier
330ff6a52f
Encode attachment in base64
...
issue6992
review39931002
2017-12-13 18:08:13 +01:00
Sergi Almacellas Abellana
4cbee8d447
Do not return a generator for each address on multiple recipients
...
issue6991
review37881002
2017-12-11 16:43: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
Cédric Krier
c13814d998
Use get_email from trytond.report
...
issue6671
review40571002
2017-08-28 23:15:47 +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
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
af9651c90c
Initial commit
...
issue5835
review26611002
2017-06-24 10:51:20 +02:00