mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
592dc5916d3474bed426aec4078cc066428fe3d1
Without this patch, a user that wasn't able to edit a picking product qty would be able to edit the packaging qty and produce a product qty update (which they shouldn't be able to do). Now, the field is hidden or readonly when the `product_uom_qty` field is too. Also, the inverse method of `product_packaging_qty` was only being triggered when saving. That doesn't fit well with v16, where saving is pseudo-automatic. Thus, the inverse is reused as an onchange. To make it worse, the inverse method had a lot of validations. If they were meaningful, they should have been constraints instead. But they really didn't make any sense because they were testing impossible scenarios. For example, they were testing you didn't update the field when there's no packaging, but that's fixed now with a dynamic readonly attribute; also they were testing that the packaging qty != 0, but there's an upstream sql constraint that forbids that. There was a check that warned about impossible combinations of packages and UoM qtys. Now that everything is properly automated, that scenario is impossible. Thus, the check is removed. Summarizing, the module should be more usable and consistent now. @moduon MT-3694
stock-logistics-warehouse
TODO: add repo description.
Available addons
| addon | version | maintainers | summary |
|---|---|---|---|
| account_move_line_product | 16.0.1.0.0 | Displays the product in the journal entries and items | |
| account_move_line_stock_info | 16.0.1.1.0 | Account Move Line Stock Info | |
| procurement_auto_create_group | 16.0.1.0.0 | Allows to configure the system to propose automatically new procurement groups during the procurement run. | |
| scrap_reason_code | 16.0.1.1.0 | ![]() |
Reason code for scrapping |
| stock_demand_estimate | 16.0.1.1.0 | Allows to create demand estimates. | |
| stock_helper | 16.0.1.1.0 | Add methods shared between various stock modules | |
| stock_location_lockdown | 16.0.1.0.1 | Prevent to add stock on locked locations | |
| stock_location_position | 16.0.1.0.0 | Add coordinate attributes on stock location. | |
| stock_location_product_restriction | 16.0.1.0.0 | ![]() |
Prevent to mix different products into the same stock location |
| stock_location_zone | 16.0.1.0.1 | Classify locations with zones. | |
| stock_move_auto_assign | 16.0.1.1.0 | Try to reserve moves when goods enter in a location | |
| stock_move_auto_assign_auto_release | 16.0.1.1.0 | Auto release moves after auto assign | |
| stock_move_common_dest | 16.0.1.0.1 | Adds field for common destination moves | |
| stock_move_location | 16.0.1.2.0 | This module allows to move all stock in a stock location to an other one. | |
| stock_mts_mto_rule | 16.0.1.0.0 | Add a MTS+MTO route | |
| stock_packaging_calculator | 16.0.1.0.1 | Compute product quantity to pick by packaging | |
| stock_picking_commercial_partner | 16.0.1.0.0 | Add Commercial Partner on the Stock Picking | |
| stock_picking_volume | 16.0.1.0.0 | ![]() |
Compute volume information on stock moves and pickings |
| stock_picking_volume_packaging | 16.0.1.0.0 | Use volume information on potential product packaging to compute the volume of a stock.move | |
| stock_quant_cost_info | 16.0.1.0.0 | Shows the cost of the quants | |
| stock_quant_manual_assign | 16.0.1.0.1 | Stock - Manual Quant Assignment | |
| stock_reserve | 16.0.1.1.0 | Stock reservations on products | |
| stock_route_mto | 16.0.1.0.0 | Allows to identify MTO routes through a checkbox and availability to filter them. | |
| stock_search_supplierinfo_code | 16.0.1.0.1 | Allows to search for picking from supplierinfo code | |
| stock_storage_category_capacity_name | 16.0.1.0.0 | Allows to have a better display name for Stock Storage Category Capacity model | |
| stock_warehouse_calendar | 16.0.1.0.0 | ![]() |
Adds a calendar to the Warehouse |
Unported addons
| addon | version | maintainers | summary |
|---|---|---|---|
| stock_package_type_button_box | 16.0.1.0.0 (unported) | ![]() |
DEPRECATED - This module is a technical module that allows to fill in a button box for Stock Package Type form view |
Licenses
This repository is licensed under AGPL-3.0.
However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA)
policy. Consult each module's __manifest__.py file, which contains a license key
that explains its license.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Description
Languages
HTML
50.9%
Python
48.2%
JavaScript
0.8%
SCSS
0.1%




