forked from OCA/OpenUpgrade
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ece8807
commit a7b5492
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
openupgrade_scripts/scripts/pos_sale/15.0.1.1/post-migration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright 2023-Today: GRAP - Sylvain LE GAL | ||
# 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", "15.0.1.1/noupdate_changes.xml") |
23 changes: 23 additions & 0 deletions
23
openupgrade_scripts/scripts/pos_sale/15.0.1.1/upgrade_analysis_work.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
---Models in module 'pos_sale'--- | ||
---Fields in module 'pos_sale'--- | ||
pos_sale / pos.config / down_payment_product_id (many2one): NEW relation: product.product | ||
pos_sale / pos.order.line / down_payment_details (text) : NEW | ||
# Nothing to do: New fields related to the new down payment features | ||
|
||
pos_sale / pos.order.line / sale_order_line_id (many2one) : NEW relation: sale.order.line | ||
pos_sale / pos.order.line / sale_order_origin_id (many2one): NEW relation: sale.order | ||
pos_sale / sale.order / pos_order_line_ids (one2many) : NEW relation: pos.order.line | ||
pos_sale / sale.order.line / pos_order_line_ids (one2many) : NEW relation: pos.order.line | ||
# Nothing to do: New fields related to new feature that allows to load sale.order in the Point of Sale | ||
|
||
---XML records in module 'pos_sale'--- | ||
NEW ir.ui.view: pos_sale.crm_team_view_kanban_dashboard | ||
NEW ir.ui.view: pos_sale.message_body | ||
NEW ir.ui.view: pos_sale.report_invoice_document | ||
NEW ir.ui.view: pos_sale.view_order_form_inherit_pos_sale | ||
NEW ir.ui.view: pos_sale.view_pos_order_form_inherit_pos_sale | ||
DEL ir.ui.view: pos_sale.crm_team_salesteams_view_kanban_inherit_pos_sale | ||
# Nothing to do: New views. | ||
|
||
NEW product.product: pos_sale.default_downpayment_product (noupdate) | ||
# Load new data in post-migration.py |