Add support for per-item default discount, for new custorder

This commit is contained in:
Lance Edgar 2023-01-11 10:29:36 -06:00
parent dfa4178204
commit b8389c72bb
4 changed files with 72 additions and 8 deletions

View file

@ -891,6 +891,8 @@ class Form(object):
return json.dumps({'name': value['filename']})
return 'null'
app = self.request.rattail_config.get_app()
value = app.json_friendly(value)
return json.dumps(value)
def get_error_messages(self, field):