From 10bc41f041e1a1afac1dfe05dde286836c9147ac Mon Sep 17 00:00:00 2001 From: Anna Janiszewska Date: Mon, 17 Jun 2024 10:41:07 +0200 Subject: [PATCH] [IMP] product_import_ubl: add sale_delay --- product_import_ubl/wizard/product_import.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product_import_ubl/wizard/product_import.py b/product_import_ubl/wizard/product_import.py index 9efce24940..ee5d1b3c2d 100644 --- a/product_import_ubl/wizard/product_import.py +++ b/product_import_ubl/wizard/product_import.py @@ -86,6 +86,7 @@ def parse_ubl_catalogue_line(self, line, ns): ), "weight": float(ele_weight.text or 0), "weight_uom": {"unece_code": weight_unit} if weight_unit else False, + "sale_delay": xline.text("cac:RequiredItemLocationQuantity/cbc:LeadTimeMeasure"), # Seller info "price": float(ele_price.text or 0), "currency": {"iso": currency} if currency else False,