The Employee Advance List View does not show the Status field (Paid, Unpaid etc), instead, it shows Document Status (Draft, Submitted, Cancelled). I also noticed the employee_advance_list.js file seems to be missing in V12
Hope this can be fixed asap
Thanks for reporting that here
docstatus and status are distinct in the code, please post a screenshot or two to illustrate the missing or incorrect status?
self.get("__onload").make_payment_via_journal_entry = frappe.db.get_single_value('Accounts Settings',
if self.docstatus == 0:
self.status = "Draft"
if self.docstatus == 1:
if self.claimed_amount and flt(self.claimed_amount) == flt(self.paid_amount):
self.status = "Claimed"
elif self.paid_amount and self.advance_amount == flt(self.paid_amount):
self.status = "Paid"
self.status = "Unpaid"
elif self.docstatus == 2:
“employee_advance_list.js file seems to be missing in V12”
Perhaps this was removed from a refactoring, have you some error that would indicate the list is missing?
Note this “fix: (ux) set jv voucher type depending on mode of payment” commit to develop just now