This commit is contained in:
parent
e6efdef5c0
commit
f71478feb6
|
@ -112,7 +112,7 @@ class ExportationCharge(Workflow, ModelSQL, ModelView):
|
|||
def get_hts_list(self, name=None):
|
||||
# Lista de subpartidas arancelarias (hts)
|
||||
res = []
|
||||
for line in self.lines
|
||||
for line in self.lines:
|
||||
if line.product.template.hts:
|
||||
res.append(line.product.template.hts[0:4])
|
||||
res = set(res)
|
||||
|
|
Loading…
Reference in New Issue