|
| 1 | +---Models in module 'stock_account'--- |
| 2 | +new model stock.valuation.layer |
| 3 | +# DONE: post-migration: try to use data from product.price.history in some way (?) |
| 4 | + |
| 5 | +---Fields in module 'stock_account'--- |
| 6 | +stock_account / account.move.line / is_anglo_saxon_line (boolean) : NEW |
| 7 | +# TODO (?): is there a way to know which lines are anglosaxon?? |
| 8 | + |
| 9 | +stock_account / product.product / valuation (char) : selection_keys is now 'function' ('False') |
| 10 | +stock_account / product.product / valuation (char) : type is now 'selection' ('char') |
| 11 | +stock_account / product.product / cost_method (char) : selection_keys is now 'function' ('False') |
| 12 | +stock_account / product.product / cost_method (char) : type is now 'selection' ('char') |
| 13 | +stock_account / product.template / cost_method (char) : not a function anymore |
| 14 | +stock_account / product.template / cost_method (char) : now related |
| 15 | +stock_account / product.template / cost_method (char) : selection_keys is now 'function' ('False') |
| 16 | +stock_account / product.template / cost_method (char) : type is now 'selection' ('char') |
| 17 | +stock_account / product.template / valuation (char) : not a function anymore |
| 18 | +stock_account / product.template / valuation (char) : now related |
| 19 | +stock_account / product.template / valuation (char) : selection_keys is now 'function' ('False') |
| 20 | +stock_account / product.template / valuation (char) : type is now 'selection' ('char') |
| 21 | +# NOTHING TO DO: they are non stored fields |
| 22 | + |
| 23 | +stock_account / product.template / property_cost_method (selection): DEL selection_keys: ['average', 'fifo', 'standard'] |
| 24 | +stock_account / product.template / property_stock_account_input (many2one): DEL relation: account.account |
| 25 | +stock_account / product.template / property_stock_account_output (many2one): DEL relation: account.account |
| 26 | +stock_account / product.template / property_valuation (selection): DEL selection_keys: ['manual_periodic', 'real_time'] |
| 27 | +# NOTHING TO DO: they use now the same fields from product.category instead |
| 28 | + |
| 29 | +stock_account / stock.move / remaining_qty (float) : DEL |
| 30 | +stock_account / stock.move / remaining_value (float) : DEL |
| 31 | +stock_account / stock.move / value (float) : DEL |
| 32 | +stock_account / stock.valuation.layer / remaining_qty (float) : NEW |
| 33 | +stock_account / stock.valuation.layer / remaining_value (float) : NEW |
| 34 | +stock_account / stock.valuation.layer / value (float) : NEW |
| 35 | +# NOTHING TO DO: the relation between moves and valuation layers is new |
| 36 | +# TODO (?): if the link with the stock move is found, then fill values |
| 37 | + |
| 38 | +stock_account / stock.valuation.layer / account_move_id (many2one) : NEW relation: account.move |
| 39 | +stock_account / stock.valuation.layer / company_id (many2one) : NEW relation: res.company, required |
| 40 | +stock_account / stock.valuation.layer / description (char) : NEW |
| 41 | +stock_account / stock.valuation.layer / product_id (many2one) : NEW relation: product.product, required |
| 42 | +stock_account / stock.valuation.layer / quantity (float) : NEW |
| 43 | +stock_account / stock.valuation.layer / stock_move_id (many2one) : NEW relation: stock.move |
| 44 | +stock_account / stock.valuation.layer / unit_cost (float) : NEW |
| 45 | +stock_account / stock.valuation.layer / stock_valuation_layer_id (many2one): NEW relation: stock.valuation.layer |
| 46 | +stock_account / account.move / stock_valuation_layer_ids (one2many): NEW relation: stock.valuation.layer |
| 47 | +stock_account / product.product / stock_valuation_layer_ids (one2many): NEW relation: stock.valuation.layer |
| 48 | +stock_account / stock.move / stock_valuation_layer_ids (one2many): NEW relation: stock.valuation.layer |
| 49 | +stock_account / stock.valuation.layer / stock_valuation_layer_ids (one2many): NEW relation: stock.valuation.layer |
| 50 | +# DONE: post-migration: handle the new model (try to use data from product.price.history in some way?) |
| 51 | + |
| 52 | +---XML records in module 'stock_account'--- |
| 53 | +NEW ir.actions.act_window: stock_account.stock_valuation_layer_action |
| 54 | +DEL ir.actions.act_window: stock_account.product_valuation_action |
| 55 | +NEW ir.model.access: stock_account.access_stock_valuation_layer |
| 56 | +NEW ir.rule: stock_account.stock_valuation_layer_company_rule |
| 57 | +NEW ir.ui.view: stock_account.product_template_tree_view |
| 58 | +NEW ir.ui.view: stock_account.stock_valuation_layer_form |
| 59 | +NEW ir.ui.view: stock_account.stock_valuation_layer_picking |
| 60 | +NEW ir.ui.view: stock_account.stock_valuation_layer_search |
| 61 | +NEW ir.ui.view: stock_account.stock_valuation_layer_tree |
| 62 | +NEW ir.ui.view: stock_account.view_inventory_tree |
| 63 | +NEW ir.ui.view: stock_account.view_stock_quant_tree_editable_inherit |
| 64 | +NEW ir.ui.view: stock_account.view_stock_quant_tree_inherit |
| 65 | +DEL ir.ui.view: stock_account.view_move_tree_valuation_at_date |
| 66 | +DEL ir.ui.view: stock_account.view_stock_account_aml |
| 67 | +DEL ir.ui.view: stock_account.view_stock_product_tree2 |
| 68 | +DEL ir.ui.view: stock_account.view_stock_quantity_history |
| 69 | +# NOTHING TO DO |
| 70 | + |
| 71 | +NEW ir.ui.view: stock_account.product_product_normal_form_view_inherit |
| 72 | +DEL ir.ui.view: stock_account.product_normal_form_view_inherit |
| 73 | +# DONE: pre-migration: xmlid renamed (to avoid a xpath issue) |
| 74 | + |
| 75 | +DEL ir.property: stock_account.default_cost_method (noupdate) |
| 76 | +DEL ir.property: stock_account.default_valuation (noupdate) |
| 77 | +DEL ir.property: stock_account.property_stock_account_input_prd (noupdate) |
| 78 | +DEL ir.property: stock_account.property_stock_account_output_prd (noupdate) |
| 79 | +# DONE: post-migration: try to delete |
0 commit comments