Skip to content

Commit

Permalink
[IMP] product_import_ubl: add sale_delay
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaniszewska-dev committed Jun 17, 2024
1 parent 1de9d2b commit 10bc41f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions product_import_ubl/wizard/product_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 10bc41f

Please sign in to comment.