|
| 1 | +---Models in module 'point_of_sale'--- |
| 2 | +obsolete model pos.open.statement [transient] |
| 3 | +new model closing.balance.confirm.wizard [transient] |
| 4 | +# NOTHING TO DO |
| 5 | + |
| 6 | +new model pos.payment |
| 7 | +new model pos.payment.method |
| 8 | +# DONE: created some records as explained below (created pos.payment record from statement lines) |
| 9 | + |
| 10 | +---Fields in module 'point_of_sale'--- |
| 11 | +point_of_sale / account.bank.statement.cashbox / is_a_template (boolean) : NEW hasdefault |
| 12 | +# NOTHING TO DO: has default |
| 13 | + |
| 14 | +point_of_sale / account.cashbox.line / default_pos_id (many2one) : DEL relation: pos.config |
| 15 | +point_of_sale / pos.config / default_cashbox_id (many2one) : NEW relation: account.bank.statement.cashbox |
| 16 | +point_of_sale / pos.config / default_cashbox_lines_ids (one2many): DEL relation: account.cashbox.line |
| 17 | +point_of_sale / account.bank.statement.cashbox / pos_config_ids (one2many) : NEW relation: pos.config |
| 18 | +DONE: post-migration: filled default_cashbox_id using default_pos_id relation |
| 19 | + |
| 20 | +point_of_sale / account.journal / amount_authorized_diff (float): DEL |
| 21 | +point_of_sale / pos.config / amount_authorized_diff (float): NEW |
| 22 | +# DONE: post-migration: mapping |
| 23 | + |
| 24 | +point_of_sale / account.journal / journal_user (boolean) : DEL |
| 25 | +# NOTHING TO DO: old technical field used to mark which journals could be used in the pos config |
| 26 | + |
| 27 | +point_of_sale / pos.order / invoice_id (many2one) : DEL relation: account.invoice |
| 28 | +point_of_sale / account.move / pos_order_ids (one2many) : NEW relation: pos.order |
| 29 | +# DONE: post-migration: assured the merge account.invoice -> account.move is handled correctly |
| 30 | + |
| 31 | +point_of_sale / pos.category / image (binary) : DEL attachment: True |
| 32 | +point_of_sale / pos.category / image_128 (binary) : NEW attachment: True |
| 33 | +point_of_sale / pos.category / image_medium (binary) : DEL attachment: True |
| 34 | +point_of_sale / pos.category / image_small (binary) : DEL attachment: True |
| 35 | +# DONE: pre-migration (renamed) |
| 36 | + |
| 37 | +point_of_sale / pos.config / barcode_nomenclature_id (many2one): now required, req_default: function |
| 38 | +# DONE: post-migration: filled empty cases |
| 39 | + |
| 40 | +point_of_sale / pos.config / module_pos_hr (boolean) : NEW |
| 41 | +# DONE: post-migration: marked as True if hr is installed, because the new pos_hr module has auto_install = True |
| 42 | + |
| 43 | +point_of_sale / pos.config / group_by (boolean) : DEL |
| 44 | +point_of_sale / pos.config / journal_ids (many2many) : DEL relation: account.journal |
| 45 | +point_of_sale / pos.config / payment_method_ids (many2many): NEW relation: pos.payment.method, hasdefault |
| 46 | +point_of_sale / account.journal / pos_payment_method_ids (one2many): NEW relation: pos.payment.method |
| 47 | +# DONE: end-migration: for each journal in journal_ids, created a pos.payment.method record with cash_journal_id pointing the corresponding journal |
| 48 | + |
| 49 | +point_of_sale / pos.config / barcode_scanner (boolean) : DEL |
| 50 | +point_of_sale / pos.config / customer_facing_display_html (html): not stored anymore |
| 51 | +point_of_sale / pos.config / customer_facing_display_html (html): now a function |
| 52 | +point_of_sale / pos.config / iface_available_categ_ids (many2many): NEW relation: pos.category |
| 53 | +point_of_sale / pos.config / iface_payment_terminal (boolean): DEL |
| 54 | +point_of_sale / pos.config / limit_categories (boolean) : NEW |
| 55 | +point_of_sale / pos.config / other_devices (boolean) : NEW |
| 56 | +point_of_sale / pos.config / stock_location_id (many2one) : DEL relation: stock.location, required, req_default: function |
| 57 | +# NOTHING TO DO |
| 58 | + |
| 59 | +point_of_sale / pos.order / payment_ids (one2many) : NEW relation: pos.payment |
| 60 | +point_of_sale / pos.order / statement_ids (one2many) : DEL relation: account.bank.statement.line |
| 61 | +# DONE: end-migration: for each statement line in statement_ids, created a pos.payment record with pos_order_id pointing the corresponding statement line |
| 62 | + |
| 63 | +point_of_sale / pos.order / currency_rate (float) : previously in module pos_sale |
| 64 | +point_of_sale / pos.order / to_invoice (boolean) : NEW |
| 65 | +point_of_sale / pos.order.line / company_id (many2one) : now related |
| 66 | +# NOTHING TO DO |
| 67 | + |
| 68 | +point_of_sale / pos.order.line / order_id (many2one) : now required |
| 69 | +# DONE: post-migration: deleted empty cases |
| 70 | + |
| 71 | +point_of_sale / pos.payment / amount (float) : NEW required |
| 72 | +point_of_sale / pos.payment / card_type (char) : NEW |
| 73 | +point_of_sale / pos.payment / name (char) : NEW |
| 74 | +point_of_sale / pos.payment / payment_date (datetime) : NEW required, req_default: function, hasdefault |
| 75 | +point_of_sale / pos.payment / payment_method_id (many2one) : NEW relation: pos.payment.method, required |
| 76 | +point_of_sale / pos.payment / pos_order_id (many2one) : NEW relation: pos.order, required |
| 77 | +point_of_sale / pos.payment / session_id (many2one) : NEW relation: pos.session, isrelated: related, stored |
| 78 | +point_of_sale / pos.payment / transaction_id (char) : NEW |
| 79 | +point_of_sale / pos.payment.method / cash_journal_id (many2one) : NEW relation: account.journal |
| 80 | +point_of_sale / pos.payment.method / company_id (many2one) : NEW relation: res.company, hasdefault |
| 81 | +point_of_sale / pos.payment.method / config_ids (many2many) : NEW relation: pos.config |
| 82 | +point_of_sale / pos.payment.method / is_cash_count (boolean) : NEW |
| 83 | +point_of_sale / pos.payment.method / name (char) : NEW required |
| 84 | +point_of_sale / pos.payment.method / receivable_account_id (many2one): NEW relation: account.account, required, req_default: function, hasdefault |
| 85 | +point_of_sale / pos.payment.method / split_transactions (boolean) : NEW hasdefault |
| 86 | +point_of_sale / pos.payment.method / use_payment_terminal (selection): NEW selection_keys: function |
| 87 | +# NOTHING TO DO: new models |
| 88 | + |
| 89 | +point_of_sale / pos.session / cash_register_balance_end (float): not related anymore |
| 90 | +point_of_sale / pos.session / cash_register_balance_end (float): now a function |
| 91 | +point_of_sale / pos.session / cash_register_difference (float): not related anymore |
| 92 | +point_of_sale / pos.session / cash_register_difference (float): now a function |
| 93 | +point_of_sale / pos.session / cash_register_total_entry_encoding (float): not related anymore |
| 94 | +point_of_sale / pos.session / cash_register_total_entry_encoding (float): now a function |
| 95 | +point_of_sale / pos.session / state (selection) : selection_keys is now '['closed', 'closing_control', 'new_session', 'opened', 'opening_control']' ('['closed', 'closing_control', 'opened', 'opening_control']') |
| 96 | +# NOTHING TO DO |
| 97 | + |
| 98 | +point_of_sale / pos.session / activity_ids (one2many) : NEW relation: mail.activity |
| 99 | +point_of_sale / pos.session / message_follower_ids (one2many): NEW relation: mail.followers |
| 100 | +point_of_sale / pos.session / message_ids (one2many) : NEW relation: mail.message |
| 101 | +point_of_sale / pos.session / message_main_attachment_id (many2one): NEW relation: ir.attachment |
| 102 | +point_of_sale / pos.session / website_message_ids (one2many): NEW relation: mail.message |
| 103 | +# NOTHING TO DO: mail activity and mail thread fields |
| 104 | + |
| 105 | +point_of_sale / pos.session / move_id (many2one) : NEW relation: account.move |
| 106 | +# DONE: post-migration: filled empty cases for closed sessions |
| 107 | + |
| 108 | +point_of_sale / res.partner / barcode (char) : previously in module base |
| 109 | +point_of_sale / res.partner / pos_order_ids (one2many) : NEW relation: pos.order |
| 110 | +point_of_sale / res.users / pos_security_pin (char) : DEL |
| 111 | +# NOTHING TO DO |
| 112 | + |
| 113 | +point_of_sale / stock.warehouse / pos_type_id (many2one) : NEW relation: stock.picking.type |
| 114 | +# DONE: post-migration: fill with _create_or_update_sequences_and_picking_types method |
| 115 | + |
| 116 | +---XML records in module 'point_of_sale'--- |
| 117 | +DEL account.journal: point_of_sale.pos_sale_journal (noupdate) |
| 118 | +# DONE: post-migration (removed) |
| 119 | + |
| 120 | +NEW ir.actions.act_window: point_of_sale.action_payment_methods_tree |
| 121 | +NEW ir.actions.act_window: point_of_sale.action_pos_payment_form |
| 122 | +NEW ir.actions.act_window: point_of_sale.action_pos_payment_method_form |
| 123 | +DEL ir.actions.act_window: point_of_sale.account_journal_action_point_of_sale |
| 124 | +DEL ir.actions.act_window: point_of_sale.act_pos_config_sessions |
| 125 | +DEL ir.actions.act_window: point_of_sale.act_pos_open_statement |
| 126 | +DEL ir.actions.act_window: point_of_sale.act_pos_session_orders |
| 127 | +DEL ir.actions.act_window: point_of_sale.action_account_journal_form |
| 128 | +DEL ir.actions.act_window: point_of_sale.action_pos_box_in |
| 129 | +DEL ir.actions.act_window: point_of_sale.action_pos_open_statement |
| 130 | +# NOTHING TO DO: noupdate=0 |
| 131 | + |
| 132 | +DEL ir.actions.report: point_of_sale.action_report_account_statement [renamed to account module] |
| 133 | +# NOTHING TO DO: should be renamed in account migration, but don't needed (noupdate=0) |
| 134 | + |
| 135 | +NEW ir.model.access: point_of_sale.access_decimal_precision_user |
| 136 | +NEW ir.model.access: point_of_sale.access_pos_payment_method_manager |
| 137 | +NEW ir.model.access: point_of_sale.access_pos_payment_method_user |
| 138 | +NEW ir.model.access: point_of_sale.access_pos_payment_user |
| 139 | +DEL ir.model.access: point_of_sale.access_product_price_history_pos_manager |
| 140 | +NEW ir.module.category: base.module_category_sales_point_of_sale (noupdate) |
| 141 | +NEW ir.rule: point_of_sale.rule_pos_payment_method_multi_company |
| 142 | +NEW ir.rule: point_of_sale.rule_pos_payment_multi_company |
| 143 | +# NOTHING TO DO |
| 144 | + |
| 145 | +DEL ir.sequence: point_of_sale.seq_picking_type_posout (noupdate) |
| 146 | +# DONE: post-migration (removed) |
| 147 | + |
| 148 | +NEW ir.ui.menu: point_of_sale.menu_pos_payment |
| 149 | +NEW ir.ui.menu: point_of_sale.menu_pos_payment_method |
| 150 | +DEL ir.ui.menu: point_of_sale.menu_action_account_journal_form_open |
| 151 | +DEL ir.ui.menu: point_of_sale.pos_menu_products_variants_action |
| 152 | +NEW ir.ui.view: point_of_sale.assets_tests |
| 153 | +NEW ir.ui.view: point_of_sale.closing_balance_confirm |
| 154 | +NEW ir.ui.view: point_of_sale.pos_payment_method_view_form |
| 155 | +NEW ir.ui.view: point_of_sale.pos_payment_method_view_search |
| 156 | +NEW ir.ui.view: point_of_sale.pos_payment_method_view_tree |
| 157 | +NEW ir.ui.view: point_of_sale.product_uom_categ_tree_view |
| 158 | +NEW ir.ui.view: point_of_sale.view_account_bnk_stmt_cashbox |
| 159 | +NEW ir.ui.view: point_of_sale.view_account_bnk_stmt_cashbox_footer |
| 160 | +NEW ir.ui.view: point_of_sale.view_bank_statement_pos_session |
| 161 | +NEW ir.ui.view: point_of_sale.view_pos_order_pivot |
| 162 | +NEW ir.ui.view: point_of_sale.view_pos_order_tree_no_session_id |
| 163 | +NEW ir.ui.view: point_of_sale.view_pos_payment_form |
| 164 | +NEW ir.ui.view: point_of_sale.view_pos_payment_search |
| 165 | +NEW ir.ui.view: point_of_sale.view_pos_payment_tree |
| 166 | +DEL ir.ui.view: point_of_sale.FieldTextHtml |
| 167 | +DEL ir.ui.view: point_of_sale.customer_facing_display_snippets |
| 168 | +DEL ir.ui.view: point_of_sale.extra_head |
| 169 | +DEL ir.ui.view: point_of_sale.pos_editor_assets |
| 170 | +DEL ir.ui.view: point_of_sale.pos_editor_fieldtexthtml_assets |
| 171 | +DEL ir.ui.view: point_of_sale.report_statement |
| 172 | +DEL ir.ui.view: point_of_sale.res_users_view_form |
| 173 | +DEL ir.ui.view: point_of_sale.view_account_bank_journal_form_inherited_pos |
| 174 | +DEL ir.ui.view: point_of_sale.view_account_journal_search_inherit_point_of_sale |
| 175 | +DEL ir.ui.view: point_of_sale.view_pos_open_statement |
| 176 | +NEW mail.activity.type: point_of_sale.mail_activity_old_session |
| 177 | +# NOTHING TO DO: noupdate=0 |
| 178 | + |
| 179 | +DEL stock.picking.type: point_of_sale.picking_type_posout |
| 180 | +# DONE: post-migration: Remove XML-ID, as the picking type may be in use |
0 commit comments