Skip to content
Merged
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
24 changes: 24 additions & 0 deletions addons/pos_sale/migrations/13.0.1.0/openupgrade_analysis_work.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---Models in module 'pos_sale'---
---Fields in module 'pos_sale'---
pos_sale / crm.team / dashboard_graph_group_pos (selection): DEL selection_keys: ['day', 'month', 'pos', 'user', 'week']
# NOTHING TO DO: graph configuration fields have been removed

pos_sale / crm.team / team_type (False) : DEL selection_keys: ['pos', 'sales', 'website'], mode: modify
# NOTHING TO DO: removed field, every team should be able to handle a POS or a website for example

pos_sale / pos.order / crm_team_id (many2one) : NEW relation: crm.team
# NOTHING TO DO: new feature

pos_sale / pos.order / currency_rate (float) : module is now 'point_of_sale' ('pos_sale')
# NOTHING TO DO: Will be handled by ORM on module update

---XML records in module 'pos_sale'---
NEW crm.team: sales_team.pos_sales_team (noupdate)
DEL ir.ui.view: pos_sale.crm_team_view_form_inherit_pos_sale
# NOTHING TO DO

DEL crm.team: pos_sale.pos_sales_team [renamed to sales_team module] (noupdate)
# NOTHING TO DO: renamed xmlids in sales_team

DEL pos.config: point_of_sale.pos_config_main (noupdate)
# DONE: post-migration: Try to delete record
14 changes: 14 additions & 0 deletions addons/pos_sale/migrations/13.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2020 ForgeFlow <http://www.forgeflow.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(
env.cr, "pos_sale", "migrations/13.0.1.0/noupdate_changes.xml")
openupgrade.delete_records_safely_by_xml_id(
env, [
"point_of_sale.pos_config_main",
]
)
2 changes: 1 addition & 1 deletion odoo/openupgrade/doc/source/modules120-130.rst
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ missing in the new release are marked with |del|.
+----------------------------------------------+-------------------------------------------------+
|pos_restaurant | |
+----------------------------------------------+-------------------------------------------------+
|pos_sale | |
|pos_sale | Done |
+----------------------------------------------+-------------------------------------------------+
| |new| pos_six | |
+----------------------------------------------+-------------------------------------------------+
Expand Down