fix: ignore permissions while creating reposts

(cherry picked from commit 0a2964dc82)
This commit is contained in:
Ankush Menat
2021-11-24 15:55:31 +05:30
parent 1c485a8ae4
commit ccb8defc0b

View File

@@ -711,6 +711,7 @@ def create_item_wise_repost_entries(voucher_type, voucher_no, allow_zero_rate=Fa
repost_entry.posting_time = sle.posting_time
repost_entry.allow_zero_rate = allow_zero_rate
repost_entry.flags.ignore_links = True
repost_entry.flags.ignore_permissions = True
repost_entry.submit()
repost_entries.append(repost_entry)