-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add Partly Paid
status in Invoices
#27310
Conversation
feb7903
to
47bf78a
Compare
cool |
Codecov Report
@@ Coverage Diff @@
## develop #27310 +/- ##
===========================================
+ Coverage 54.51% 54.54% +0.03%
===========================================
Files 1333 1333
Lines 70731 70737 +6
===========================================
+ Hits 38556 38586 +30
+ Misses 32175 32151 -24
|
@pruthvi145 please sort the imports with You can ignore errors that are not from your change... we will take care of them 😅 |
Done! I have sorted for all files(2). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, looks good to me. Thanks for your work, @pruthvi145!
I think we should add a unit test for Partly Paid status to make this PR complete.
e05b016
to
bbfff24
Compare
9d17a18
to
0e979e3
Compare
Partly Paid
statePartly Paid
status in Invoices
}, | ||
{ | ||
"fieldname": "scan_barcode", | ||
"fieldtype": "Data", | ||
"label": "Scan Barcode", | ||
"options": "Barcode" | ||
"label": "Scan Barcode" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"label": "Scan Barcode" | |
"label": "Scan Barcode", | |
"options": "Barcode" |
@@ -15,6 +15,7 @@ frappe.listview_settings['Sales Invoice'] = { | |||
"Unpaid and Discounted": "orange", | |||
"Overdue and Discounted": "red", | |||
"Overdue": "red", | |||
"Partly Paid": "yellow", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Partly Paid": "yellow", | |
"Partly Paid": "yellow", | |
"Partly Paid and Discounted": "yellow", |
getdate()
instead ofCURDATE()
to get accurate dates based on timezones set in System Settings.Behaviour
If a part of the invoice amount has been received,
Partly Paid
state will be shown (instead ofUnpaid
). If any scheduled payment (as specified in the Payment Schedule table) is pending beyond it's due date, theOverdue
state will be shown.Documentation
https://docs.erpnext.com/docs/v13/user/manual/en/accounts/purchase-invoice/edit?wiki_page_patch=a8b85aba51
https://docs.erpnext.com/docs/v13/user/manual/en/accounts/sales-invoice/edit?wiki_page_patch=709cb5df15