29.01.26
This commit is contained in:
@@ -1891,6 +1891,8 @@ class Line(sequence_ordered(), ModelSQL, ModelView):
|
||||
self.product.supplier_taxes_deductible_rate_used)
|
||||
invoice_line.invoice_type = 'in'
|
||||
if self.product:
|
||||
if self.product.type == 'service':
|
||||
quantity = 1
|
||||
if self.product.type == 'service' and not self.product.landed_cost:
|
||||
invoice_line.account = self.product.account_stock_in_used
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user