Skip to content

Commit

Permalink
Merge pull request #44124 from ruthra-kumar/add_partialy_billed_in_pu…
Browse files Browse the repository at this point in the history
…rchase_receipt

refactor: 'Partly Billed' status for Purchase Receipt
  • Loading branch information
ruthra-kumar authored Nov 13, 2024
2 parents 1383401 + c58bbd2 commit 6d4b0e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions erpnext/stock/doctype/purchase_receipt/purchase_receipt.json
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@
"no_copy": 1,
"oldfieldname": "status",
"oldfieldtype": "Select",
"options": "\nDraft\nTo Bill\nCompleted\nReturn Issued\nCancelled\nClosed",
"options": "\nDraft\nPartly Billed\nTo Bill\nCompleted\nReturn Issued\nCancelled\nClosed",
"print_hide": 1,
"print_width": "150px",
"read_only": 1,
Expand Down Expand Up @@ -1273,7 +1273,7 @@
"idx": 261,
"is_submittable": 1,
"links": [],
"modified": "2024-07-04 14:50:10.538472",
"modified": "2024-11-13 16:55:14.129055",
"modified_by": "Administrator",
"module": "Stock",
"name": "Purchase Receipt",
Expand Down
4 changes: 3 additions & 1 deletion erpnext/stock/doctype/purchase_receipt/purchase_receipt.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ class PurchaseReceipt(BuyingController):
shipping_address: DF.Link | None
shipping_address_display: DF.TextEditor | None
shipping_rule: DF.Link | None
status: DF.Literal["", "Draft", "To Bill", "Completed", "Return Issued", "Cancelled", "Closed"]
status: DF.Literal[
"", "Draft", "Partly Billed", "To Bill", "Completed", "Return Issued", "Cancelled", "Closed"
]
subcontracting_receipt: DF.Link | None
supplied_items: DF.Table[PurchaseReceiptItemSupplied]
supplier: DF.Link
Expand Down

0 comments on commit 6d4b0e2

Please sign in to comment.