fix: TypeError in Subcontracting Receipt (cherry picked from commit f6e93f084aadf82f444edb112cc9832b53294b15) Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
This commit is contained in:
parent
2186e1cce4
commit
3f57a7e9f0
@ -401,7 +401,7 @@ class SerialandBatchBundle(Document):
|
||||
|
||||
if abs(abs(flt(self.total_qty, precision)) - abs(flt(row.get(qty_field), precision))) > 0.01:
|
||||
self.throw_error_message(
|
||||
f"Total quantity {abs(self.total_qty)} in the Serial and Batch Bundle {bold(self.name)} does not match with the quantity {abs(row.get(qty_field))} for the Item {bold(self.item_code)} in the {self.voucher_type} # {self.voucher_no}"
|
||||
f"Total quantity {abs(flt(self.total_qty))} in the Serial and Batch Bundle {bold(self.name)} does not match with the quantity {abs(flt(row.get(qty_field)))} for the Item {bold(self.item_code)} in the {self.voucher_type} # {self.voucher_no}"
|
||||
)
|
||||
|
||||
def set_is_outward(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user