Go to file
Denis Ledoux 83e8c54637 [FIX] product: import product.template fields using default_code
This rev. is related to 489a96c257

It wasn't possible anymore to perform an import of
a product.template field in a model
(e.g. mrp.bom), while it should be the case.

In the context of an import,
the operator of the name_search is '='.
Therefore, in this super call, the operator was '='
and the name was '' (empty).
In such a case, ('name', '=', '') is added
to the search domain by the base name_search method
(in models.py),
leading to the domain
[('id', 'in', template_ids), ('name', '=', '')]
which will lead to no results.

Forcing 'ilike' as domain is correct, as the actual
name_search, with the correct operator,
has already been performed in the lines above, the
point of this second name_search is to get
the right order along with the right name_get.

opw-632089
2015-04-03 11:06:49 +02:00
addons [FIX] product: import product.template fields using default_code 2015-04-03 11:06:49 +02:00
debian [FIX] Packaging: Debian: lintian errors and warnings 2015-01-23 11:07:50 +01:00
doc [ADD] doc : odoo official coding guidelines. This is the first version of the guidelines. Discussions and conventions are not frozen. 2015-03-31 17:49:41 +02:00
openerp [FIX] models: do not prefetch fields while the model schema is created 2015-04-02 16:54:39 +02:00
setup [FIX] Packaging: possibility to have a PGP key without passphrase 2015-02-20 16:56:14 +01:00
.gitignore [ADD] git mailmap and CLA stats 2015-02-08 23:00:10 +01:00
.mailmap [CLA] mailmap update 2015-02-28 17:58:22 +01:00
CONTRIBUTING.md [FIX] CONTRIBUTING:.md emphasize the fact that PRs supersede issues 2015-02-12 11:08:25 +01:00
LICENSE cleanup repo root 2014-05-15 10:43:02 +02:00
MANIFEST.in [FIX] Packaging, Scaffolding: template files extension 2015-03-02 16:38:34 +01:00
Makefile [IMP] *: one Makefile to rules them all. 2014-11-05 19:30:28 +01:00
README.md [IMP] README.md: badges for docs, help, nightly 2015-01-20 17:21:38 +01:00
odoo.py [FIX] odoo.py fix fetching of git remotes 2014-12-19 17:39:11 +01: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 Declare PyChart package name in requirements.txt 2015-02-26 16:28:47 -03:00
setup.cfg [REF] Packaging: Backport of v8 packaging 2014-12-19 17:31:35 +01:00
setup.py [REF] Packaging: Backport of v8 packaging 2014-12-19 17:31:35 +01:00

README.md

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/8.0/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