Hello community,
I recently discovered a mistake in the validation logic used in the POS Invoice.
It appears that this logic assumes the presence of fields called ‘has_serial_no’ and ‘has_batch_no’ in the POS Invoice items, which might not be accurate. Upon further investigation, it seems that the items in the POS Invoice do not have fields named ‘has_serial_no’ or ‘has_batch_no’. Therefore, this validation logic may not be applicable or may need to be adjusted accordingly.
I would appreciate any insights or corrections regarding this matter. Thank you for your assistance.