bugfix
This commit is contained in:
parent
58998ed385
commit
eafa56eca7
@ -38,6 +38,7 @@ class Accounting:
|
|||||||
get_account(leg,accounting_orgid) 获得记账账号(通过科目,机构类型,账务机构确定一个唯一的账号)
|
get_account(leg,accounting_orgid) 获得记账账号(通过科目,机构类型,账务机构确定一个唯一的账号)
|
||||||
"""
|
"""
|
||||||
def __init__(self, caller):
|
def __init__(self, caller):
|
||||||
|
debug(f'caller={caller}')
|
||||||
if isinstance(caller, list):
|
if isinstance(caller, list):
|
||||||
self.callers = caller
|
self.callers = caller
|
||||||
caller = self.callers[0]
|
caller = self.callers[0]
|
||||||
@ -47,6 +48,7 @@ class Accounting:
|
|||||||
|
|
||||||
async def setup_all_accounting_legs(self):
|
async def setup_all_accounting_legs(self):
|
||||||
self.accounting_legs = []
|
self.accounting_legs = []
|
||||||
|
debug(f'{self.callers=}')
|
||||||
for caller in self.callers:
|
for caller in self.callers:
|
||||||
self.caller = caller
|
self.caller = caller
|
||||||
self.curdate = caller.curdate
|
self.curdate = caller.curdate
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user