fix: update company in serial no doc (cherry picked from commit 7a04f0f7bab1bc36774d41b236e8c4421a6305bd) Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
This commit is contained in:
parent
d3c4bd7f5f
commit
00e86bf318
@ -283,6 +283,7 @@ class SerialBatchBundle:
|
||||
if (sn_table.purchase_document_no != self.sle.voucher_no and self.sle.is_cancelled != 1)
|
||||
else "Inactive",
|
||||
)
|
||||
.set(sn_table.company, self.sle.company)
|
||||
.where(sn_table.name.isin(serial_nos))
|
||||
).run()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user