Add basic support for "mobile edit" of records

specifically need to allow this for Customer records, for one app
This commit is contained in:
Lance Edgar 2019-02-19 17:10:02 -06:00
parent 37a8bfd6f5
commit b0b551af82
8 changed files with 88 additions and 22 deletions

View file

@ -238,7 +238,9 @@ class MessagesView(MasterView):
elif self.viewing:
f.remove('body')
def objectify(self, form, data):
def objectify(self, form, data=None):
if data is None:
data = form.validated
message = super(MessagesView, self).objectify(form, data)
if self.creating: