From 32cf1a63f8c44e8d718d6132b043ae745cae5318 Mon Sep 17 00:00:00 2001 From: Marwan Alwali Date: Sun, 16 Mar 2025 23:58:01 +0300 Subject: [PATCH] update --- inventory/forms.py | 2 +- .../__pycache__/__init__.cpython-311.pyc | Bin 146 -> 191 bytes .../0002_alter_saleorder_payment_method.py | 18 ++++++++++++++++++ inventory/models.py | 12 ++++++++++-- inventory/views.py | 18 ++++++++++++++++++ 5 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 inventory/migrations/0002_alter_saleorder_payment_method.py diff --git a/inventory/forms.py b/inventory/forms.py index 6cd912b5..d795922a 100644 --- a/inventory/forms.py +++ b/inventory/forms.py @@ -288,7 +288,7 @@ class CarFinanceForm(forms.ModelForm): class CarLocationForm(forms.ModelForm): class Meta: model = CarLocation - fields = ["showroom", "description"] + fields = ["car", "showroom", "description"] widgets = { "description": forms.Textarea(attrs={"rows": 2, "class": "form-control"}), } diff --git a/inventory/management/__pycache__/__init__.cpython-311.pyc b/inventory/management/__pycache__/__init__.cpython-311.pyc index f8712ed747ceb1755750244b22db7a76fe86bc0c..98179969c42524f34b586086c9ef1dd43e2aa573 100644 GIT binary patch delta 74 zcmbQlxSx?{IWI340}!NU&QF`jV`3DfA6lGRRIHzySX7>vmzYzYn3Jg=P??;OSd<%3 cl%JKFTvDu`oLCf}nOByYSCU^;InmV@0B2Jf