diff --git a/addons/account_check_printing/account_payment.py b/addons/account_check_printing/account_payment.py
index 61edba92e69..68850f7c206 100644
--- a/addons/account_check_printing/account_payment.py
+++ b/addons/account_check_printing/account_payment.py
@@ -125,6 +125,10 @@ class account_payment(models.Model):
else:
return self.do_print_checks()
+ @api.multi
+ def unmark_sent(self):
+ self.write({'state': 'posted'})
+
@api.multi
def do_print_checks(self):
""" This method is a hook for l10n_xx_check_printing modules to implement actual check printing capabilities """
diff --git a/addons/account_check_printing/views/account_payment_view.xml b/addons/account_check_printing/views/account_payment_view.xml
index 449cbd0ff9c..33fd221cda5 100644
--- a/addons/account_check_printing/views/account_payment_view.xml
+++ b/addons/account_check_printing/views/account_payment_view.xml
@@ -7,7 +7,8 @@
-
+
+