This commit is contained in:
2026-01-29 13:17:11 +01:00
parent 94f15d66da
commit 2b3cf5c095
2 changed files with 5 additions and 5 deletions

View File

@@ -1892,7 +1892,7 @@ class Line(sequence_ordered(), ModelSQL, ModelView):
invoice_line.invoice_type = 'in'
if self.product:
if self.product.type == 'service' and not self.product.landed_cost:
invoice_line.account = self.product.account_expense_used
invoice_line.account = self.product.account_stock_in_used
else:
invoice_line.account = self.product.account_stock_in_used
if not invoice_line.account: