-
- Downloads
[IMP] mrp: don't require consumed widget when multi-location
Before this commit, it was required to always use the widget to edit the
consumed quantity of a component when multi-location or packages setting
is active. This was not user friendly so this commit relaxes the
requirement to only tracked products and gives users the option to still
edit the consumed move lines directly if desired. We also distinguish
between when using the widget is required or not with the widget button
color. Note that if quantity consumed is greater than amount reserved in
different locations, the difference will default to the move's source
location (this is consistent with what happens when the `qty_producing`
is changed in the MO and the consumed quantities are scaled to match.)
Task: 2518523
Upgrade PR: odoo/upgrade#2655
closes odoo/odoo#73939
Related: odoo/enterprise#19732
Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
Showing
- addons/mrp/models/stock_move.py 7 additions, 0 deletionsaddons/mrp/models/stock_move.py
- addons/mrp/static/src/scss/mrp_fields.scss 8 additions, 0 deletionsaddons/mrp/static/src/scss/mrp_fields.scss
- addons/mrp/views/mrp_production_views.xml 11 additions, 8 deletionsaddons/mrp/views/mrp_production_views.xml
- addons/stock/models/stock_move.py 13 additions, 9 deletionsaddons/stock/models/stock_move.py
- addons/stock/views/stock_move_views.xml 2 additions, 2 deletionsaddons/stock/views/stock_move_views.xml
- addons/stock/views/stock_picking_views.xml 4 additions, 4 deletionsaddons/stock/views/stock_picking_views.xml
Loading
Please register or sign in to comment