Go to file
Olivier Dony 8974e928fa [FIX] fields: do not revalidate field values unless they are being modified
In the previous implementation of the new API fields,
both fields.Selection and fields.Reference were performing
early validation of their `value` as soon as it entered
the cache, either by being read, written, or computed.
This is a source of trouble and performance problems,
and is unnecessary, as we should consider that the database
always contains valid values. If that is not the case it
means it was modified externally and is an exception that
should be handled externally as well.

Revalidating selection/reference values can be expensive
when the domain of values is dynamic and requires extra
database queries, with extra access rights control, etc.

This patch adds a `validate` parameter to `convert_to_cache`,
allowing to turn off the re-validation on demand. The ORM
will turn off validation whenever the value being converted
is supposed to be already validated, such as when reading it
from the database.
The parameter is currently ignored by all other fields,
and defaults to True so validation is performed in all other
caes.
2014-07-23 12:30:24 +02:00
addons [FIX] account: Bank Statement reconcilation with different currency 2014-07-23 11:19:41 +02:00
debian Added required python-pypdf package 2014-07-02 18:10:48 +02:00
doc [REF] OpenERP --> Odoo in various UI texts 2014-07-18 13:45:41 +02:00
openerp [FIX] fields: do not revalidate field values unless they are being modified 2014-07-23 12:30:24 +02:00
setup [FIX] setup missing file for windows nsi 2014-06-23 13:20:19 +02:00
.gitignore [MERGE] forward port of branch saas-3 up to 7dd6954 2014-06-03 19:14:22 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2014-06-24 09:44:11 +02:00
LICENSE cleanup repo root 2014-05-15 10:43:02 +02:00
MANIFEST.in [FIX] move back setup to root 2014-06-23 12:50:57 +02:00
README.md [FIX] README: update build badge for 8.0 2014-07-15 13:23:37 +02:00
odoo.py [FIX] odoo.py dont force push simple 2014-06-30 11:22:22 +02:00
openerp-gevent restore the original gevent detection 2013-09-10 01:19:46 +02:00
openerp-server openerp apps main moved to cli ready for new commands 2012-11-27 01:55:13 +01:00
openerp-wsgi.py [FIX] wsgi deployement with openerp-wsgi.py 2014-03-07 21:00:55 +01:00
setup.cfg [FIX] move back setup to root 2014-06-23 12:50:57 +02:00
setup.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00

README.md

Build Status

Odoo

Odoo is a suite of web based open source business apps. More info at http://www.odoo.com

The easiest way to play with it is the Odoo free trial, email registration is NOT required, use the "skip this step" link on the registration page to skip it.

Getting started with Odoo development

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

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

Then follow the developer tutorial

[1] You may want to check the content of the odoo.py file before executing it.

Packages, tarballs and installers

  • Debian packages

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

      deb http://nightly.openerp.com/8.0/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