dolibarr icon indicating copy to clipboard operation
dolibarr copied to clipboard

NEW shipment kits with dispatcher (SQL)

Open lvessiller-opendsi opened this issue 2 years ago • 2 comments

NEW shipment kits with dispatcher (SQL)

  • sql install

lvessiller-opendsi avatar May 25 '22 15:05 lvessiller-opendsi

Can you describe the goal of batch (provide example of data) ?

eldy avatar Jun 14 '22 14:06 eldy

@eldy You can see more information in PR #21088

lvessiller-opendsi avatar Jun 14 '22 14:06 lvessiller-opendsi

@eldy All conflicts resolved, could you merge it ?

lvessiller-opendsi avatar Sep 01 '22 09:09 lvessiller-opendsi

@eldy I don't understand travis error. Could you check and tell me what's wrong ?

lvessiller-opendsi avatar Jan 13 '23 16:01 lvessiller-opendsi

@eldy I don't understand travis error. Could you check and tell me what's wrong ?

lvessiller-opendsi avatar Feb 03 '23 11:02 lvessiller-opendsi

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)

eldy avatar Mar 31 '23 17:03 eldy

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 avatar May 24 '23 13:05 eldy

@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 : image

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.

lvessiller-opendsi avatar May 30 '23 07:05 lvessiller-opendsi

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.

eldy avatar Sep 12 '23 14:09 eldy

PR seems replaced with https://github.com/Dolibarr/dolibarr/pull/26519 so i close this one.

eldy avatar Jan 06 '24 13:01 eldy