diff --git a/tailbone/views/batch/pricing.py b/tailbone/views/batch/pricing.py index 200de6e6..0b16e853 100644 --- a/tailbone/views/batch/pricing.py +++ b/tailbone/views/batch/pricing.py @@ -96,10 +96,35 @@ class PricingBatchView(BatchMasterView): def _preconfigure_row_fieldset(self, fs): super(PricingBatchView, self)._preconfigure_row_fieldset(fs) + fs.upc.set(label="UPC") + fs.vendor.set(renderer=forms.renderers.VendorFieldRenderer) fs.old_price.set(renderer=forms.renderers.CurrencyFieldRenderer) fs.new_price.set(renderer=forms.renderers.CurrencyFieldRenderer) fs.price_diff.set(renderer=forms.renderers.CurrencyFieldRenderer) + def configure_row_fieldset(self, fs): + fs.configure( + include=[ + fs.sequence, + fs.product, + fs.upc, + fs.brand_name, + fs.description, + fs.size, + fs.department_number, + fs.department_name, + fs.vendor, + fs.regular_unit_cost, + fs.discounted_unit_cost, + fs.old_price, + fs.new_price, + fs.price_diff, + fs.price_margin, + fs.price_markup, + fs.status_code, + fs.status_text, + ]) + def includeme(config): PricingBatchView.defaults(config)