From e1dd8ec6a19febe27642dd2411aaaa1cf5c8bdaa Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 21 Nov 2018 10:22:04 +0100 Subject: Manage treatment with no creation new of item --- archaeological_warehouse/wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_warehouse/wizards.py') diff --git a/archaeological_warehouse/wizards.py b/archaeological_warehouse/wizards.py index 8ee2c2972..a0d46e892 100644 --- a/archaeological_warehouse/wizards.py +++ b/archaeological_warehouse/wizards.py @@ -49,7 +49,7 @@ class PackagingWizard(TreatmentWizard): def save_model(self, dct, m2m, whole_associated_models, form_list, return_object): - dct = self.get_extra_model(dct, form_list) + dct = self.get_extra_model(dct, m2m, form_list) obj = self.get_current_saved_object() dct['location'] = dct['container'].location items = None -- cgit v1.2.3