When timesheet status equal to completed ?
i got it Cancelled, submitted, payslip, billed, draft
but when completed status show not able to find out
When your timesheet in linked with sales invoice
1 Like
as i try timesheet sales invoice create then status equal to ‘Billed’
def set_status(self):
self.status = {“0”: “Draft”, “1”: “Submitted”, “2”: “Cancelled”}[str(self.docstatus or 0)]
if flt(self.per_billed, self.precision("per_billed")) >= 100.0:
self.status = "Billed"
if self.sales_invoice:
self.status = "Completed"
1 Like