feat: serial and batch bundle for Packing Items

This commit is contained in:
Rohit Waghchaure
2023-03-17 16:42:59 +05:30
parent 9c097e85f8
commit 674bd3e2e5
8 changed files with 40 additions and 12 deletions

View File

@@ -719,7 +719,7 @@ class StockController(AccountsController):
table_name = "items"
for row in self.get(table_name):
if row.serial_and_batch_bundle:
if row.get("serial_and_batch_bundle"):
frappe.get_doc(
"Serial and Batch Bundle", row.serial_and_batch_bundle
).set_serial_and_batch_values(self, row)