-
-
Notifications
You must be signed in to change notification settings - Fork 700
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2845 from ForgeFlow/14.0-mig-sale_management
[14.0][OU-ADD] sale_management
- Loading branch information
Showing
5 changed files
with
39 additions
and
3 deletions.
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
4 changes: 2 additions & 2 deletions
4
openupgrade_scripts/scripts/sale_management/14.0.1.0/noupdate_changes.xml
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<odoo> | ||
<record id="sale_order_template_rule_company" model="ir.rule"> | ||
<!-- <record id="sale_order_template_rule_company" model="ir.rule"> | ||
<field name="global"/> | ||
</record> | ||
</record> --> | ||
</odoo> |
8 changes: 8 additions & 0 deletions
8
openupgrade_scripts/scripts/sale_management/14.0.1.0/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 2021 ForgeFlow S.L. <https://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, "sale_management", "14.0.1.0/noupdate_changes.xml") |
10 changes: 10 additions & 0 deletions
10
openupgrade_scripts/scripts/sale_management/14.0.1.0/pre-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,10 @@ | ||
# Copyright 2021 ForgeFlow S.L. <https://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.set_xml_ids_noupdate_value( | ||
env, "sale_management", ["sale_order_template_rule_company"], True | ||
) |
18 changes: 18 additions & 0 deletions
18
openupgrade_scripts/scripts/sale_management/14.0.1.0/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,18 @@ | ||
---Models in module 'sale_management'--- | ||
---Fields in module 'sale_management'--- | ||
sale_management / res.company / sale_order_template_id (many2one): NEW relation: sale.order.template | ||
# NOTHING TO DO: new feature | ||
|
||
sale_management / sale.order.template.line / discount (float) : DEL | ||
sale_management / sale.order.template.line / price_unit (float) : DEL required | ||
sale_management / sale.order.template.option / discount (float) : DEL | ||
sale_management / sale.order.template.option / price_unit (float) : DEL required | ||
# NOTHING TO DO: obsolete | ||
|
||
---XML records in module 'sale_management'--- | ||
NEW digest.tip: sale_management.digest_tip_sale1_management_0 (noupdate) | ||
NEW digest.tip: sale_management.digest_tip_sale_management_1 (noupdate) | ||
# NOTHING TO DO | ||
|
||
ir.rule: sale_management.sale_order_template_rule_company (noupdate) (noupdate switched) | ||
# DONE: pre-migration: switched noupdate |