mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[FIX] weight -> weight_net
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user