Add basic support for "mobile edit" of records
specifically need to allow this for Customer records, for one app
This commit is contained in:
parent
37a8bfd6f5
commit
b0b551af82
8 changed files with 88 additions and 22 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue