[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:
Swapnesh Shah
2020-02-22 18:24:19 +00:00
committed by GitHub
parent 81f3c4e81d
commit 6edc77941f
-1
View File
@@ -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: