Make person, created by fields readonly when editing Person Note
This commit is contained in:
parent
44aa54f247
commit
4ce695d933
|
@ -468,7 +468,15 @@ class PersonNoteView(MasterView):
|
|||
def configure_form(self, f):
|
||||
super(PersonNoteView, self).configure_form(f)
|
||||
|
||||
# person
|
||||
f.set_readonly('person')
|
||||
f.set_renderer('person', self.render_person)
|
||||
|
||||
# created
|
||||
f.set_readonly('created')
|
||||
|
||||
# created_by
|
||||
f.set_readonly('created_by')
|
||||
f.set_renderer('created_by', self.render_user)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue