Monday, January 27, 2025
1 change · saas-18.1
Resolved issues and error corrections
The Barcode app now shows batch counts that match the selected operation type, such as Receipts or Deliveries. This prevents users from seeing misleading totals caused by batches from other operation types being included.
Original PR description
How to reproduce ================ - Have no batch for receipt at least one delivery batch; - Go to the Barcode app > Operations > Receipts; - On the Batches button, you can see a wrong count number, this number takes in account all batches regardless their picking type. Cause of the issue ================== For the batches, the picking type wasn't used by the `search_count` in the method responsible of this count (`get_model_records_count`.)