Fixed missing last package item.

master
bleeson 2025-11-25 09:04:54 -08:00
parent 3b9b5fce79
commit 6d433fcfb6
1 changed files with 1 additions and 0 deletions

View File

@ -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)