mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[OU] account_banking_mandate: Transfer mandate in invoices
account_banking_mandate 13.0.1.1.2
This commit is contained in:
committed by
Reyes4711
parent
0eef296b8d
commit
ca63a4b8f7
@@ -7,7 +7,7 @@
|
||||
{
|
||||
"name": "Account Banking Mandate",
|
||||
"summary": "Banking mandates",
|
||||
"version": "13.0.1.1.1",
|
||||
"version": "13.0.1.1.2",
|
||||
"license": "AGPL-3",
|
||||
"author": "Compassion CH, "
|
||||
"Tecnativa, "
|
||||
|
||||
@@ -9,3 +9,11 @@ def migrate(env, version):
|
||||
openupgrade.load_data(
|
||||
env.cr, "account_banking_mandate", "migrations/13.0.1.0.0/noupdate_changes.xml"
|
||||
)
|
||||
openupgrade.logged_query(
|
||||
env.cr,
|
||||
"""
|
||||
UPDATE account_move am
|
||||
SET mandate_id = ai.mandate_id
|
||||
FROM account_invoice ai
|
||||
WHERE ai.id = am.old_invoice_id""",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user