diff --git a/accounting/models.py b/accounting/models.py index fdeef20..3f2ae64 100644 --- a/accounting/models.py +++ b/accounting/models.py @@ -63,9 +63,6 @@ class Account(DirtyFieldsMixin, BaseModel): super().save(force_insert=force_insert, force_update=force_update, using=using, update_fields=update_fields) - class Meta: - db_table = "accounting_accounts" - @property def title(self) -> str: """The title in the current language.""" @@ -200,9 +197,6 @@ class Transaction(DirtyFieldsMixin, BaseModel): for x in txn_to_sort: Transaction.objects.filter(pk=x[0].pk).update(ord=x[1]) - class Meta: - db_table = "accounting_transactions" - @property def records(self): """The records of the transaction. @@ -365,9 +359,6 @@ class Record(DirtyFieldsMixin, BaseModel): self.summary, self.amount) - class Meta: - db_table = "accounting_records" - @property def debit_amount(self) -> Optional[int]: """The debit amount of this accounting record."""