Commit Graph

1226 Commits (d76c57377944103eb4421c9f8faedf08d2d5ad6c)

Author SHA1 Message Date
Sylvain LE GAL 6a5feb5d7e [MOVE] openupgrade_records : move module from OCA/OpenUpgrade (branch 13.0) to OCA/server-tools
Based on commit 746b7acbd90d62f9ffe6ee17472a1a3533e36597 (Fri Nov 6 17:18:47 2020 +0100)

Co-authored-by: Stefan Rijnhart <stefan@opener.am>
2024-05-23 10:03:49 +02:00
JasminSForgeFlow b5b05fd799 [MIG] base_sparse_field_list_support: Migration to 17.0 2024-05-22 10:31:31 +05:30
JasminSForgeFlow 78ba63be7d [IMP] base_sparse_field_list_support: black, isort, prettier 2024-05-22 10:14:52 +05:30
mymage 4b7bcd9092 Added translation using Weblate (Italian) 2024-05-22 10:14:36 +05:30
OCA-git-bot 0d1875649f [UPD] README.rst 2024-05-22 10:14:36 +05:30
OCA-git-bot 9b174ab55f [UPD] README.rst 2024-05-22 10:14:36 +05:30
oca-ci 00c2818ba3 [UPD] Update base_sparse_field_list_support.pot 2024-05-22 10:14:36 +05:30
hda c957c5ffb8 [MIG] base_sparse_field_list_support: Migration to 16.0 2024-05-22 10:14:36 +05:30
Héctor Villarreal Ortega abb32aa8ca [MIG] base_sparse_field_list_support: Migration to 15.0 2024-05-22 10:14:36 +05:30
OCA-git-bot 3831c96b1d [ADD] icon.png 2024-05-22 10:14:36 +05:30
OCA-git-bot ee16ba96f1 [UPD] README.rst 2024-05-22 10:14:36 +05:30
oca-travis 5c9c1351bf [UPD] Update base_sparse_field_list_support.pot 2024-05-22 10:14:36 +05:30
Sébastien BEAU 26cf0e1a87 [MIG] migrate to version 14 2024-05-22 10:14:36 +05:30
shopinvader-git-bot 345d94fbb8 base_sparse_field_list_support 13.0.1.0.1 2024-05-22 10:14:36 +05:30
Laurent Mignon (ACSONE) c410221a8a [FIX] base_sparse_field_list_support: Value into the cache is string no more the object 2024-05-22 10:14:36 +05:30
Laurent-Corron ce737b3e59 [MIG] base_sparse_field_support: Migration to 13.0 2024-05-22 10:14:36 +05:30
Laurent Mignon (ACSONE) a02182ef32 [MIG] 13.0 branch creation 2024-05-22 10:14:36 +05:30
Sébastien BEAU 889e0eb938 [FIX] fix for None value 2024-05-22 10:14:36 +05:30
Sébastien BEAU b327ddbc56 [FIX] if the json value is [] it return {} instead 2024-05-22 10:14:36 +05:30
Denis Roussel c056d3a258 [12.0][MIG] base_sparse_field_list_support 2024-05-22 10:14:36 +05:30
Denis Roussel 541b678f8f [12.0] Init repository 2024-05-22 10:14:36 +05:30
Laurent Mignon (ACSONE) ab4f328efa [IMP] Add pre-commit hook and reformat code thanks to black 2024-05-22 10:14:36 +05:30
beau sebastien b99d85aead [ADD] restore travis configuration (#112)
* [ADD] restore travis configuration

* [PEP] fix pep8

* [REF] exclude  product_categ_available_pos of testing due to issue https://github.com/odoo/odoo/pull/23749

* [PEP] fix pep8
2024-05-22 10:14:36 +05:30
David Beal 4ce8c91c95 Update __manifest__.py 2024-05-22 10:14:36 +05:30
Laurent Mignon (ACSONE) a5a10a59cd [ADD] setup.py 2024-05-22 10:14:36 +05:30
David Beal efb2f59e5d REName base_sparse_field to base_sparse_field_list_support with only monkey patch 2024-05-22 10:14:36 +05:30
OCA-git-bot 33d7a8ea23 [BOT] post-merge updates 2024-05-14 14:06:51 +00:00
oca-ci b02a88fd2e [UPD] Update sentry.pot 2024-05-14 14:04:22 +00:00
OCA-git-bot 9bdb059894 Merge PR #2818 into 17.0
Signed-off-by thomaspaulb
2024-05-14 14:01:58 +00:00
OCA-git-bot b36099a952 [BOT] post-merge updates 2024-05-14 09:42:00 +00:00
oca-ci c9ac8231a2 [UPD] Update iap_alternative_provider.pot 2024-05-14 09:39:25 +00:00
OCA-git-bot d3e35ad0bc Merge PR #2914 into 17.0
Signed-off-by gurneyalex
2024-05-14 09:37:09 +00:00
Luka Zorko 06719ba4d5 [MIG] iap_alternative_provider: Migration to 17.0 2024-05-14 08:35:49 +02:00
Atte Isopuro 4ed27506e5 [IMP] Add tests to increase coverage 2024-05-13 12:26:04 +03:00
Atte Isopuro b4ac462f9e [MIG] sentry: Migration to 17.0 2024-05-13 12:26:04 +03:00
Atte Isopuro 22c7105ffe [IMP] sentry: pre-commit manual fixes 2024-05-13 12:26:04 +03:00
Atte Isopuro c27151c25f [IMP] sentry: pre-commit auto fixes 2024-05-13 12:26:04 +03:00
Atte Isopuro 22657fd65d [IMP] sentry: increase test coverage 2024-05-13 12:22:13 +03:00
Atte Isopuro 20270d0248 [FIX] sentry: respect sentry_logging_level
Before this fix, the Sentry module sent events for WARNING-
level logs, even if sentry_logging_level was registered as
"error" or higher.

The fix itself is minor: setup of the integration mistakenly
set the hardcoded WARNING level to the event handler and the
sentry_logging_level to the breadcrumb handler, when they
should have been the other way around.

The largest part of the diff is a reworking of the tests in
order to properly replicate the issue:

* The test previously emitted a fake log event directly using
  the integration's handler's emit-method, which skipped the
  part of the logic that actually filters based on logging level.
  This has been changed to use a bespoke NoopHandler and dedicated
  Logger, so that the tests can emit "actual logs" and test Sentry
  as accurately as possible.
* The tests were not configured to use a non-default logging level,
  thus making it so that none of them caught the fact we were basically
  hard-coding the setting to WARNING-level.
  The tests now set the logging level to ERROR in order to make sure
  the configuration parameter works when it is non-default.
* Changes to configuration (especially ignored loggers) were leaking
  from one test into others. The tests were directly mutating the
  `odoo.tools.config.options` mapping, without resetting it afterward,
  leaving the changes in place for subsequent tests.
  Introduced a helper method `patch_config` that can be used to patch
  the config object so that the patch is undone at the end of the test.

NOTE: this commit was cherry-picked from d24f3d77a3,
and includes some changes to test code that was not in the original due
to conflicts.
2024-05-13 12:22:13 +03:00
mymage e45b39511a Added translation using Weblate (Italian) 2024-05-13 12:22:13 +03:00
OCA-git-bot 9f2dba4299 [UPD] README.rst 2024-05-13 12:22:13 +03:00
OCA-git-bot 666861335d sentry 16.0.3.0.1 2024-05-13 12:22:13 +03:00
OCA-git-bot b6e456b4a5 [UPD] README.rst 2024-05-13 12:22:13 +03:00
Jon f27ae3d418 [FIX] Prevent capturing ignored exceptions 2024-05-13 12:22:13 +03:00
OCA-git-bot 584be0d429 sentry 16.0.3.0.0 2024-05-13 12:22:13 +03:00
Deivis Laya cef05e13f0 [FIX] sentry: downgrade sentry-sdk to compatible version
Odoo requires urllib3 == 1.26.5
e0feda4629/requirements.txt (L56)

sentry-sdk > 1.9.0 required urllib3 >= 1.26.11
4f1f782fbe/setup.py (L43)

Currently, urllib3 >= 1.26.11 is causing the following error in
response.py:

``` Traceback (most recent call last):
"/home/odoo/.local/lib/python3.8/site-packages/urllib3/response.py",
line 705, in _error_catcher
    yield
  File
"/home/odoo/.local/lib/python3.8/site-packages/urllib3/response.py",
line 830, in _raw_read
    raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
urllib3.exceptions.IncompleteRead: IncompleteRead(1501 bytes read, -827
more expected)
```

On the other hand, sentry 1.9.0 supports urllib3 >= 1.10.0, satisfying
odoo requirements.

This partially reverts
d7ae024951.
That was initially introduced to support newer versions of `sentry_sdk`, but won't be required anymore
due to this downgrade.
2024-05-13 12:22:13 +03:00
OCA-git-bot 061a128eb0 sentry 16.0.2.0.0 2024-05-13 12:22:13 +03:00
Deivis Laya 7374723986 [FIX] sentry: change with_locals to include_local_variables variable
Currently, version 1.17.0 of sentry_sdk is causing the following error:

SentryOption("with_locals", DEFAULT_OPTIONS["with_locals"], None),
KeyError: 'with_locals'.

Where the with_locals key is not found in the dictionary, generating an
error, stopping the installation of the sentry module.

In version 1.17.0 rename 'with_locals'  to 'include_local_variables'
79e33169aa

This commit adjust the  get_sentry_options() method in
https://github.com/Vauxoo/server-tools/blob/16.0/sentry/const.py file, set the new variable.
2024-05-13 12:22:13 +03:00
OCA-git-bot 8c469a22b6 [UPD] README.rst 2024-05-13 12:22:13 +03:00
oca-ci 62773d2243 [UPD] Update sentry.pot 2024-05-13 12:22:13 +03:00