dolibarr
dolibarr copied to clipboard
NEW shipment kits with dispatcher (SQL)
NEW shipment kits with dispatcher (SQL)
- sql install
Can you describe the goal of batch (provide example of data) ?
@eldy You can see more information in PR #21088
@eldy All conflicts resolved, could you merge it ?
@eldy I don't understand travis error. Could you check and tell me what's wrong ?
@eldy I don't understand travis error. Could you check and tell me what's wrong ?
I did a comparison with how the reception works. Add a new table will make things too different than reception.
For reception, detail per batch/warehouse is stored into the table llx_commande_fournisseur_dispatch.sql (that should have been named llx_receptiondet_batch).
So for shipment, we should also store detail of couple batch/warehouse into 1 table, so the existing llx_expeditiondet_batch.
This means we should instead add the field fk_warehouse into llx_expeditiondet_batch (to replace fk_origin_stock that is not enough accurate/appropriate for the need)
A lot of pending PR related to shipment edition were submited with different philosophy and different feature. But all of them was doing a different implementation so were in conflict. So a PR that try to merge all the idea of all of them was pushed to add a new tab on shipment to add the expected feature of this PR. So i close this one.
@eldy I think you refer to this PR : https://github.com/Dolibarr/dolibarr/pull/24717, is it right ? I tried it and I see only a new "dispatch" tab on shipment card. You can access to this "dispatch" tab only when the shipment was created from an order. So it's to update the shipment and not to create.
The shipment lines has already been dispatched when you click the "Shipment" button from order card :
So you have to dispatch lines before with the old functionality. And then you can update dispatched lines with the new functionality given by the PR 24717. So I don't see the way to dispatch virtual products like I implemented in this PR.
The dispatching (reception and shipment) is now managed by a dedicated tab into shipment and reception object. So if a feature to make dispatching of virtual product must be implemented, it should be into this new tab.
PR seems replaced with https://github.com/Dolibarr/dolibarr/pull/26519 so i close this one.