Metadata-Version: 2.1
Name: odoo8-addon-base-concurrency
Version: 8.0.1.1.0.99.dev20
Summary: Base Concurrency
Home-page: http://camptocamp.com
Author: Camptocamp,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: ~=2.7
Requires-Dist: odoo (<9.0a,>=8.0a)


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.


