Go to file
Denis Ledoux 1d7c12022d [FIX] stock_account: valuation history with moves having multiple quant prices
The revision 29bd622521
aimed to improve the performance by changing
the view index, to use a BIGINT instead of a text.

It was assumed that the index used
(`stock_move.id`) could not appear
multiple times with the JOINs and
group bys defined.

This was in fact possible, if a
stock move is associated to
several quants with different costs,
because of the JOIN on the many2many table
`stock_quant_move_rel`
linking quants to moves,
and the GROUP BY
`price_unit_on_quant`
that caused the different moves/quants association
not to be merged within one unique line
if the costs on the quants are different.

Instead of the group by, we now aggregate the quants
costs, using the weighted average, so the index
used can be unique, as expected.

From now, the inventory value per line in
this report view can therefore
be different than what can be found on the quants,
but this report view is based on the stock moves
rather than the stock quants, and this is therefore accepted.

In other words, the inventory value is computed for the stock move
rather than for the stock quant.

opw-658903
2016-02-16 16:37:32 +01:00
.tx [I18N] add Transifex config file 2015-05-27 11:28:22 +02:00
addons [FIX] stock_account: valuation history with moves having multiple quant prices 2016-02-16 16:37:32 +01:00
debian [FIX] Packaging: Debian: lintian errors and warnings 2015-01-23 11:07:50 +01:00
doc [CLA] add contributor to roomsfor CLA 2016-02-16 08:36:08 +01:00
openerp [I18N] Update translation terms from Transifex 2016-02-14 02:59:46 +01:00
setup [FIX] packaging: tarball nightly test 2015-07-15 15:34:14 +02:00
.gitignore [ADD] git mailmap and CLA stats 2015-02-08 23:00:10 +01:00
.mailmap [CLA] update mailmap 2015-09-08 15:45:09 +02: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: include favicon 2015-10-21 13:45:37 +02: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 [FIX] requirements.txt : gevent & greenlet versions updated 2015-09-18 00:55:02 +02:00
setup.cfg [FIX] Packaging: RedHat: dependencies management 2014-11-28 16:40:55 +01:00
setup.py [FIX] Packaging: Windows: pychart dependency 2015-07-07 16:44:03 +02: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