mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-22 10:49:59 +00:00
feat(delivery-note): add status indicator when document is partially billed
(cherry picked from commit 7767000ccf)
This commit is contained in:
committed by
Mergify
parent
0552b48328
commit
6048add4c0
@@ -91,7 +91,8 @@ status_map = {
|
||||
],
|
||||
"Delivery Note": [
|
||||
["Draft", None],
|
||||
["To Bill", "eval:self.per_billed < 100 and self.docstatus == 1"],
|
||||
["To Bill", "eval:self.per_billed == 0 and self.docstatus == 1"],
|
||||
["Partially Billed", "eval:self.per_billed < 100 and self.per_billed > 0 and self.docstatus == 1"],
|
||||
["Completed", "eval:self.per_billed == 100 and self.docstatus == 1"],
|
||||
["Return Issued", "eval:self.per_returned == 100 and self.docstatus == 1"],
|
||||
["Return", "eval:self.is_return == 1 and self.per_billed == 0 and self.docstatus == 1"],
|
||||
|
||||
Reference in New Issue
Block a user