diff --git a/README.md b/README.md index 2547e9864a9..744c6a56d6f 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ addon | version | maintainers | summary [database_size](database_size/) | 18.0.1.0.2 | | Database Size [dbfilter_from_header](dbfilter_from_header/) | 18.0.1.0.0 | | Filter databases with HTTP headers [excel_import_export](excel_import_export/) | 18.0.1.0.0 | kittiu | Base module for developing Excel import/export/report -[fetchmail_attach_from_folder](fetchmail_attach_from_folder/) | 18.0.1.1.0 | NL66278 | Attach mails in an IMAP folder to existing objects +[fetchmail_attach_from_folder](fetchmail_attach_from_folder/) | 18.0.1.2.0 | NL66278 | Attach mails in an IMAP folder to existing objects [fetchmail_notify_error_to_sender](fetchmail_notify_error_to_sender/) | 18.0.1.0.0 | | If fetching mails gives error, send an email to sender [html_text](html_text/) | 18.0.1.0.0 | | Generate excerpts from any HTML field [iap_alternative_provider](iap_alternative_provider/) | 18.0.1.0.0 | sebastienbeau | Base module for providing alternative provider for iap apps @@ -63,7 +63,7 @@ addon | version | maintainers | summary [onchange_helper](onchange_helper/) | 18.0.1.0.1 | | Technical module that ease execution of onchange in Python code [rpc_helper](rpc_helper/) | 18.0.1.0.1 | simahawk | Helpers for disabling RPC calls [scheduler_error_mailer](scheduler_error_mailer/) | 18.0.1.0.0 | | Scheduler Error Mailer -[sentry](sentry/) | 18.0.1.0.3 | barsi naglis versada moylop260 fernandahf | Report Odoo errors to Sentry +[sentry](sentry/) | 18.0.1.0.4 | barsi naglis versada moylop260 fernandahf | Report Odoo errors to Sentry [sequence_python](sequence_python/) | 18.0.1.0.0 | | Calculate a sequence number from a Python expression [session_db](session_db/) | 18.0.1.0.1 | sbidoul | Store sessions in DB [test_auditlog](test_auditlog/) | 18.0.1.0.3 | | Additional unit tests for Audit Log based on accounting models diff --git a/fetchmail_attach_from_folder/README.rst b/fetchmail_attach_from_folder/README.rst index efecb7f4e02..dbf8d571a9a 100644 --- a/fetchmail_attach_from_folder/README.rst +++ b/fetchmail_attach_from_folder/README.rst @@ -11,7 +11,7 @@ Email gateway - folders !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:ab65e43855bfb568a640043322dc68354fa2d392958a160fb7b4b14d4c5ed9c0 + !! source digest: sha256:4af6875cf9d000c6b3091a6c84d7a730fd5065af44b37fa453267dc90f08507c !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/fetchmail_attach_from_folder/__manifest__.py b/fetchmail_attach_from_folder/__manifest__.py index 0a786bb1cc6..33fb4f685c9 100644 --- a/fetchmail_attach_from_folder/__manifest__.py +++ b/fetchmail_attach_from_folder/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Email gateway - folders", "summary": "Attach mails in an IMAP folder to existing objects", - "version": "18.0.1.1.0", + "version": "18.0.1.2.0", "author": "Therp BV,Odoo Community Association (OCA)", "maintainers": ["NL66278"], "website": "https://github.com/OCA/server-tools", diff --git a/fetchmail_attach_from_folder/models/fetchmail_server.py b/fetchmail_attach_from_folder/models/fetchmail_server.py index a42f8c35644..cc43ba6a6cd 100644 --- a/fetchmail_attach_from_folder/models/fetchmail_server.py +++ b/fetchmail_attach_from_folder/models/fetchmail_server.py @@ -71,10 +71,10 @@ def onchange_server_type(self): self.state = "draft" return result - def fetch_mail(self): + def fetch_mail(self, **kwargs): result = True for this in self: if not this.folders_only: - result = result and super(FetchmailServer, this).fetch_mail() + result = result and super(FetchmailServer, this).fetch_mail(**kwargs) this.folder_ids.fetch_mail() return result diff --git a/fetchmail_attach_from_folder/static/description/index.html b/fetchmail_attach_from_folder/static/description/index.html index 5066fe23a49..8efa87dedd2 100644 --- a/fetchmail_attach_from_folder/static/description/index.html +++ b/fetchmail_attach_from_folder/static/description/index.html @@ -372,7 +372,7 @@

Email gateway - folders

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:ab65e43855bfb568a640043322dc68354fa2d392958a160fb7b4b14d4c5ed9c0 +!! source digest: sha256:4af6875cf9d000c6b3091a6c84d7a730fd5065af44b37fa453267dc90f08507c !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runboat

