Olivier Dony a03dfefda9 [FIX] ir.attachment: less non-transactional side-effects during deletion
When deleting filesystem-backed attachements, the
deletion on the file-system is not transactional.
In the event of a transaction rollback, the file
deletion would not be rolled back, which is a
dangerous side-effect.

This can happen for example when several transactions
try to delete the same file(s) at the same time.
The duplicate deletions might be detected by the
database (being concurrent update errors), and rolled
back at the point of the DELETE query, to be retried.
If the files have already been deleted in the file
system it before the rollback, it leaves the system
in an inconsistent state, at least temporarily.

One case where we have seen it is when web bundles
are loaded by many web users at the same time, right
after being updated (and thus invalidated).
As they are currently cached as ir.attachment records,
this often causes a corruption of the cache.
2014-09-08 16:52:42 +02:00
2014-09-04 16:27:58 +02:00
2014-09-04 16:27:58 +02:00
2014-06-24 09:44:11 +02:00
2014-05-15 10:43:02 +02:00
2014-06-30 11:22:22 +02:00
2014-08-12 09:18:44 +02:00

Build Status

Odoo

Odoo is a suite of web based open source business apps.

It's main apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ... Each application is standalone but you get a full featured Open Source ERP if you install several apps as they integrate to each others.

Getting started with Odoo development

If you are a developer type the following command at your terminal:

wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python

Then follow the developer tutorial

Packages, tarballs and installers

  • Debian packages

    Add this apt repository to your /etc/apt/sources.list file

      deb http://nightly.openerp.com/8.0/nightly/deb/ ./
    

    Then type:

      $ sudo apt-get update
      $ sudo apt-get install odoo
    
  • Source tarballs

  • Windows installer

  • RPM package

For Odoo employees

To add the odoo-dev remote use this command:

$ ./odoo.py setup_git_dev

To fetch odoo merge pull requests refs use this command:

$ ./odoo.py setup_git_review
S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%