mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[IMP] account_document_reversal: black, isort
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
# Copyright 2019 Ecosoft Co., Ltd (http://ecosoft.co.th/)
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)
|
||||
from odoo import models, api
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class AccountDocumentReversal(models.AbstractModel):
|
||||
_name = 'account.document.reversal'
|
||||
_description = 'Abstract Module for Document Reversal'
|
||||
_name = "account.document.reversal"
|
||||
_description = "Abstract Module for Document Reversal"
|
||||
|
||||
@api.model
|
||||
def reverse_document_wizard(self):
|
||||
""" Return Wizard to Cancel Document """
|
||||
action = self.env.ref('account_document_reversal.'
|
||||
'action_view_reverse_account_document')
|
||||
action = self.env.ref(
|
||||
"account_document_reversal." "action_view_reverse_account_document"
|
||||
)
|
||||
vals = action.read()[0]
|
||||
return vals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user