Moved the order from the data models to the reports in the accounting application.

This commit is contained in:
2020-07-21 19:38:01 +08:00
parent 090f3dc3a5
commit 5a48e07ef6
2 changed files with 116 additions and 95 deletions

View File

@ -79,7 +79,6 @@ class Account(models.Model):
class Meta:
db_table = "accounting_accounts"
ordering = ["code"]
class Transaction(models.Model):
@ -197,7 +196,6 @@ class Transaction(models.Model):
class Meta:
db_table = "accounting_transactions"
ordering = ["date", "ord"]
class Record(models.Model):
@ -325,7 +323,6 @@ class Record(models.Model):
class Meta:
db_table = "accounting_records"
ordering = ["is_credit", "ord"]
class RecordSummary(models.Model):