Commit Graph

1231 Commits (338a4780560d8e608495b884c04676ad07f7a02c)

Author SHA1 Message Date
Sylvain LE GAL 6ececf6678 [REF] rename framework files, adapt to new module names, remove print (replaced by logger), apply pre-commit rules 2024-05-23 10:03:49 +02:00
Sylvain LE GAL 1f6e8ded07 [MOVE] Port patches and framework from openupgrade project
Co-authored-by: Stefan Rijnhart <stefan@opener.am>
2024-05-23 10:03:49 +02:00
Sylvain LE GAL dd66ff4788 [IMP] upgrade_analysis: improve install wizard to have the possibility to select some modules, and improve filters, regarding test module with startswith and endswith pattern 2024-05-23 10:03:49 +02:00
Sylvain LE GAL f29ff2daa7 [REF] rename files, apply OCA convention, remove obsolete 6.1 syntax, make the module installable, add readme folders 2024-05-23 10:03:49 +02:00
Sylvain LE GAL ed44832568 [REF] rename module openupgrade_records into upgrade_analysis 2024-05-23 10:03:49 +02:00
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