Add some new vendor and product fields.
This commit is contained in:
parent
6ea032c591
commit
86db5181b8
|
@ -281,6 +281,7 @@ class ProductCrud(CrudView):
|
||||||
fs.description,
|
fs.description,
|
||||||
fs.size,
|
fs.size,
|
||||||
fs.unit_of_measure.label("Unit of Measure"),
|
fs.unit_of_measure.label("Unit of Measure"),
|
||||||
|
fs.weighed,
|
||||||
fs.case_pack,
|
fs.case_pack,
|
||||||
fs.department,
|
fs.department,
|
||||||
fs.subdepartment,
|
fs.subdepartment,
|
||||||
|
@ -292,6 +293,8 @@ class ProductCrud(CrudView):
|
||||||
fs.deposit_link,
|
fs.deposit_link,
|
||||||
fs.tax,
|
fs.tax,
|
||||||
fs.organic,
|
fs.organic,
|
||||||
|
fs.discountable,
|
||||||
|
fs.special_order,
|
||||||
fs.not_for_sale,
|
fs.not_for_sale,
|
||||||
fs.deleted,
|
fs.deleted,
|
||||||
])
|
])
|
||||||
|
|
2
tailbone/views/vendors/core.py
vendored
2
tailbone/views/vendors/core.py
vendored
|
@ -89,6 +89,8 @@ class VendorCrud(CrudView):
|
||||||
fs.id.label("ID"),
|
fs.id.label("ID"),
|
||||||
fs.name,
|
fs.name,
|
||||||
fs.special_discount,
|
fs.special_discount,
|
||||||
|
fs.lead_time_days.label("Lead Time in Days"),
|
||||||
|
fs.order_interval_days.label("Order Interval in Days"),
|
||||||
fs.phone.label("Phone Number").readonly(),
|
fs.phone.label("Phone Number").readonly(),
|
||||||
fs.email.label("Email Address").readonly(),
|
fs.email.label("Email Address").readonly(),
|
||||||
fs.contact.with_renderer(PersonFieldRenderer).readonly(),
|
fs.contact.with_renderer(PersonFieldRenderer).readonly(),
|
||||||
|
|
Loading…
Reference in a new issue