Commit Graph

1870 Commits (ec5ee38423bbbf14632b6ce7e91a8bce6ca49416)

Author SHA1 Message Date
Holger Brunn ec5ee38423 [FIX] attach mail attachments to matched object in non-OpenERP case 2024-04-25 13:22:21 +02:00
Holger Brunn edc73926ff [IMP] refactored fetch_mail
[IMP] also log when we're done with one folder
2024-04-25 13:22:21 +02:00
Holger Brunn 189799de9b [ADD] msg_state field for folders - set the state of messages fetched
from imap servers
[IMP] clean up the folders' treeview
2024-04-25 13:22:21 +02:00
Holger Brunn f7bbee385c [IMP] autopep8
[IMP] more efficient sorting of algorithms
[IMP] improve readability of help strings
2024-04-25 13:22:21 +02:00
Ronald Portier 7b19bb6d7f [IMP] - convert mailadresses to lowercase to increase change for match
- handle situation that optional mail address componenents not present in mail
      - slight reorganisation of code to aid debugging and made pep8 compliant as well.
2024-04-25 13:22:21 +02:00
Holger Brunn 7f167a7580 [MRG] lp:~therp-nl/therp-addons/fetchmail_attach_from_folder rev 89 2024-04-25 13:22:21 +02:00
Holger Brunn cfe406a223 [ADD] make retrieval configurable per folder; use msgid to exclude
duplicates; don't break existing configurations
2024-04-25 13:22:21 +02:00
OCA-git-bot 38296f3e65 [BOT] post-merge updates 2024-04-23 18:34:39 +00:00
oca-ci 620e8d8383 [UPD] Update datetime_formatter.pot 2024-04-23 18:27:55 +00:00
OCA-git-bot 9ca386037e Merge PR #2918 into 16.0
Signed-off-by pedrobaeza
2024-04-23 18:21:37 +00:00
OCA-git-bot 6bf75b8700 [BOT] post-merge updates 2024-04-23 15:27:13 +00:00
OCA-git-bot c514ac023b Merge PR #2911 into 16.0
Signed-off-by dreispt
2024-04-23 15:20:31 +00:00
OCA-git-bot 8cf9a62b7a [BOT] post-merge updates 2024-04-23 14:53:37 +00:00
oca-ci 67acec5b7a [UPD] Update bus_alt_connection.pot 2024-04-23 14:46:44 +00:00
OCA-git-bot 8b5105153b Merge PR #2829 into 16.0
Signed-off-by dreispt
2024-04-23 14:40:25 +00:00
OCA-git-bot 80a50f6b88 [BOT] post-merge updates 2024-04-23 14:32:32 +00:00
OCA-git-bot e9d6b73e52 Merge PR #2913 into 16.0
Signed-off-by dreispt
2024-04-23 14:26:10 +00:00
Carolina Fernandez 18a2070a23 [MIG] datetime_formatter: Migration to 16.0 2024-04-23 14:24:27 +02:00
Carolina Fernandez 927411502d [IMP] datetime_formatter: pre-commit stuff 2024-04-23 14:24:27 +02:00
tautvydas.banevicius 0c8c4fdbea [IMP] datetime_formatter: black, isort, prettier, pylint, flake8.
Modified exception on method best_match according flake8 warning.
Modified test method test_user with_context(**) according pyling warning.

[UPD] Update datetime_formatter.pot

[UPD] README.rst

Added translation using Weblate (Spanish (Argentina))

Translated using Weblate (Spanish (Argentina))

Currently translated at 100.0% (2 of 2 strings)

Translation: server-tools-15.0/server-tools-15.0-datetime_formatter
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-datetime_formatter/es_AR/

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-15.0/server-tools-15.0-datetime_formatter
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-datetime_formatter/
2024-04-23 14:24:25 +02:00
tautvydas.banevicius 5f80d2cd79 [MIG] datetime_formatter: Bumped version to 15.0 2024-04-23 14:24:25 +02:00
dsolanki 8129abe31b [MIG] Migrate module datetime_formatter to v14.
[UPD] Update datetime_formatter.pot

[UPD] README.rst
2024-04-23 14:24:21 +02:00
Víctor Martínez 6dacaf92fc [MIG] datetime_formatter: Migration to 13.0
[UPD] Update datetime_formatter.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-13.0/server-tools-13.0-datetime_formatter
Translate-URL: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-datetime_formatter/
2024-04-23 14:24:20 +02:00
Víctor Martínez 668819e43c [IMP] datetime_formatter: black, isort, prettier 2024-04-23 14:24:19 +02:00
ernesto a364fbbb0a [MIG] datetime_formatter: Migration to 12.0
[UPD] Update datetime_formatter.pot

