Revision 6da04174 snf-astakos-app/astakos/im/forms.py

b/snf-astakos-app/astakos/im/forms.py
900 900

  
901 901
    def save(self, commit=True):
902 902
        data = dict(self.cleaned_data)
903
        data['precursor_application'] = self.instance.id
903
        data['precursor_id'] = self.instance.id
904 904
        is_new = self.instance.id is None
905 905
        data['owner'] = self.user if is_new else self.instance.owner
906 906
        data['resource_policies'] = self.cleaned_resource_policies()
907
        submit_application(data, request_user=self.user)
907
        data['request_user'] = self.user
908
        submit_application(**data)
909

  
908 910

  
909 911
class ProjectSortForm(forms.Form):
910 912
    sorting = forms.ChoiceField(

Also available in: Unified diff