fix: add link to "resolved by" user for pending products

This commit is contained in:
Lance Edgar 2024-06-27 23:11:13 -05:00
parent 525a28f3fe
commit 067ca5bd43

View file

@ -2457,8 +2457,9 @@ class PendingProductView(MasterView):
# resolved*
if self.creating:
f.remove('resolved', 'resolved_by')
elif pending.resolved:
f.set_renderer('resolved_by', self.render_user)
else:
if not pending.resolved:
f.remove('resolved', 'resolved_by')
def render_status_code(self, pending, field):