Skip to content

Commit fa14241

Browse files
Merge pull request OCA#5527 from hbrunn/19.0-account_payment
[19.0][MIG] account_payment
2 parents 2687c6c + 0274201 commit fa14241

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

docsource/modules180-190.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
+---------------------------------------------------+----------------------+-------------------------------------------------+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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

0 commit comments

Comments
 (0)