mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_payment_order: state not present in pre
This commit is contained in:
@@ -183,13 +183,6 @@ def populate_computed_fields(env):
|
||||
FROM account_payment_line apl
|
||||
WHERE apl.bank_line_id = bpl.id""",
|
||||
)
|
||||
openupgrade.logged_query(
|
||||
cr, """
|
||||
UPDATE bank_payment_line bpl
|
||||
SET state = apo.state
|
||||
FROM account_payment_order apo
|
||||
WHERE bpl.order_id = apo.id""",
|
||||
)
|
||||
openupgrade.logged_query(
|
||||
cr, """
|
||||
WITH currency_rate as (%s)
|
||||
|
||||
Reference in New Issue
Block a user