[FIX] weight -> weight_net

This commit is contained in:
Alexis de Lattre
2018-05-11 16:36:49 +02:00
parent c3f0b7a9ab
commit 82cfb1f2e4

View File

@@ -816,7 +816,7 @@ class IntrastatProductComputationLine(models.Model):
self.intrastat_unit_id =\
self.product_id.intrastat_id.intrastat_unit_id
if not self.intrastat_unit_id:
self.weight = self.product_id.weight_net
self.weight = self.product_id.weight
class IntrastatProductDeclarationLine(models.Model):