mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[FIX]intrastat declaration - weight is optional for hs codes with supplementary unit
This commit is contained in:
@@ -413,6 +413,7 @@ class IntrastatProductDeclaration(models.Model):
|
|||||||
line_qty, pce_uom
|
line_qty, pce_uom
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
if not (intrastat_unit_id and suppl_unit_qty):
|
||||||
line_notes = [
|
line_notes = [
|
||||||
_(
|
_(
|
||||||
"Conversion from unit of measure '%s' to 'Kg' "
|
"Conversion from unit of measure '%s' to 'Kg' "
|
||||||
|
|||||||
Reference in New Issue
Block a user