Good morning, V21 is much improved regarding batch capability. Thank you.
I think I’ve discovered a bug, which is a bit troublesome.
If I ship several batches within the same Product SKU, the total shipped does not sum the total for that SKU, but only counts the quantity of the last batch number.
If I then create an invoice from this shipment, it carries over the incorrect quantity.
See screenshot from the expedition module:
@eldy any help would be greatly appreciated. Thank you!
Wondering if anyone has any suggestions or fixes? Thank you.
sonikf
June 11, 2025, 1:26pm
3
Hi @Luke123
All bugs should be reported to Dolibarr Github page
Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
Check if the following is related to your problem
opened 02:42PM - 07 Feb 25 UTC
Bug
### Bug
Bad dispatched quantities for batches on shipment card
### Dolibarr Ve… rsion
18.0 and develop
### Environment PHP
PHP 7.4
### Environment Database
Mysql
### Steps to reproduce the behavior and expected behavior
1. Create an order with a batch product (serial number only)

2. Put stock for batch product number on different warehouses

3. Create an order with this batch product and set quantity to 3 :

4. Create a shipment from batch (without selected a warehouse)

5. Then go to the dipatch tab of this new shipment

The quantities of dispatched batches are not the same as step 4. when you choose each batch product for each warehouse.
The batches quantities are wrong on dispatched tab of this shipment card.
### Attached files
_No response_
Otherwise open a new bug report
Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source W...