mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
is_cancelled always no in sle if voucher type = serial no
This commit is contained in:
@@ -75,7 +75,7 @@ class DocType(TransactionBase):
|
||||
'incoming_rate' : self.doc.purchase_rate,
|
||||
'company' : self.doc.company,
|
||||
'fiscal_year' : self.doc.fiscal_year,
|
||||
'is_cancelled' : 'No',
|
||||
'is_cancelled' : 'No', # is_cancelled is always 'No' because while deleted it can not find creation entry if it not created directly, voucher no != serial no.
|
||||
'batch_no' : '',
|
||||
'serial_no' : self.doc.name
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user