Go to file
Raphael Collet 36174fcc6e [IMP] fields: set the default value to the closest field.default or _defaults
This solves a subtle issue: in the following case, the class Bar should
override the default value set by Foo.  But in practice it was not working,
because _defaults is looked up before field.default.

    class Foo(models.Model):
        _name = 'foo'
        _columns = {
            'foo': fields.char('Foo'),
        }
        _defaults = {
            'foo': "Foo",
        }

    class Bar(models.Model):
        _inherit = 'foo'
        foo = fields.Char(default="Bar")

The change makes field.default and the model's _defaults consistent with each
other.
2014-10-09 09:18:02 +02:00
addons [I18N] Update translations from Launchpad 8.0 branches 2014-10-08 17:52:25 +02:00
debian [FIX] Package: Debian, Windows: more odooification; Debian: correct Packages.gz 2014-09-18 00:17:32 +02:00
doc [ADD] actions documentation 2014-10-08 17:29:35 +02:00
openerp [IMP] fields: set the default value to the closest field.default or _defaults 2014-10-09 09:18:02 +02:00
setup [FIX] package: last fedora epel repo 2014-09-29 11:54:30 +02:00
.gitignore [MERGE] forward port of branch saas-3 up to 7dd6954 2014-06-03 19:14:22 +02:00
CONTRIBUTING.md [ADD] contribution files and image removed at 2ad092b 2014-10-02 12:05:32 +02:00
LICENSE cleanup repo root 2014-05-15 10:43:02 +02:00
MANIFEST.in [REF] setup: cleanup and linting of setup.py, reworked MANIFEST, added requirements.txt 2014-09-02 14:13:00 +02:00
README.md [FIX] Update README for 8.0 2014-09-23 18:41:42 +02:00
odoo.py [FIX] odoo.py windows compatibility 2014-10-02 16:12:19 +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
requirements.txt [REF] setup: cleanup and linting of setup.py, reworked MANIFEST, added requirements.txt 2014-09-02 14:13:00 +02:00
setup.cfg [FIX] package: last fedora epel repo 2014-09-29 11:54:30 +02:00
setup.py [FIX] packaging: windows: passlib dependency was not correctly set 2014-09-16 12:10:53 +02:00

README.md

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
    

    If you plan to use Odoo with a local database, please make sure to install PostgreSQL before installing the Odoo Debian package.

  • 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