mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[8.0] skip invoice lines with value 0
This commit is contained in:
@@ -501,6 +501,9 @@ class IntrastatProductDeclaration(models.Model):
|
||||
total_inv_weight = 0.0
|
||||
for inv_line in invoice.invoice_line:
|
||||
|
||||
if not inv_line.price_unit:
|
||||
continue
|
||||
|
||||
if (
|
||||
accessory_costs and
|
||||
inv_line.product_id and
|
||||
|
||||
Reference in New Issue
Block a user