diff options
Diffstat (limited to 'ishtar/furnitures/forms.py')
| -rw-r--r-- | ishtar/furnitures/forms.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py index b88fa19af..cb584ad01 100644 --- a/ishtar/furnitures/forms.py +++ b/ishtar/furnitures/forms.py @@ -95,8 +95,9 @@ class WarehouseForm(forms.Form):      mobile_phone = forms.CharField(label=_(u"Town"), max_length=18,                                     required=False) -    def save(self): +    def save(self, user):          dct = self.cleaned_data +        dct['history_modifier'] = user          dct['warehouse_type'] = models.WarehouseType.objects.get(                                                       pk=dct['warehouse_type'])          if 'person_in_charge' in dct and dct['person_in_charge']: | 
