mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
cf7135464474f78c68c16a86ba46157b7066b3d3
Instead of going through the onchange machinery. The intended usage of onchange methods is to update something on the screen, without side-effects in the database, then let the user save the form with the proposed changes. Weirdly, the barcode scanner event triggers an onchange on the field `_barcode_scanned`. It doesn't work well with our use case, as the whole form is read-only and we only care about having the barcode events doing side-effects on the backend and displaying back the changes. This particular onchange will then be executed as a normal method, with side-effects. However, contrarily to other actions on the form, the frontend does not reload the view after an onchange, as it relies on the data returned back in the values. As we cannot know which values may have been changed in the different implementations (location destination, state, ...), the onchange returns a read with every field.
Odoo Stock Logistics Warehouse
This project aim to deal with modules related to the management of warehouses. You'll find modules that:
- Ease inventory by adding various possibilities
- Move all product from one location to another
- Manage the product catalog (merge them,..)
Please don't hesitate to suggest one of your module to this project. Also, you may want to have a look on those other projects here:
Description
Languages
HTML
50.9%
Python
48.2%
JavaScript
0.8%
SCSS
0.1%
