d349584f9d281ea955f4a46235747c9b9866daa6
The `stock.picking`.`state` field is set to track the change of values (`track_visibility='onchange'`) It's supposed to write the state changes within the picking thread. It does not work properly for function fields, as the onchange tracking is designed to work only with direct user changes, direct `write` operations on the record, while, here, the state value changes according to the picking moves changes, for instance. To solve this, the tracking changes have to be hooked within the `create` & `write` methods of the model on which this function depends on. Therefore, from now, when changes are performed in the moves, on the fields that could lead to the picking state change, we force the tracking of the picking state. In addition, we had the `mail_notrack` key in the context when creating back orders, to avoid displaying the back and forths in the state e.g. when transferring 9 units on 10, the changes were displayed as below: Draft -> Waiting availability Waiting Availability -> Ready to Transfer Ready to Transfer -> Draft Draft -> Partially available Partially Available -> Waiting availability Waiting Availability -> Transferred opw-666317
…
…
…
…
…
…
…
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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%