Skip to content

Commit

Permalink
Fix: corrected information being sent for stock movements.
Browse files Browse the repository at this point in the history
  • Loading branch information
GichanaMayaka committed Apr 28, 2024
1 parent 0bb816f commit f6bcef5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def on_update(doc: Document, method: str | None = None) -> None:
"sarNo": series_no,
"orgSarNo": series_no,
"regTyCd": "M",
"custTin": get_warehouse_branch_id(doc.warehouse) or None,
"custTin": None,
"custNm": None,
"custBhfId": "00",
"custBhfId": get_warehouse_branch_id(doc.warehouse) or "00",
"ocrnDt": record.posting_date.strftime("%Y%m%d"),
"totTaxblAmt": 0,
"totItemCnt": len(record.items),
Expand Down

0 comments on commit f6bcef5

Please sign in to comment.