[FIX] payment_alipay: Remove wrong decorator
Remove the wrong decorator from the write method. closes odoo/odoo#46010 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
This commit is contained in:
@@ -134,7 +134,6 @@ class PaymentTransaction(models.Model):
|
||||
"""))
|
||||
return True
|
||||
|
||||
@api.model
|
||||
def write(self, vals):
|
||||
if vals.get('currency_id') or vals.get('acquirer_id'):
|
||||
for payment in self:
|
||||
|
||||
Reference in New Issue
Block a user