Renamed the "accounting.account.query", "accounting.base_account.query", "accounting.currency.query", and "accounting.transaction.query" modules to "accounting.account.queries", "accounting.base_account.queries", "accounting.currency.queries", and "accounting.transaction.queries", respectively. There will be more than one query in the next report module.

This commit is contained in:
2023-03-03 01:12:36 +08:00
parent 9cd9e90be0
commit 6957e52d0d
8 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""The currency query.
"""The currency queries.
"""
import sqlalchemy as sa

View File

@ -47,7 +47,7 @@ def list_currencies() -> str:
:return: The currency list.
"""
from .query import get_currency_query
from .queries import get_currency_query
currencies: list[Currency] = get_currency_query()
pagination: Pagination = Pagination[Currency](currencies)
return render_template("accounting/currency/list.html",