mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[MIG] account_payment_order_notification: Migration to 14.0
TT40457
This commit is contained in:
committed by
Yadier A. De Quesada
parent
143f2a7e2b
commit
d0f4e1b67c
@@ -30,7 +30,7 @@ class AccountPaymentOrder(models.Model):
|
||||
"account_payment_order_notification",
|
||||
"account_payment_order_notification_action",
|
||||
)
|
||||
action = self.env.ref(xml_id).read()[0]
|
||||
action = self.env["ir.actions.act_window"]._for_xml_id(xml_id)
|
||||
action["domain"] = [("order_id", "=", self.id)]
|
||||
return action
|
||||
|
||||
|
||||
Reference in New Issue
Block a user