Removed the default value of the accounting record order in the accounting application.
This commit is contained in:
parent
760c739864
commit
95ffeff8cb
@ -244,7 +244,7 @@ class Record(models.Model):
|
|||||||
Transaction, on_delete=models.CASCADE,
|
Transaction, on_delete=models.CASCADE,
|
||||||
db_column="transaction_sn")
|
db_column="transaction_sn")
|
||||||
is_credit = models.BooleanField()
|
is_credit = models.BooleanField()
|
||||||
ord = models.PositiveSmallIntegerField(default=1)
|
ord = models.PositiveSmallIntegerField()
|
||||||
account = models.ForeignKey(
|
account = models.ForeignKey(
|
||||||
Account, on_delete=models.PROTECT, db_column="account_sn")
|
Account, on_delete=models.PROTECT, db_column="account_sn")
|
||||||
summary = models.CharField(max_length=128, blank=True, null=True)
|
summary = models.CharField(max_length=128, blank=True, null=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user