mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-27 14:37:25 +00:00
Merge pull request #20 from Noviat/16.0
Syncing from upstream Noviat/account_ebics (16.0)
This commit is contained in:
commit
fe29bcfb7e
@ -449,10 +449,9 @@ class EbicsXfer(models.TransientModel):
|
|||||||
return ebics_file
|
return ebics_file
|
||||||
|
|
||||||
def _payment_order_postprocess(self, ebics_file):
|
def _payment_order_postprocess(self, ebics_file):
|
||||||
order = self.env[self.env.context["active_model"]].browse(
|
active_model = self.env.context.get("active_model")
|
||||||
self.env.context.get("active_id")
|
if active_model == "account.payment.order":
|
||||||
)
|
order = self.env[active_model].browse(self.env.context["active_id"])
|
||||||
if order._name == "account.payment.order":
|
|
||||||
order.generated2uploaded()
|
order.generated2uploaded()
|
||||||
|
|
||||||
def _setup_client(self):
|
def _setup_client(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user