This commit is contained in:
yumoqing 2026-02-12 14:16:28 +08:00
parent 9c98265898
commit 0d8440390c

View File

@ -69,8 +69,8 @@ class Accounting:
self.accounting_legs, self.accounting_legs,
key=lambda x: ( key=lambda x: (
x.get('accounting_orgid','0'), x.get('accounting_orgid','0'),
x.get('orgid'), x.get('orgid', ''),
x.get('subjectid'), x.get('subjectid', ''),
0 if x.get('acc_dir', '0') == x.get('balance_at', '0') else 1 0 if x.get('acc_dir', '0') == x.get('balance_at', '0') else 1
) )
) )