Commit Graph

1067 Commits (c714f7f5d032d2d11b11b788a7fd5a1003922b2c)

Author SHA1 Message Date
OCA-git-bot c714f7f5d0 Merge PR #3113 into 17.0
Signed-off-by pedrobaeza
2024-11-07 12:51:57 +00:00
Víctor Martínez 11546c3dfd [FIX] tracking_manager: Fix test related to ir.actions.act_window
Related to cac20c5f2f

Now it is necessary to have an ir.actions.act_window record
2024-11-07 13:29:13 +01:00
OCA-git-bot ca8152c9ba [BOT] post-merge updates 2024-10-25 07:07:21 +00:00
OCA-git-bot 20a6480e42 Merge PR #3090 into 17.0
Signed-off-by pedrobaeza
2024-10-25 07:03:08 +00:00
Simone Orsi f33c2de3f0
Merge pull request #3046 from xaviedoanhduy/oca-port-base_exception-14.0-to-17.0-0d03a1
[17.0][FW] base_exception: port from 14.0
2024-10-24 17:32:52 +02:00
Holger Brunn 2703e52ca0 [FIX] upgrade_analysis: fix constraint logging
as odoo core was changed in a way that optimized away our logging
2024-10-24 14:51:55 +02:00
OCA-git-bot 62190272da [BOT] post-merge updates 2024-10-24 10:51:06 +00:00
oca-ci 4767676bfd [UPD] Update base_m2m_custom_field.pot 2024-10-24 10:46:41 +00:00
OCA-git-bot 5053622718 Merge PR #3033 into 17.0
Signed-off-by pedrobaeza
2024-10-24 10:42:53 +00:00
trisdoan 603dba8a7b [MIG] base_m2m_custom_field: Migration to 17.0 2024-10-24 17:39:04 +07:00
OCA-git-bot b26d775d2f [BOT] post-merge updates 2024-10-23 07:15:02 +00:00
OCA-git-bot 94d1f2928f Merge PR #3088 into 17.0
Signed-off-by sebalix
2024-10-23 07:10:37 +00:00
Alexandre Fayolle 5d2afc0325 fixup! [FIX] auditlog: registry propagation 2024-10-22 08:53:29 +02:00
Alexandre Fayolle 56d1a1e475 [FIX] auditlog: registry propagation
When a new auditlog rule is added / modified / deleted, all workers
need to be notified of the change. This is done through registry
signaling. The previous code was not using the proper level of signaling
resulting in workers not being aware of the changes and not implementing
the correct auditlog rules, because they had only invalidated their
cache and not reloaded the registry.

We fix this by using the same signaling as implemented in
`base_automation` which sets the the registry_invalidated field of
env.registry to True to cause a full registry reload.
2024-10-22 08:33:56 +02:00
Florent Cayré 6bc276d62a [17.0][FIX] module_analysis: interpret exclude_directories as relative to module's folder
Fixes #3042.
2024-10-11 09:59:38 +02:00
Weblate 9ec5e13880 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-17.0/server-tools-17.0-tracking_manager
Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-tracking_manager/
2024-10-10 07:27:42 +00:00
OCA-git-bot 3a1cfbd9de [BOT] post-merge updates 2024-10-10 07:27:34 +00:00
oca-ci e0aad344e9 [UPD] Update tracking_manager.pot 2024-10-10 07:23:19 +00:00
OCA-git-bot 3a3385a115 Merge PR #3062 into 17.0
Signed-off-by pedrobaeza
2024-10-10 07:19:30 +00:00
Christopher Rogos 36410c75a8 [FIX] tracking_manager: m2m data was tracked as None->None 2024-10-09 14:08:41 +00:00
OCA-git-bot ff178e180e [BOT] post-merge updates 2024-10-09 08:42:19 +00:00
OCA-git-bot 5b1e6aa654 Merge PR #3060 into 17.0
Signed-off-by pedrobaeza
2024-10-09 08:36:03 +00:00
Víctor Martínez 80b4ae5b5a [FIX] tracking_manager: Avoid error when accessing the value of a field that we do not have access
Example use case:
- Install hr_fleet
- Set the employee_ids field of hr.employee as a tracking field
- Modify the user to not have permissions in Fleet
- Modify the name of an employee

TT51160

[FIX] tracking_manager: Test compatibility

Related to b41e7ae2c7

Do not set the child_ids field as tracking in the setup to avoid incorrect data in some cases

