Misc. tweaks per latest convention etc.
This commit is contained in:
parent
08887a9053
commit
bf13401687
|
@ -44,6 +44,7 @@ class ProductView(CoreOfficeMasterView):
|
|||
|
||||
labels = {
|
||||
'id': "ID",
|
||||
'store_id': "Store ID",
|
||||
'upc': "UPC",
|
||||
'department_number': "Dept. No.",
|
||||
'foodstamp': "Food Stamp",
|
||||
|
@ -263,7 +264,7 @@ class ProductView(CoreOfficeMasterView):
|
|||
},
|
||||
)
|
||||
return HTML.literal(
|
||||
g.render_buefy_table_element(data_prop='vendorItemsData'))
|
||||
g.render_table_element(data_prop='vendorItemsData'))
|
||||
|
||||
def template_kwargs_view(self, **kwargs):
|
||||
kwargs = super().template_kwargs_view(**kwargs)
|
||||
|
|
|
@ -50,6 +50,7 @@ class PersonViewSupplement(ViewSupplement):
|
|||
def configure_form(self, f):
|
||||
if not self.master.creating:
|
||||
f.append('corepos_customer_id')
|
||||
f.set_required('corepos_customer_id', False)
|
||||
|
||||
def get_version_child_classes(self):
|
||||
model = self.model
|
||||
|
|
Loading…
Reference in a new issue