Add some new vendor and product fields.

This commit is contained in:
Lance Edgar 2015-02-27 01:53:36 -06:00
parent 6ea032c591
commit 86db5181b8
2 changed files with 5 additions and 0 deletions

View file

@ -281,6 +281,7 @@ class ProductCrud(CrudView):
fs.description,
fs.size,
fs.unit_of_measure.label("Unit of Measure"),
fs.weighed,
fs.case_pack,
fs.department,
fs.subdepartment,
@ -292,6 +293,8 @@ class ProductCrud(CrudView):
fs.deposit_link,
fs.tax,
fs.organic,
fs.discountable,
fs.special_order,
fs.not_for_sale,
fs.deleted,
])

View file

@ -89,6 +89,8 @@ class VendorCrud(CrudView):
fs.id.label("ID"),
fs.name,
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.email.label("Email Address").readonly(),
fs.contact.with_renderer(PersonFieldRenderer).readonly(),