Make Person.employee field readonly
This commit is contained in:
parent
a03083efdd
commit
db0eaf8eb0
|
@ -126,7 +126,7 @@ class PeopleView(MasterView):
|
||||||
fs.phone.set(label="Phone Number", readonly=True)
|
fs.phone.set(label="Phone Number", readonly=True)
|
||||||
fs.email.set(label="Email Address", readonly=True)
|
fs.email.set(label="Email Address", readonly=True)
|
||||||
fs.address.set(label="Mailing Address", readonly=True)
|
fs.address.set(label="Mailing Address", readonly=True)
|
||||||
fs.employee.set(renderer=forms.renderers.EmployeeFieldRenderer, attrs={'hyperlink': True})
|
fs.employee.set(renderer=forms.renderers.EmployeeFieldRenderer, attrs={'hyperlink': True}, readonly=True)
|
||||||
fs._customers.set(renderer=CustomersFieldRenderer, readonly=True)
|
fs._customers.set(renderer=CustomersFieldRenderer, readonly=True)
|
||||||
|
|
||||||
def configure_fieldset(self, fs):
|
def configure_fieldset(self, fs):
|
||||||
|
|
Loading…
Reference in a new issue