TT51160
2024-10-09 10:21:46 +02:00
OCA-git-bot 55636dea76 [BOT] post-merge updates 2024-10-07 10:15:28 +00:00
OCA-git-bot a9f40673e1 Merge PR #3049 into 17.0
Signed-off-by pedrobaeza
2024-10-07 10:11:25 +00:00
mymage 67aa0a3b13 Translated using Weblate (Italian)
Currently translated at 100.0% (51 of 51 strings)

Translation: server-tools-17.0/server-tools-17.0-base_exception
Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-base_exception/it/
2024-10-07 10:06:29 +00:00
Víctor Martínez 8a26a4b0ee [FIX] tracking_manager: Avoid error if no record is linked (example: child_ids of res.partner)
Example use case:
- Define the child_ids field of res.partner as tracking.
- Modify contact Brandon Freeman and leave parent_id empty (Azure Interior)
- No error should be displayed

TT51146
2024-10-07 11:51:24 +02:00
mymage 3a1358b5ef Added translation using Weblate (Italian) 2024-10-04 06:25:34 +00:00
Duy (Đỗ Anh) 39c18eff17 oca-port: blacklist PR(s) 1938, 2744 for base_exception 2024-10-01 17:30:46 +07:00
Ignacio Buioli 704fbef481 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (84 of 84 strings)

Translation: server-tools-17.0/server-tools-17.0-database_cleanup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-database_cleanup/es_AR/
2024-09-19 01:06:26 +00:00
OCA-git-bot 5d11b9b479 [BOT] post-merge updates 2024-09-17 14:10:21 +00:00
oca-ci 633b320e91 [UPD] Update session_db.pot 2024-09-17 14:06:06 +00:00
OCA-git-bot 95ed5f334d Merge PR #2754 into 17.0
Signed-off-by sbidoul
2024-09-17 14:02:18 +00:00
Stéphane Bidoul 93ab4d8b8c [IMP] session_db: remove roadmap
It has been implemented.
2024-09-17 15:51:09 +02:00
Stéphane Bidoul 53586c9bfc [MIG] session_db: from 16.0 to 17.0 2024-09-17 15:51:09 +02:00
Stéphane Bidoul eeda2313bc [IMP] session_db: pre-commit auto fixes 2024-09-17 15:51:09 +02:00
OCA-git-bot c9a8c69417 [UPD] README.rst 2024-09-17 15:51:09 +02:00
OCA-git-bot 8e08a55c3f session_db 16.0.1.0.5 2024-09-17 15:51:09 +02:00
Christoph Fiehe bc2a3830e2 Fixes the issue "PGSessionStore.vacuum() got an unexpected keyword argument 'max_lifetime'" when autovacuum gets executed.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-09-17 15:51:09 +02:00
OCA-git-bot 52b397383c session_db 16.0.1.0.4 2024-09-17 15:51:09 +02:00
Stéphane Bidoul 0349038998 session_db: fix tests for v16 compatibility 2024-09-17 15:51:09 +02:00
Stéphane Bidoul 41264b9b6f session_db: refactor retry handling 2024-09-17 15:51:09 +02:00
Stéphane Bidoul 87ba744c9f session_db: add a few tests 2024-09-17 15:51:09 +02:00
Stéphane Bidoul 6c241ead8b session_db: reconnect if needed
If the connection to the database fails when
retrying a session operation, we end up
with no cursore, which makes subsequent
session operations fail.

We fix this by ensuring we have cursor
before any operations.
2024-09-17 15:51:09 +02:00
OCA-git-bot c7af2bd6df session_db 16.0.1.0.3 2024-09-17 15:51:09 +02:00
Stéphane Bidoul 69868a84eb session_db: improve cursor release 2024-09-17 15:51:09 +02:00
Stéphane Bidoul 71352e0496 session_db: cosmetics 2024-09-17 15:51:09 +02:00
Stéphane Bidoul 182d44f26c session_db: gevent and thread support
There were concurrency issues in evented mode.
So while I was at it, I added support for threaded mode too.
2024-09-17 15:51:09 +02:00
OCA-git-bot 894613b612 session_db 16.0.1.0.2 2024-09-17 15:51:09 +02:00
Stéphane Bidoul d49c69102f session_db: improve resiliency to database errors
Retry on OperationalError exception, which we receive on database restart.
Return cursor to pool when reconnecting.
2024-09-17 15:51:09 +02:00