Improve "refresh contact", show new fields in green for custorder

only showing new "customer" fields in green so far
This commit is contained in:
Lance Edgar 2021-10-17 17:28:28 -04:00
parent 52fbe73893
commit ab33b49218
3 changed files with 42 additions and 9 deletions

View file

@ -490,6 +490,8 @@ class PendingCustomerView(MasterView):
'address_zipcode',
'address_type',
'status_code',
'created',
'user',
]
def configure_grid(self, g):
@ -506,6 +508,8 @@ class PendingCustomerView(MasterView):
f.set_enum('status_code', self.enum.PENDING_CUSTOMER_STATUS)
f.set_renderer('user', self.render_user)
# # TODO: this is referenced by some custom apps, but should be moved??
# def unique_id(value, field):

View file

@ -63,6 +63,7 @@ class CustomerOrderBatchView(BatchMasterView):
'customer',
'person',
'pending_customer',
'contact_name',
'phone_number',
'email_address',
'params',