From 7acb6856380ec785610ac8fb7a2ace3469b34edc Mon Sep 17 00:00:00 2001 From: Ashish Baravaliya Date: Thu, 15 Aug 2024 23:03:50 -0400 Subject: [PATCH] feat: sales order updates --- d2h/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/d2h/api.py b/d2h/api.py index 29c50e2..a823f32 100644 --- a/d2h/api.py +++ b/d2h/api.py @@ -180,6 +180,7 @@ def create_delivery_note(sales_order, items): new_item.base_net_rate = item.get("base_net_rate") new_item.base_net_amount = item.get("base_net_amount") new_item.tax_rate = item.get("tax_rate") + new_item.serial_and_batch_bundle = item.get("serial_and_batch_bundle") delivery_note.insert(ignore_permissions=True)