File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
openupgrade_scripts/scripts/account_payment/19.0.2.0 Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Module coverage 18.0 -> 19.0
2222+---------------------------------------------------+----------------------+-------------------------------------------------+
2323| account_fleet | |No DB layout changes. |
2424+---------------------------------------------------+----------------------+-------------------------------------------------+
25- | account_payment | | |
25+ | account_payment |Done | |
2626+---------------------------------------------------+----------------------+-------------------------------------------------+
2727| account_peppol | | |
2828+---------------------------------------------------+----------------------+-------------------------------------------------+
Original file line number Diff line number Diff line change 1+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+ from openupgradelib import openupgrade
3+
4+ _deleted_xmlids = [
5+ "account_payment.onboarding_onboarding_step_payment_provider" ,
6+ ]
7+
8+
9+ @openupgrade .migrate ()
10+ def migrate (env , version ):
11+ openupgrade .delete_records_safely_by_xml_id (env , _deleted_xmlids )
Original file line number Diff line number Diff line change 1+ ---Models in module 'account_payment'---
2+ ---Fields in module 'account_payment'---
3+ ---XML records in module 'account_payment'---
4+ DEL onboarding.onboarding.step: account_payment.onboarding_onboarding_step_payment_provider (noupdate)
5+
6+ # DONE: deleted in post-migration
You can’t perform that action at this time.
0 commit comments