Fixed missing last package item.
parent
3b9b5fce79
commit
6d433fcfb6
|
|
@ -367,6 +367,7 @@ def convert(file_path: pathlib.Path, database):
|
||||||
elif fields[0] == 'PO4':
|
elif fields[0] == 'PO4':
|
||||||
package.weight = fields[6]
|
package.weight = fields[6]
|
||||||
package.weight_unit = fields[7]
|
package.weight_unit = fields[7]
|
||||||
|
pallet.package_list.append(package)
|
||||||
record.pallet_list.append(pallet)#add the last pallet onto record
|
record.pallet_list.append(pallet)#add the last pallet onto record
|
||||||
record.fill_information(database)
|
record.fill_information(database)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue