Refined to enable the selection of Accumulated Profit or Loss accounts other than 3351-001, facilitating the consolidation of existing balances.
This commit is contained in:
parent
eb3fa8f414
commit
d5719ad223
@ -304,7 +304,8 @@ class Account(db.Model):
|
||||
cls.base_code.startswith("78"),
|
||||
cls.base_code.startswith("8"),
|
||||
cls.base_code.startswith("9")),
|
||||
cls.base_code != "3351",
|
||||
sa.not_(sa.and_(cls.base_code == "3351",
|
||||
cls.no == 1)),
|
||||
cls.base_code != "3353")\
|
||||
.order_by(cls.base_code, cls.no).all()
|
||||
|
||||
@ -326,7 +327,8 @@ class Account(db.Model):
|
||||
cls.base_code.startswith("74"),
|
||||
cls.base_code.startswith("8"),
|
||||
cls.base_code.startswith("9")),
|
||||
cls.base_code != "3351",
|
||||
sa.not_(sa.and_(cls.base_code == "3351",
|
||||
cls.no == 1)),
|
||||
cls.base_code != "3353")\
|
||||
.order_by(cls.base_code, cls.no).all()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user