f23394b83a84791a38d7867560da78a02c94f604
If you make an inventory adjustement in mode 'select products manually' and you add a new line with a product having a different unit of mesure than the default one, but in the same unit of mesure category than the default one, the unit of mesure on the line doesn't change because both are in the same category. This bug is caused by an 'onchange' which is triggered when the 'product_id' or 'product_uom_id' has been changed. And so we cannot force to change the value to the product one, because we should still be able to make an inventory in 'kg', if the unit of mesure is in 'g'. So to fix this bug, we have set the 'onchange' only on the product_id to set the unit of mesure set on the product when we create a new line or change the product of a line. We removed the onchange ont the unit of mesure, because it was only checking that the unit of mesure is in the category of the product unit of mesure category, but it's always true has there is a domain set on the field unit on mesure by the onchange on product_id
…
…
…
…
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/9.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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%