mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-12-25 10:51:44 +00:00
Bank keys renewal button
This commit is contained in:
parent
910b8bec0a
commit
8e2c4f42ea
@ -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',
|
||||
|
@ -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'})
|
||||
|
@ -25,6 +25,9 @@
|
||||
<button name="set_to_draft" states="active" string="Set to Draft" type="object"
|
||||
groups="account.group_account_manager"
|
||||
help="Set to Draft in order to reinitialize your bank connection."/>
|
||||
<button name="set_to_get_bank_keys" states="active" string="Renew Bank Keys" type="object"
|
||||
groups="account.group_account_manager"
|
||||
help="Use this button to update the EBICS certificates of your bank."/>
|
||||
<button name="set_to_active" states="draft" string="Force Active" type="object"
|
||||
groups="account.group_account_manager"
|
||||
help="Use this button to bypass the EBICS initialization (e.g. in case you have manually transferred active EBICS keys from another system."/>
|
||||
|
Loading…
Reference in New Issue
Block a user