fix: add return status for purchase receipt

(cherry picked from commit 3a0e1e8ef9)
This commit is contained in:
Pugazhendhi Velu
2025-11-13 08:54:44 +00:00
committed by Mergify
parent 6a46045804
commit 8ccb9a5ad2
5 changed files with 15 additions and 5 deletions

View File

@@ -93,6 +93,7 @@ status_map = {
["Draft", None],
["To Bill", "eval:self.per_billed == 0 and self.docstatus == 1"],
["Partly Billed", "eval:self.per_billed > 0 and self.per_billed < 100 and self.docstatus == 1"],
["Return", "eval:self.is_return == 1 and self.per_billed == 0 and self.docstatus == 1"],
["Return Issued", "eval:self.per_returned == 100 and self.docstatus == 1"],
[
"Completed",