fix: deduplicate after finishing the repost (#28803)
Not really a bug but avoids potential of prematurely skipping something if failure occurs and failure isn't resolved.
This commit is contained in:
parent
f043f59324
commit
c64d5028b4
@ -168,8 +168,8 @@ def repost_entries():
|
||||
for row in riv_entries:
|
||||
doc = frappe.get_doc('Repost Item Valuation', row.name)
|
||||
if doc.status in ('Queued', 'In Progress'):
|
||||
doc.deduplicate_similar_repost()
|
||||
repost(doc)
|
||||
doc.deduplicate_similar_repost()
|
||||
|
||||
riv_entries = get_repost_item_valuation_entries()
|
||||
if riv_entries:
|
||||
|
Loading…
x
Reference in New Issue
Block a user