Adds the possibility to attach emails from a certain IMAP folder to diff --git a/sentry/README.rst b/sentry/README.rst index 8e3f1597bcd..70beb0a0412 100644 --- a/sentry/README.rst +++ b/sentry/README.rst @@ -11,7 +11,7 @@ Sentry !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:e2f1d0bc83bf031b61df768de9c2f6d4f1feb303facf171a8d1889fc6a2635ca + !! source digest: sha256:ef40ec303dcfbdd5896a74fc2e057e8ecbf3301ecef86fbd94821b1cd2e46c8b !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -70,7 +70,7 @@ arguments `__ can be configured by prepending the argument name with *sentry\_* in your Odoo config file. Currently supported additional client arguments are: -``with_locals, max_breadcrumbs, release, environment, server_name, shutdown_timeout, in_app_include, in_app_exclude, default_integrations, dist, sample_rate, send_default_pii, http_proxy, https_proxy, request_bodies, debug, attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate, auto_enabling_integrations``. +``with_locals, max_breadcrumbs, release, environment, server_name, shutdown_timeout, in_app_include, in_app_exclude, default_integrations, dist, sample_rate, send_default_pii, http_proxy, https_proxy, request_bodies, debug, attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate, auto_enabling_integrations, max_value_length``. Example Odoo configuration -------------------------- diff --git a/sentry/__manifest__.py b/sentry/__manifest__.py index 7f950bc3f0e..941bbba7ddc 100644 --- a/sentry/__manifest__.py +++ b/sentry/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Sentry", "summary": "Report Odoo errors to Sentry", - "version": "18.0.1.0.3", + "version": "18.0.1.0.4", "category": "Extra Tools", "website": "https://github.com/OCA/server-tools", "author": "Mohammed Barsi," diff --git a/sentry/const.py b/sentry/const.py index f0205a6f0bc..a6a416d6acf 100644 --- a/sentry/const.py +++ b/sentry/const.py @@ -112,6 +112,9 @@ def get_sentry_options(): SentryOption( "max_request_body_size", DEFAULT_OPTIONS["max_request_body_size"], None ), + SentryOption( + "max_value_length", DEFAULT_OPTIONS["max_value_length"], to_int_if_defined + ), SentryOption("attach_stacktrace", DEFAULT_OPTIONS["attach_stacktrace"], None), SentryOption("ca_certs", DEFAULT_OPTIONS["ca_certs"], None), SentryOption("propagate_traces", DEFAULT_OPTIONS["propagate_traces"], None), diff --git a/sentry/readme/CONFIGURE.md b/sentry/readme/CONFIGURE.md index 92ee130add5..a0cd3f1cc38 100644 --- a/sentry/readme/CONFIGURE.md +++ b/sentry/readme/CONFIGURE.md @@ -7,7 +7,7 @@ Other [client arguments](https://docs.sentry.io/platforms/python/configuration/) can be configured by prepending the argument name with *sentry\_* in your Odoo config file. Currently supported additional client arguments are: -`with_locals, max_breadcrumbs, release, environment, server_name, shutdown_timeout, in_app_include, in_app_exclude, default_integrations, dist, sample_rate, send_default_pii, http_proxy, https_proxy, request_bodies, debug, attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate, auto_enabling_integrations`. +`with_locals, max_breadcrumbs, release, environment, server_name, shutdown_timeout, in_app_include, in_app_exclude, default_integrations, dist, sample_rate, send_default_pii, http_proxy, https_proxy, request_bodies, debug, attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate, auto_enabling_integrations, max_value_length`. ## Example Odoo configuration diff --git a/sentry/static/description/index.html b/sentry/static/description/index.html index 42117a52a2d..9cc774b37c7 100644 --- a/sentry/static/description/index.html +++ b/sentry/static/description/index.html @@ -372,7 +372,7 @@

Sentry

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:e2f1d0bc83bf031b61df768de9c2f6d4f1feb303facf171a8d1889fc6a2635ca +!! source digest: sha256:ef40ec303dcfbdd5896a74fc2e057e8ecbf3301ecef86fbd94821b1cd2e46c8b !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runboat

This module allows painless Sentry integration @@ -421,7 +421,7 @@

Configuration

can be configured by prepending the argument name with sentry_ in your Odoo config file. Currently supported additional client arguments are: -with_locals, max_breadcrumbs, release, environment, server_name, shutdown_timeout, in_app_include, in_app_exclude, default_integrations, dist, sample_rate, send_default_pii, http_proxy, https_proxy, request_bodies, debug, attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate, auto_enabling_integrations.

+with_locals, max_breadcrumbs, release, environment, server_name, shutdown_timeout, in_app_include, in_app_exclude, default_integrations, dist, sample_rate, send_default_pii, http_proxy, https_proxy, request_bodies, debug, attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate, auto_enabling_integrations, max_value_length.

Example Odoo configuration

Below is an example of Odoo configuration file with Odoo Sentry