diff --git a/account_ebics/__manifest__.py b/account_ebics/__manifest__.py index 9998d3f..eacfa80 100644 --- a/account_ebics/__manifest__.py +++ b/account_ebics/__manifest__.py @@ -3,7 +3,7 @@ { 'name': 'EBICS banking protocol', - 'version': '11.0.1.4.0', + 'version': '11.0.1.5.0', 'license': 'AGPL-3', 'author': 'Noviat', 'category': 'Accounting & Finance', diff --git a/account_ebics/models/ebics_config.py b/account_ebics/models/ebics_config.py index 6b85a9e..e515826 100644 --- a/account_ebics/models/ebics_config.py +++ b/account_ebics/models/ebics_config.py @@ -259,6 +259,10 @@ class EbicsConfig(models.Model): def set_to_draft(self): return self.write({'state': 'draft'}) + @api.multi + def set_to_get_bank_keys(self): + return self.write({'state': 'get_bank_keys'}) + @api.multi def set_to_active(self): return self.write({'state': 'active'}) diff --git a/account_ebics/views/ebics_config.xml b/account_ebics/views/ebics_config.xml index 2bf6497..b9a70e9 100644 --- a/account_ebics/views/ebics_config.xml +++ b/account_ebics/views/ebics_config.xml @@ -25,6 +25,9 @@