Commit Graph

1713 Commits (626fe54fe43c3cc4df249bfec4363a6ebe133bcb)

Author SHA1 Message Date
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
OCA-git-bot 35b8dbe8c3 session_db 16.0.1.0.1 2024-09-17 15:51:09 +02:00
OCA-git-bot c898568219 [ADD] icon.png 2024-09-17 15:51:09 +02:00
OCA-git-bot 74fba614bc [UPD] README.rst 2024-09-17 15:51:09 +02:00
oca-ci 3a754051f7 [UPD] Update session_db.pot 2024-09-17 15:51:09 +02:00
Stéphane Bidoul 5486d86dc6 session_db: explain why such as module is useful 2024-09-17 15:51:09 +02:00
Stéphane Bidoul 249f4888a5 session_db: declare maintainer 2024-09-17 15:51:09 +02:00
Stéphane Bidoul 5109801f80 session_db: do not update write_date on get
The upstream FilesystemSessionStore does not do that.
2024-09-17 15:51:09 +02:00
Stéphane Bidoul 87be2eca29 session_db: use SESSION_LIFETIME constant 2024-09-17 15:51:09 +02:00
Stéphane Bidoul c53859a3c3 [MIG] session_db to 16.0 2024-09-17 15:51:09 +02:00
Nicolas Seinlet 4a8dea0cf0 session_db : store sessions in a database rather than in filestore 2024-09-17 15:51:09 +02:00
trisdoan 0a2a1b4f7d [IMP] base_m2m_custom_field: apply pre-commit auto fixes 2024-09-17 17:25:42 +07:00
OCA-git-bot 27bce7f341 [UPD] README.rst 2024-09-17 17:25:42 +07:00
OCA-git-bot 0b94744054 base_m2m_custom_field 14.0.1.1.0 2024-09-17 17:25:42 +07:00
OCA-git-bot 8ce9e06cb6 [UPD] README.rst 2024-09-17 17:25:42 +07:00