diff --git a/kenya_compliance/kenya_compliance/overrides/server/stock_ledger_entry.py b/kenya_compliance/kenya_compliance/overrides/server/stock_ledger_entry.py index 03d3050..e075eb6 100644 --- a/kenya_compliance/kenya_compliance/overrides/server/stock_ledger_entry.py +++ b/kenya_compliance/kenya_compliance/overrides/server/stock_ledger_entry.py @@ -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),