Repository
OCA/server-tools · module folder · Try on Runboat
Module version
1.1.0
Category
Specific Module
Folder size
0.15 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://camptocamp.com
Last tracking update
2026-08-07 07:03:09
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Stéphane Bidoul, Holger Brunn, Pedro M. Baeza, GitHub, Stéphane Bidoul (ACSONE), Weblate, OCA Transbot, Charbel Jacquin, OCA-git-bot, oca-travis
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None
Description
Module to regroup all workarounds/fixes to avoid concurrency issues in SQL.

* res.users login_date:

  the login date is now separated from res.users; on long transactions,
  "re-logging" by opening a new tab changes the current res.user row,
  which creates concurrency issues with PostgreSQL in the first transaction.

This creates a new table and a function field to avoid this. In order to
avoid breaking modules which access via SQL the login_date column, a cron
(inactive by default) can be used to sync data.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • cron_sync_login_date(self, cr, uid, context=None)

Loading…