|
| 1 | +---Models in module 'product'--- |
| 2 | +obsolete model product.packaging (renamed to product.uom) |
| 3 | +new model product.uom (renamed from product.packaging) |
| 4 | + |
| 5 | +# DONE: packagings are folded into UOMs, with product.uom linking products to the UOM that used to be a packaging |
| 6 | + |
| 7 | +---Fields in module 'product'--- |
| 8 | +product / product.attribute / display_type (selection) : selection_keys added: [image] (most likely nothing to do) |
| 9 | + |
| 10 | +# NOTHING TO DO |
| 11 | + |
| 12 | +product / product.packaging / _order : _order is now 'id' ('product_id, sequence, id') |
| 13 | +product / product.packaging / barcode (char) : now required |
| 14 | +product / product.packaging / name (char) : DEL required |
| 15 | +product / product.packaging / qty (float) : DEL |
| 16 | +product / product.packaging / sequence (integer) : DEL |
| 17 | + |
| 18 | +# DONE: table is renamed to product_uom in pre-migration and matching UOMs created in post-migration |
| 19 | + |
| 20 | +product / product.pricelist.item / company_id (many2one) : not related anymore |
| 21 | +product / product.pricelist.item / company_id (many2one) : now a function |
| 22 | +product / product.pricelist.item / currency_id (many2one) : not related anymore |
| 23 | +product / product.pricelist.item / currency_id (many2one) : now a function |
| 24 | + |
| 25 | +# NOTHING TO DO: related field was stored before |
| 26 | + |
| 27 | +product / product.product / _order : _order is now 'default_code, name, id' ('is_favorite desc, default_code, name, id') |
| 28 | + |
| 29 | +# NOTHING TO DO |
| 30 | + |
| 31 | +product / product.product / is_favorite (boolean) : is now stored |
| 32 | + |
| 33 | +# DONE: pre-created in pre-migration and filled from product_template |
| 34 | + |
| 35 | +product / product.product / is_in_selected_section_of_order (boolean): NEW |
| 36 | + |
| 37 | +# NOTHING TO DO: virtual field only used for searching |
| 38 | + |
| 39 | +product / product.product / packaging_ids (one2many) : DEL relation: product.packaging |
| 40 | +product / product.product / product_uom_ids (one2many) : NEW relation: product.uom |
| 41 | + |
| 42 | +# DONE: renamed in pre-migration, also see above at product.packaging |
| 43 | + |
| 44 | +product / product.supplierinfo / product_tmpl_id (many2one) : now required |
| 45 | +product / product.supplierinfo / product_uom_id (many2one) : NEW relation: uom.uom, required, hasdefault: compute |
| 46 | + |
| 47 | +# DONE: filled from product_id |
| 48 | + |
| 49 | +product / product.tag / image (binary) : previously in module website_sale |
| 50 | + |
| 51 | +# NOTHING TO DO |
| 52 | + |
| 53 | +product / product.tag / visible_to_customers (boolean): NEW hasdefault: default |
| 54 | + |
| 55 | +# NOTHING TO DO |
| 56 | + |
| 57 | +product / product.template / pricelist_rule_ids (one2many) : NEW relation: product.pricelist.item |
| 58 | + |
| 59 | +# NOTHING TO DO |
| 60 | + |
| 61 | +product / product.template / uom_ids (many2many) : NEW relation: uom.uom |
| 62 | +product / product.template / uom_po_id (many2one) : DEL relation: uom.uom, required |
| 63 | + |
| 64 | +# NOTHING TO DO |
| 65 | + |
| 66 | +product / product.uom / uom_id (many2one) : NEW relation: uom.uom, required |
| 67 | +product / uom.uom / product_uom_ids (one2many) : NEW relation: product.uom |
| 68 | + |
| 69 | +# DONE: see above at product.packaging |
| 70 | + |
| 71 | +---XML records in module 'product'--- |
| 72 | +DEL decimal.precision: product.decimal_product_uom [renamed to uom module] (noupdate) |
| 73 | + |
| 74 | +# DONE: in uom migration |
| 75 | + |
| 76 | +DEL ir.actions.act_window: product.action_packaging_view |
| 77 | +NEW ir.actions.server: product.action_product_print_labels |
| 78 | +NEW ir.actions.server: product.action_product_template_print_labels |
| 79 | +NEW ir.model.access: product.access_product_document_manager |
| 80 | +NEW ir.model.access: product.access_product_uom_manager |
| 81 | +NEW ir.model.access: product.access_product_uom_user |
| 82 | +NEW ir.model.access: product.access_uom_uom_product_manager |
| 83 | +DEL ir.model.access: product.access_product_packaging_manager |
| 84 | +DEL ir.model.access: product.access_product_packaging_user |
| 85 | + |
| 86 | +# NOTHING TO DO |
| 87 | + |
| 88 | +NEW ir.model.constraint: product.constraint_product_product_combination_unique |
| 89 | +NEW ir.model.constraint: product.constraint_product_product_is_favorite_index |
| 90 | +NEW ir.model.constraint: product.constraint_product_template_is_favorite_index |
| 91 | +NEW ir.model.constraint: product.constraint_product_uom_barcode_uniq |
| 92 | +DEL ir.model.constraint: product.constraint_product_packaging_barcode_uniq |
| 93 | + |
| 94 | +# NOTHING TO DO |
| 95 | + |
| 96 | +DEL ir.model.constraint: product.constraint_product_packaging_positive_qty |
| 97 | +DEL ir.rule: product.product_packaging_comp_rule (noupdate) |
| 98 | + |
| 99 | +# DONE: deleted in pre-migration |
| 100 | + |
| 101 | +NEW ir.ui.view: product.product_pricelist_item_product_product_form_view |
| 102 | +NEW ir.ui.view: product.product_pricelist_item_product_template_form_view |
| 103 | +NEW ir.ui.view: product.product_template_list_view_purchasable |
| 104 | +NEW ir.ui.view: product.product_template_list_view_sellable |
| 105 | +NEW ir.ui.view: product.product_uom_list_view |
| 106 | +NEW ir.ui.view: product.uom_uom_form_view_inherit |
| 107 | +DEL ir.ui.view: product.product_packaging_form_view |
| 108 | +DEL ir.ui.view: product.product_packaging_form_view2 |
| 109 | +DEL ir.ui.view: product.product_packaging_search_view |
| 110 | +DEL ir.ui.view: product.product_packaging_tree_view |
| 111 | +DEL ir.ui.view: product.product_packaging_tree_view2 |
| 112 | + |
| 113 | +# NOTHING TO DO |
| 114 | + |
| 115 | +NEW product.category: product.product_category_expenses (noupdate) |
| 116 | +NEW product.category: product.product_category_goods (noupdate) |
| 117 | +NEW product.category: product.product_category_services (noupdate) |
| 118 | +DEL product.category: product.cat_expense (noupdate) |
| 119 | +DEL product.category: product.product_category_1 (noupdate) |
| 120 | +DEL product.category: product.product_category_all (noupdate) |
| 121 | + |
| 122 | +# DONE: renamed in pre-migration |
| 123 | + |
| 124 | +DEL res.groups: product.group_stock_packaging |
| 125 | +NEW res.groups.privilege: product.res_groups_privilege_product |
| 126 | + |
| 127 | +# NOTHING TO DO |
0 commit comments