Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad dispatched quantities for batches on shipment card #32981

Open
lvessiller-opendsi opened this issue Feb 7, 2025 · 0 comments · May be fixed by #32983
Open

Bad dispatched quantities for batches on shipment card #32981

lvessiller-opendsi opened this issue Feb 7, 2025 · 0 comments · May be fixed by #32983
Assignees
Labels
Bug This is a bug (something does not work as expected)

Comments

@lvessiller-opendsi
Copy link
Contributor

lvessiller-opendsi commented Feb 7, 2025

Bug

Bad dispatched quantities for batches on shipment card

Dolibarr Version

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

  2. Put stock for batch product number on different warehouses
    Image

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

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

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

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

@lvessiller-opendsi lvessiller-opendsi added the Bug This is a bug (something does not work as expected) label Feb 7, 2025
@lvessiller-opendsi lvessiller-opendsi self-assigned this Feb 7, 2025
lvessiller-opendsi added a commit to Easya-Solutions/dolibarr that referenced this issue Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant