mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
@@ -424,14 +424,15 @@ class IntrastatProductDeclaration(models.Model):
|
|||||||
line_qty, pce_uom
|
line_qty, pce_uom
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
line_notes = [
|
if not (intrastat_unit_id and suppl_unit_qty):
|
||||||
_(
|
line_notes = [
|
||||||
"Conversion from unit of measure '%s' to 'Kg' "
|
_(
|
||||||
"is not implemented yet. It is needed for product '%s'."
|
"Conversion from unit of measure '%s' to 'Kg' "
|
||||||
)
|
"is not implemented yet. It is needed for product '%s'."
|
||||||
% (source_uom.name, product.display_name)
|
)
|
||||||
]
|
% (source_uom.name, product.display_name)
|
||||||
self._format_line_note(inv_line, notedict, line_notes)
|
]
|
||||||
|
self._format_line_note(inv_line, notedict, line_notes)
|
||||||
return weight, suppl_unit_qty
|
return weight, suppl_unit_qty
|
||||||
|
|
||||||
return weight, suppl_unit_qty
|
return weight, suppl_unit_qty
|
||||||
|
|||||||
Reference in New Issue
Block a user