Skip to content

Commit 54de397

Browse files
committed
[FIX] l10n_it_delivery_note: fix line display_type in invoice generation
1 parent 74d5cbd commit 54de397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

l10n_it_delivery_note/models/stock_delivery_note_line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def _prepare_invoice_line(self, **optional_values):
217217
price_unit = self.price_unit
218218

219219
res = {
220-
"display_type": "product",
220+
"display_type": self.display_type or "product",
221221
"name": product_name,
222222
"product_id": self.product_id.id,
223223
"product_uom_id": self.product_uom_id.id,

0 commit comments

Comments
 (0)