Jairo Llopis 592dc5916d [REF] stock_move_packaging_qty: closer match upstream UX
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
2023-08-30 12:18:50 +01:00
2023-01-30 12:09:30 +01:00
2023-04-26 07:39:53 +00:00
2023-04-25 08:51:25 +00:00
2023-03-10 13:03:22 +00:00
2023-05-12 17:07:09 +00:00
2023-04-20 08:10:16 +00:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2023-01-30 12:09:30 +01:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2023-08-23 10:59:15 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

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 bodedra 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 lmignon rousseldenis 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 lmignon 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 JordiBForgeFlow Adds a calendar to the Warehouse

Unported addons

addon version maintainers summary
stock_package_type_button_box 16.0.1.0.0 (unported) rousseldenis 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
Odoo Warehouse Management Addons
Readme 142 MiB
Languages
HTML 50.9%
Python 48.2%
JavaScript 0.8%
SCSS 0.1%