0001-workflows-don-t-perform-export-to-model-if-no-model-.patch
wcs/wf/export_to_model.py | ||
---|---|---|
205 | 205 |
widget.backoffice_info_text = self.backoffice_info_text |
206 | 206 | |
207 | 207 |
def submit_form(self, form, formdata, user, evo): |
208 |
if not self.model_file: |
|
209 |
return |
|
208 | 210 |
if form.get_submit() == 'button%s' % self.id: |
209 | 211 |
if not evo.comment: |
210 | 212 |
evo.comment = _('Form exported in a model') |
211 |
- |