Raphael Collet 926aa5bcf9 [IMP] fields: when computing a field, do not recompute other stored computed fields
In the process of determining a stored computed field's value, the field could
not be read from the database if the environment was in "draft" mode.  The idea
behind this condition was that during an onchange, no computed field should be
read from the database.  We fix the condition by checking whether we are in
"onchange" mode instead of "draft" mode.

The change may be critical for performance: one of the purposes of storing a
computed field is to avoid recomputing it when not necessary.  Now a computed
field can read the value of a stored computed field from the database.

This issue was spotted by Cédric Snauwaert (csn), who came with a concrete
example were a stored computed field was recomputed without apparent reason.
2015-05-07 11:29:20 +02:00
2015-02-08 23:00:10 +01:00
2015-04-07 22:08:31 +02:00
2014-05-15 10:43:02 +02:00

Build Status Tech Doc Help Nightly Builds

Odoo

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

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

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

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

Then follow the developer tutorials

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%