diff --git a/README.md b/README.md
index c34eefafb32..744c6a56d6f 100644
--- a/README.md
+++ b/README.md
@@ -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 |
| 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 |
| Report Odoo errors to Sentry
+[sentry](sentry/) | 18.0.1.0.4 |
| 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 |
| 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/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
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

This module allows painless Sentry integration
@@ -421,7 +421,7 @@
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.
Below is an example of Odoo configuration file with Odoo Sentry