mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 22:19:18 +00:00
@@ -33,6 +33,8 @@ class Bin(Document):
|
|||||||
args["posting_date"] = nowdate()
|
args["posting_date"] = nowdate()
|
||||||
|
|
||||||
# update valuation and qty after transaction for post dated entry
|
# update valuation and qty after transaction for post dated entry
|
||||||
|
if args.get("is_cancelled") == "Yes" and via_landed_cost_voucher:
|
||||||
|
return
|
||||||
update_entries_after({
|
update_entries_after({
|
||||||
"item_code": self.item_code,
|
"item_code": self.item_code,
|
||||||
"warehouse": self.warehouse,
|
"warehouse": self.warehouse,
|
||||||
|
|||||||
Reference in New Issue
Block a user