Skip to content

Commit

Permalink
Merge pull request #1192 from VoicuStefan2001/15.0
Browse files Browse the repository at this point in the history
[UPD] deltatech_purchase_xls
  • Loading branch information
dhongu authored Jan 10, 2024
2 parents ee789f8 + 9b903e0 commit 8b54cb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deltatech_purchase_xls/report/purchase_xls.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def generate_xlsx_report(self, workbook, data, objs):
sheet.write(0, 2, "Name")
sheet.write(0, 3, "Qty")
sheet.write(0, 4, "Price")
sheet.write(0, 5, "Unit of Measure")
lin = 1
for order in objs:
for line in order.order_line:
Expand All @@ -37,4 +38,5 @@ def generate_xlsx_report(self, workbook, data, objs):
sheet.write(lin, 2, name or "")
sheet.write(lin, 3, line.product_qty)
sheet.write(lin, 4, line.price_unit)
sheet.write(lin, 5, line.product_uom.name)
lin += 1

0 comments on commit 8b54cb8

Please sign in to comment.