mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-27 14:37:25 +00:00
Bank keys renewal button
This commit is contained in:
parent
9f116e776b
commit
1053f46981
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'EBICS banking protocol',
|
'name': 'EBICS banking protocol',
|
||||||
'version': '11.0.1.4.0',
|
'version': '11.0.1.5.0',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'author': 'Noviat',
|
'author': 'Noviat',
|
||||||
'category': 'Accounting & Finance',
|
'category': 'Accounting & Finance',
|
||||||
|
@ -259,6 +259,10 @@ class EbicsConfig(models.Model):
|
|||||||
def set_to_draft(self):
|
def set_to_draft(self):
|
||||||
return self.write({'state': 'draft'})
|
return self.write({'state': 'draft'})
|
||||||
|
|
||||||
|
@api.multi
|
||||||
|
def set_to_get_bank_keys(self):
|
||||||
|
return self.write({'state': 'get_bank_keys'})
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
def set_to_active(self):
|
def set_to_active(self):
|
||||||
return self.write({'state': 'active'})
|
return self.write({'state': 'active'})
|
||||||
|
@ -25,6 +25,9 @@
|
|||||||
<button name="set_to_draft" states="active" string="Set to Draft" type="object"
|
<button name="set_to_draft" states="active" string="Set to Draft" type="object"
|
||||||
groups="account.group_account_manager"
|
groups="account.group_account_manager"
|
||||||
help="Set to Draft in order to reinitialize your bank connection."/>
|
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"
|
<button name="set_to_active" states="draft" string="Force Active" type="object"
|
||||||
groups="account.group_account_manager"
|
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."/>
|
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