[UPD] README.rst

Added translation using Weblate (Portuguese)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (2 of 2 strings)

Translation: server-tools-12.0/server-tools-12.0-datetime_formatter
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-datetime_formatter/pt/

Added translation using Weblate (Chinese (Simplified))

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2 of 2 strings)

Translation: server-tools-12.0/server-tools-12.0-datetime_formatter
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-datetime_formatter/zh_CN/

Translated using Weblate (Croatian)

Currently translated at 100.0% (2 of 2 strings)

Translation: server-tools-12.0/server-tools-12.0-datetime_formatter
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-datetime_formatter/hr/
2024-04-23 14:24:18 +02:00
oleksandrpaziuk 1151c19043 [MIG] datetime_formatter: Migration to 11.0
[UPD] Update datetime_formatter.pot
2024-04-23 14:24:12 +02:00
Jairo Llopis bbb693d5f2 [MIG][10.0][datetime_formatter] Migration
Special highlights:

- Fixed some license headers.
- Adhered to normal addon structure.
- Removed `exceptions.py` and use `UserError` instead.
- Allow submodules to import some constants from main namespace.

The rest is basically a standard migration.

OCA Transbot updated translations from Transifex
2024-04-23 14:24:10 +02:00
cubells b3f8ff6474 datatime_formatter migration to 9.0
OCA Transbot updated translations from Transifex
2024-04-23 14:24:07 +02:00
Jairo Llopis c8f00ef3ab Add module datetime_formatter.
This module allows the developer to format any date/time combination in
the most comfortable way for the user, just with a quick call to
2024-04-23 14:12:52 +02:00
Denis Roussel f458ddcded [IMP] base_exception: Add a hook method / Don't build void exceptions
In order to get exceptions without writing recordset, add a hook method.

Improve exceptions dictionaries building using a defaultdict of a browse
record.
2024-04-19 10:28:31 +02:00
Quentin Dupont dea4a034a7 [16.0][IMP] Update configure for readme 2024-04-18 15:54:56 +02:00
mymage 6fec2167f9 Translated using Weblate (Italian)
Currently translated at 100.0% (88 of 88 strings)

Translation: server-tools-16.0/server-tools-16.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-auditlog/it/
2024-04-17 14:36:40 +00:00
OCA-git-bot df6471c9b1 [BOT] post-merge updates 2024-04-12 06:43:05 +00:00
OCA-git-bot 3de7899cf7 Merge PR #2887 into 16.0
Signed-off-by moylop260
2024-04-12 06:36:25 +00:00
Weblate 5eca495da9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-autovacuum_message_attachment
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-autovacuum_message_attachment/
2024-04-10 07:48:32 +00:00
Weblate 33c2d6de1d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-base_name_search_improved
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_name_search_improved/
2024-04-10 07:48:31 +00:00
OCA-git-bot ac8aadd5c8 [BOT] post-merge updates 2024-04-10 07:48:10 +00:00
oca-ci 3766b3039d [UPD] Update base_name_search_improved.pot 2024-04-10 07:40:21 +00:00
oca-ci f2840fb5f9 [UPD] Update autovacuum_message_attachment.pot 2024-04-10 07:40:18 +00:00
OCA-git-bot e422d99eff Merge PR #2901 into 16.0
Signed-off-by etobella
2024-04-10 07:34:15 +00:00
Hugo Santos eccff82984 [FIX] Tests: Use logging.ERROR instead of warn
Sentry level is error by default and warnings are not captured.
2024-04-10 09:20:19 +02:00
Atte Isopuro 7bcfcd3308 [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.
2024-04-10 09:20:19 +02:00
Atte Isopuro 19643c3242 [IMP] sentry: increase test coverage 2024-04-10 09:20:19 +02:00
OCA-git-bot ed9c1bb12d [BOT] post-merge updates 2024-04-09 19:36:23 +00:00
OCA-git-bot df96c1aa76 Merge PR #2813 into 16.0
Signed-off-by Kev-Roche
2024-04-09 19:29:53 +00:00
OCA-git-bot 114558c34c [BOT] post-merge updates 2024-04-09 19:15:14 +00:00
OCA-git-bot 0a7394239c Merge PR #2897 into 16.0
Signed-off-by legalsylvain
2024-04-09 19:08:31 +00:00
Christopher Rogos 2beff64a14 [IMP] tracking_manager: allow tracking readonly fields 2024-04-09 17:03:03 +00:00
Christopher Rogos b6251a5b9a [IMP] remove python libs included in odoo requirements 2024-04-09 16:52:26 +00:00
Florian da Costa 45258f6a4e [FIX] autovacuum_message_attachment : fix inheriting_model feature 2024-04-09 18:04:12 +02:00