Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docsource/modules150-160.rst
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ Module coverage 15.0 -> 16.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| microsoft_outlook | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| mrp | | |
| mrp | TODO | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| mrp_account | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
104 changes: 104 additions & 0 deletions openupgrade_scripts/scripts/mrp/16.0.2.0/upgrade_analysis_work.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
---Models in module 'mrp'---
new model mrp.production.split [transient]
new model mrp.production.split.line [transient]
new model mrp.production.split.multi [transient]
new model mrp.workcenter.capacity
---Fields in module 'mrp'---
mrp / mrp.bom / allow_operation_dependencies (boolean): NEW
# Nothing to do
mrp / mrp.bom.line / manual_consumption (boolean) : NEW isfunction: function, stored
# Nothing to do
mrp / mrp.production / allow_workorder_dependencies (boolean): NEW
# Nothing to do
mrp / mrp.production / date_planned_finished (datetime): now a function
# TODO: stored field -> stored computed field.
# check whether the stored value persists throughout the migration.
# maybe back up the old values somewhere.
mrp / mrp.production / lot_producing_id (many2one) : relation is now 'stock.lot' ('stock.production.lot') [nothing to do]
# Nothing to do
mrp / mrp.production / product_id (many2one) : now a function
# TODO: stored field -> stored computed field, precomputed.
# check whether the stored value persists throughout the migration.
# maybe back up the old values somewhere.
mrp / mrp.production / unbuild_ids (one2many) : NEW relation: mrp.unbuild
# Nothing to do
mrp / mrp.routing.workcenter / blocked_by_operation_ids (many2many): NEW relation: mrp.routing.workcenter
mrp / mrp.routing.workcenter / needed_by_operation_ids (many2many): NEW relation: mrp.routing.workcenter
# Nothing to do
mrp / mrp.unbuild / lot_id (many2one) : relation is now 'stock.lot' ('stock.production.lot') [nothing to do]
# Nothing to do
mrp / mrp.workcenter / capacity (float) : DEL
mrp / mrp.workcenter / default_capacity (float) : NEW hasdefault: default
# TODO: capacity renamed to default_capacity
mrp / mrp.workcenter / capacity_ids (one2many) : NEW relation: mrp.workcenter.capacity
# TODO: maybe this needs to be pre-populated from [default_]capacity?
# Needs a look-see.
mrp / mrp.workcenter.capacity / capacity (float) : NEW hasdefault: default
mrp / mrp.workcenter.capacity / product_id (many2one) : NEW relation: product.product, required
mrp / mrp.workcenter.capacity / time_start (float) : NEW
mrp / mrp.workcenter.capacity / time_stop (float) : NEW
mrp / mrp.workcenter.capacity / workcenter_id (many2one) : NEW relation: mrp.workcenter, required
# Nothing to do
mrp / mrp.workorder / finished_lot_id (many2one) : relation is now 'stock.lot' ('stock.production.lot') [nothing to do]
# Nothing to do
mrp / mrp.workorder / blocked_by_workorder_ids (many2many): NEW relation: mrp.workorder
mrp / mrp.workorder / needed_by_workorder_ids (many2many): NEW relation: mrp.workorder
mrp / mrp.workorder / next_work_order_id (many2one) : DEL relation: mrp.workorder
# TODO: next_work_order_id replaced by the two newly introduced fields.
# blocked_by_workorder_ids contains all previous workorders.
# i assume that needed_by_workorder_ids contains all next workorders.
mrp / mrp.workorder / qty_reported_from_previous_wo (float): NEW
# TODO: this field is not computed, but overwritten when calling MrpProduction._split_productions()
# we probably need to pre-populate it, somehow
mrp / product.template / days_to_prepare_mo (float) : NEW hasdefault: default
# TODO: this field is not computed, but overwritten when calling ProductProduct.action_compute_bom_days()
# we probably need to pre-populate it, somehow
mrp / stock.move / manual_consumption (boolean) : NEW isfunction: function, stored
# Nothing to do
mrp / stock.move / order_finished_lot_id (many2one): NEW relation: stock.lot, isrelated: related, stored
# TODO: the analysis didn't catch this somehow, but the computed field order_finished_lot_ids is gone.
# that field was never stored, so it's probably nothing to worry about, but I'm marking it here.
mrp / stock.picking.type / use_auto_consume_components_lots (boolean): NEW
# Nothing to do
mrp / stock.warehouse / pbm_route_id (many2one) : relation is now 'stock.route' ('stock.location.route') [nothing to do]
# Nothing to do
mrp / stock.warehouse.orderpoint / manufacturing_visibility_days (float): NEW hasdefault: default
# TODO: this field is not computed, but it defaults to visibility_days when calling _set_visibility_days with a 'manufacture' rule action thingamjig.
# needs a look-see.
---XML records in module 'mrp'---
NEW ir.actions.act_window: mrp.action_mrp_production_split
NEW ir.actions.act_window: mrp.action_mrp_production_split_multi
NEW ir.actions.client: mrp.mrp_reception_action
NEW ir.actions.report: mrp.action_report_workorder
DEL ir.actions.report: mrp.label_production_order
NEW ir.actions.server: mrp.action_production_order_merge
NEW ir.actions.server: mrp.action_production_order_split
DEL ir.actions.server: mrp.production_order_server_action
NEW ir.model.access: mrp.access_mrp_production_split
NEW ir.model.access: mrp.access_mrp_production_split_line
NEW ir.model.access: mrp.access_mrp_production_split_multi
NEW ir.model.access: mrp.access_mrp_workcenter_capacity_manager
NEW ir.model.access: mrp.access_product_tag_mrp_manager
DEL ir.model.access: mrp.access_stock_location_mrp_worker
DEL ir.model.access: mrp.access_stock_move_mrp_manager
DEL ir.model.access: mrp.access_stock_move_mrp_worker
DEL ir.model.access: mrp.access_stock_picking_mrp_manager
DEL ir.model.access: mrp.access_stock_picking_mrp_worker
DEL ir.model.access: mrp.access_stock_production_lot_user
DEL ir.model.access: mrp.access_stock_warehouse
DEL ir.model.access: mrp.access_stock_warehouse_orderpoint_user
NEW ir.model.constraint: mrp.constraint_mrp_workcenter_capacity_positive_capacity
NEW ir.model.constraint: mrp.constraint_mrp_workcenter_capacity_unique_product
NEW ir.ui.view: mrp.report_mrp_production_components
NEW ir.ui.view: mrp.report_mrp_workorder
NEW ir.ui.view: mrp.view_mrp_production_split_form
NEW ir.ui.view: mrp.view_mrp_production_split_multi_form
DEL ir.ui.view: mrp.report_mrp_bom_line
DEL ir.ui.view: mrp.report_mrp_bom_pdf
DEL ir.ui.view: mrp.report_mrp_byproduct_line
DEL ir.ui.view: mrp.report_mrp_operation_line
DEL ir.ui.view: mrp.report_reception_report_label_mrp
NEW res.groups: mrp.group_mrp_reception_report
NEW res.groups: mrp.group_mrp_workorder_dependencies
DEL stock.location.route: mrp.route_warehouse0_manufacture (noupdate)
NEW stock.route: mrp.route_warehouse0_manufacture (noupdate)