fix: add link to "resolved by" user for pending products
This commit is contained in:
parent
525a28f3fe
commit
067ca5bd43
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue