mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-11-02 08:34:32 +01:00
Tests
This commit is contained in:
@@ -74,7 +74,6 @@ class InvoiceCreateView(ProtectQuerysetMixin, ProtectedCreateView):
|
||||
|
||||
# For each product, we save it
|
||||
formset = ProductFormSet(self.request.POST, instance=form.instance)
|
||||
print(formset)
|
||||
if formset.is_valid():
|
||||
for f in formset:
|
||||
# We don't save the product if the designation is not entered, ie. if the line is empty
|
||||
|
||||
Reference in New Issue
Block a user