Add "price required" flag to product view

This commit is contained in:
Lance Edgar 2017-12-20 19:01:53 -06:00
parent c0cb3d70ff
commit 9f14d01c22
2 changed files with 2 additions and 0 deletions

View file

@ -121,6 +121,7 @@
</%def> </%def>
<%def name="render_price_fields(form)"> <%def name="render_price_fields(form)">
${render_field_readonly(form.fieldset.price_required)}
${render_field_readonly(form.fieldset.regular_price)} ${render_field_readonly(form.fieldset.regular_price)}
${render_field_readonly(form.fieldset.current_price)} ${render_field_readonly(form.fieldset.current_price)}
${render_field_readonly(form.fieldset.current_price_ends)} ${render_field_readonly(form.fieldset.current_price_ends)}

View file

@ -350,6 +350,7 @@ class ProductsView(MasterView):
fs.category, fs.category,
fs.family, fs.family,
fs.report_code, fs.report_code,
fs.price_required,
fs.regular_price, fs.regular_price,
fs.current_price, fs.current_price,
fs.current_price_ends, fs.current_price_ends,