-
-
Notifications
You must be signed in to change notification settings - Fork 705
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 #2794 from ForgeFlow/14.0-mig-sales_team
[14.0][MIG] sales_team
- Loading branch information
Showing
23 changed files
with
211 additions
and
107 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
14 changes: 1 addition & 13 deletions
14
openupgrade_scripts/scripts/l10n_it_stock_ddt/14.0.0.1/upgrade_analysis.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 |
---|---|---|
@@ -1,16 +1,4 @@ | ||
---Models in module 'l10n_it_stock_ddt'--- | ||
---Fields in module 'l10n_it_stock_ddt'--- | ||
l10n_it_stock_ddt / stock.picking / l10n_it_ddt_number (char) : NEW | ||
l10n_it_stock_ddt / stock.picking / l10n_it_parcels (integer) : NEW hasdefault | ||
l10n_it_stock_ddt / stock.picking / l10n_it_transport_method (selection): NEW selection_keys: ['courier', 'recipient', 'sender'], hasdefault | ||
l10n_it_stock_ddt / stock.picking / l10n_it_transport_method_details (char): NEW | ||
l10n_it_stock_ddt / stock.picking / l10n_it_transport_reason (selection): NEW selection_keys: ['attemped_sale', 'evaluation', 'gift', 'loaned_use', 'outsourcing', 'repair', 'sale', 'substitution', 'transfer'], hasdefault | ||
l10n_it_stock_ddt / stock.picking.type / l10n_it_ddt_sequence_id (many2one): NEW relation: ir.sequence | ||
---XML records in module 'l10n_it_stock_ddt'--- | ||
NEW ir.actions.report: l10n_it_stock_ddt.action_report_ddt | ||
NEW ir.ui.view: l10n_it_stock_ddt.account_invoice_view_form_inherit_ddt | ||
NEW ir.ui.view: l10n_it_stock_ddt.my_view_name | ||
NEW ir.ui.view: l10n_it_stock_ddt.report_ddt_view | ||
NEW ir.ui.view: l10n_it_stock_ddt.view_picking_form_inherit_l10n_it_ddt | ||
NEW ir.ui.view: l10n_it_stock_ddt.view_picking_search_inherit_l10n_it_ddt | ||
NEW ir.ui.view: l10n_it_stock_ddt.view_picking_tree_inherit_l10n_it_ddt | ||
---nothing has changed in this module-- |
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
10 changes: 5 additions & 5 deletions
10
openupgrade_scripts/scripts/note/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,12 +1,12 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<odoo> | ||
<!-- <record id="note_note_create_unlink_global" model="ir.rule"> | ||
<field name="global"/> | ||
<record id="note_note_create_unlink_global" model="ir.rule"> | ||
<!-- <field name="global"/>--> | ||
</record> | ||
<record id="note_note_rule_global" model="ir.rule"> | ||
<field name="global"/> | ||
<!-- <field name="global"/>--> | ||
</record> | ||
<record id="note_stage_rule_global" model="ir.rule"> | ||
<field name="global"/> | ||
</record> --> | ||
<!-- <field name="global"/>--> | ||
</record> | ||
</odoo> |
2 changes: 1 addition & 1 deletion
2
openupgrade_scripts/scripts/payment_stripe/14.0.1.0/upgrade_analysis.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
---Models in module 'payment_stripe'--- | ||
---Fields in module 'payment_stripe'--- | ||
payment_stripe / payment.acquirer / provider (False) : selection_keys is now '['adyen', 'alipay', 'authorize', 'buckaroo', 'manual', 'odoo_adyen', 'ogone', 'paypal', 'payulatam', 'payumoney', 'sips', 'stripe']' ('['adyen', 'alipay', 'authorize', 'buckaroo', 'manual', 'ogone', 'paypal', 'payulatam', 'payumoney', 'sips', 'stripe']') | ||
payment_stripe / payment.acquirer / stripe_webhook_secret (char) : NEW | ||
---XML records in module 'payment_stripe'--- | ||
DEL ir.ui.view: payment_stripe_checkout_webhook.acquirer_form_stripe |
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
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
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
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
23 changes: 23 additions & 0 deletions
23
openupgrade_scripts/scripts/sales_team/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,23 @@ | ||
# 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): | ||
if openupgrade.table_exists(env.cr, "crm_lead_tag"): | ||
openupgrade.rename_models( | ||
env.cr, | ||
[ | ||
("crm.lead.tag", "crm.tag"), | ||
], | ||
) | ||
openupgrade.rename_tables( | ||
env.cr, | ||
[ | ||
("crm_lead_tag", "crm_tag"), | ||
], | ||
) | ||
openupgrade.set_xml_ids_noupdate_value( | ||
env, "sales_team", ["crm_rule_all_salesteam", "sale_team_comp_rule"], True | ||
) |
9 changes: 6 additions & 3 deletions
9
openupgrade_scripts/scripts/sales_team/14.0.1.0/upgrade_analysis.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
26 changes: 26 additions & 0 deletions
26
openupgrade_scripts/scripts/sales_team/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,26 @@ | ||
---Models in module 'sales_team'--- | ||
new model crm.tag (renamed from crm.lead.tag in module crm) | ||
# DONE: pre-migration: renamed model and tables | ||
|
||
---Fields in module 'sales_team'--- | ||
sales_team / crm.lead.tag / __last_update (datetime) : previously in module crm | ||
sales_team / crm.lead.tag / _order : previously in module crm | ||
sales_team / crm.lead.tag / color (integer) : previously in module crm | ||
sales_team / crm.lead.tag / display_name (char) : previously in module crm | ||
sales_team / crm.lead.tag / name (char) : previously in module crm | ||
# NOTHING TO DO | ||
|
||
---XML records in module 'sales_team'--- | ||
NEW ir.actions.act_window: sales_team.sales_team_crm_tag_action | ||
NEW ir.model.access: sales_team.access_crm_tag | ||
NEW ir.model.access: sales_team.access_crm_tag_manager | ||
NEW ir.model.access: sales_team.access_crm_tag_salesman | ||
# NOTHING TO DO | ||
|
||
ir.rule: sales_team.crm_rule_all_salesteam (noupdate) (noupdate switched) | ||
ir.rule: sales_team.sale_team_comp_rule (noupdate) (noupdate switched) | ||
# DONE: pre-migration: switched noupdate | ||
|
||
NEW ir.ui.view: sales_team.sales_team_crm_tag_view_form | ||
NEW ir.ui.view: sales_team.sales_team_crm_tag_view_tree | ||
# NOTHING TO DO |
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
Oops, something went wrong.