Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
e0ed81ad1f | |||
ece7481e9e | |||
50d4526e0b | |||
3f0a0b4227 | |||
dcc9626b23 | |||
79eb077129 | |||
d5719ad223 | |||
eb3fa8f414 | |||
937908717b | |||
0104fa4c21 |
@ -38,3 +38,4 @@ python:
|
|||||||
install:
|
install:
|
||||||
- method: pip
|
- method: pip
|
||||||
path: .
|
path: .
|
||||||
|
- requirements: docs/requirements.txt
|
||||||
|
1
docs/requirements.txt
Normal file
1
docs/requirements.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
sphinx_rtd_theme
|
@ -2,6 +2,51 @@ Change Log
|
|||||||
==========
|
==========
|
||||||
|
|
||||||
|
|
||||||
|
Version 1.5.11
|
||||||
|
--------------
|
||||||
|
|
||||||
|
Released 2023/12/26
|
||||||
|
|
||||||
|
Bug fix.
|
||||||
|
|
||||||
|
* Refined to enable the selection of the 3351-001 Accumulated Profit or Loss
|
||||||
|
account.
|
||||||
|
|
||||||
|
|
||||||
|
Version 1.5.10
|
||||||
|
--------------
|
||||||
|
|
||||||
|
Released 2023/11/28
|
||||||
|
|
||||||
|
Bug fix.
|
||||||
|
|
||||||
|
* Fixed the form validator to enable the selection of Accumulated Profit or
|
||||||
|
Loss accounts other than 3351-001.
|
||||||
|
|
||||||
|
|
||||||
|
Version 1.5.9
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Released 2023/11/28
|
||||||
|
|
||||||
|
Bug fix.
|
||||||
|
|
||||||
|
* Refined to enable the selection of Accumulated Profit or Loss accounts other
|
||||||
|
than 3351-001, facilitating the consolidation of existing balances.
|
||||||
|
|
||||||
|
|
||||||
|
Version 1.5.8
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Released 2023/10/24
|
||||||
|
|
||||||
|
Bug fix.
|
||||||
|
|
||||||
|
* Fixed an icon in the detail of the cash receipt journal entry.
|
||||||
|
|
||||||
|
Released at Jaipur, India on vacation.
|
||||||
|
|
||||||
|
|
||||||
Version 1.5.7
|
Version 1.5.7
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ from flask_sqlalchemy import SQLAlchemy
|
|||||||
|
|
||||||
from accounting.utils.user import UserUtilityInterface
|
from accounting.utils.user import UserUtilityInterface
|
||||||
|
|
||||||
VERSION: str = "1.5.7"
|
VERSION: str = "1.5.11"
|
||||||
"""The package version."""
|
"""The package version."""
|
||||||
db: SQLAlchemy = SQLAlchemy()
|
db: SQLAlchemy = SQLAlchemy()
|
||||||
"""The database instance."""
|
"""The database instance."""
|
||||||
|
@ -71,7 +71,6 @@ class IsDebitAccount:
|
|||||||
if field.data is None:
|
if field.data is None:
|
||||||
return
|
return
|
||||||
if re.match(r"^(?:[1235689]|7[5678])", field.data) \
|
if re.match(r"^(?:[1235689]|7[5678])", field.data) \
|
||||||
and not field.data.startswith("3351-") \
|
|
||||||
and not field.data.startswith("3353-"):
|
and not field.data.startswith("3353-"):
|
||||||
return
|
return
|
||||||
raise ValidationError(self.__message)
|
raise ValidationError(self.__message)
|
||||||
@ -92,7 +91,6 @@ class IsCreditAccount:
|
|||||||
if field.data is None:
|
if field.data is None:
|
||||||
return
|
return
|
||||||
if re.match(r"^(?:[123489]|7[1234])", field.data) \
|
if re.match(r"^(?:[123489]|7[1234])", field.data) \
|
||||||
and not field.data.startswith("3351-") \
|
|
||||||
and not field.data.startswith("3353-"):
|
and not field.data.startswith("3353-"):
|
||||||
return
|
return
|
||||||
raise ValidationError(self.__message)
|
raise ValidationError(self.__message)
|
||||||
|
@ -304,7 +304,6 @@ class Account(db.Model):
|
|||||||
cls.base_code.startswith("78"),
|
cls.base_code.startswith("78"),
|
||||||
cls.base_code.startswith("8"),
|
cls.base_code.startswith("8"),
|
||||||
cls.base_code.startswith("9")),
|
cls.base_code.startswith("9")),
|
||||||
cls.base_code != "3351",
|
|
||||||
cls.base_code != "3353")\
|
cls.base_code != "3353")\
|
||||||
.order_by(cls.base_code, cls.no).all()
|
.order_by(cls.base_code, cls.no).all()
|
||||||
|
|
||||||
@ -326,7 +325,6 @@ class Account(db.Model):
|
|||||||
cls.base_code.startswith("74"),
|
cls.base_code.startswith("74"),
|
||||||
cls.base_code.startswith("8"),
|
cls.base_code.startswith("8"),
|
||||||
cls.base_code.startswith("9")),
|
cls.base_code.startswith("9")),
|
||||||
cls.base_code != "3351",
|
|
||||||
cls.base_code != "3353")\
|
cls.base_code != "3353")\
|
||||||
.order_by(cls.base_code, cls.no).all()
|
.order_by(cls.base_code, cls.no).all()
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ First written: 2023/2/26
|
|||||||
|
|
||||||
{% block as_trasfer %}
|
{% block as_trasfer %}
|
||||||
<a class="btn btn-primary" role="button" href="{{ url_for("accounting.journal-entry.edit", journal_entry=obj)|accounting_journal_entry_to_transfer|accounting_inherit_next }}">
|
<a class="btn btn-primary" role="button" href="{{ url_for("accounting.journal-entry.edit", journal_entry=obj)|accounting_journal_entry_to_transfer|accounting_inherit_next }}">
|
||||||
<i class="fa-solid fa-bars-staggered"></i>
|
<i class="fa-solid fa-table-columns"></i>
|
||||||
<span class="d-none d-md-inline">{{ A_("As Transfer") }}</span>
|
<span class="d-none d-md-inline">{{ A_("As Transfer") }}</span>
|
||||||
</a>
|
</a>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user