Remove some custom field labels for Vendor
should use `labels` dict if really needed, but they don't seem to be
This commit is contained in:
parent
32cfe58601
commit
dd2b634ed2
4
tailbone/views/vendors/core.py
vendored
4
tailbone/views/vendors/core.py
vendored
|
@ -89,10 +89,6 @@ class VendorsView(MasterView):
|
||||||
super(VendorsView, self).configure_form(f)
|
super(VendorsView, self).configure_form(f)
|
||||||
vendor = f.model_instance
|
vendor = f.model_instance
|
||||||
|
|
||||||
f.set_label('lead_time_days', "Lead Time in Days")
|
|
||||||
|
|
||||||
f.set_label('order_interval', "Order Interval in Days")
|
|
||||||
|
|
||||||
# default_phone
|
# default_phone
|
||||||
f.set_renderer('default_phone', self.render_default_phone)
|
f.set_renderer('default_phone', self.render_default_phone)
|
||||||
if not self.creating and vendor.phones:
|
if not self.creating and vendor.phones:
|
||||||
|
|
Loading…
Reference in a new issue