fix model backtrack

This commit is contained in:
Matthias 2022-05-01 00:09:17 +02:00
parent 9947cc2b08
commit 0c72fa180c
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -220,6 +220,7 @@ class PurchaseOrder(Order):
supplier = models.ForeignKey(
Company, on_delete=models.SET_NULL,
null=True,
limit_choices_to={
'is_supplier': True,
},