Josse Colpaert 242a76cc97 [FIX] stock: UoM of a product should not be changed when done stock moves exist.
The UoM of a product can be changed to whatever UoM if there have not been made any done stock moves.
If there are, you can not change the UoM.  If there are not done moves, you can not change the category
anymore as the conversion of the product_qty will give an error.

The reason we put the constraint is that we would need to change all the qty values of the quants
when we change UoM.  It is better to avoid this (e.g. rounding).  That is why we put the constraint.

There is no reason to restrict change of uom_po_id, except that it should
fall within the same category as the UoM.  (constraint)
2015-03-13 11:18:02 +01:00
2015-02-08 23:00:10 +01:00
2015-02-28 17:58:22 +01: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%