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

NEW DEVELOPMENT OF BOX SIZES FOR SHIPMENTS #32814

Open
vfsintes opened this issue Jan 27, 2025 · 1 comment
Open

NEW DEVELOPMENT OF BOX SIZES FOR SHIPMENTS #32814

vfsintes opened this issue Jan 27, 2025 · 1 comment
Labels
Feature request This is a feature request

Comments

@vfsintes
Copy link

Feature Request

DEFINE A DATABASE OF BOX SIZES FOR SHIPMENTS

Use case

Define on shipment a certain number of boxes so, during the shipment process can be selected and automatically include the measures.
In case of using 2 or more boxes, get the chance to indicate the program that 1box size A and 1 box size C are used for this shipment and indicate the products inside of each one.

Suggested implementation

No response

Suggested steps

No response

@vfsintes vfsintes added the Feature request This is a feature request label Jan 27, 2025
@erikvanberkum
Copy link
Contributor

Hello @vfsintes. We are working with a FedEx API to calculate the shipping costs for Proposals. Without any development in or adjustment of code in Dolibarr. I will outline here so you get an idea of what we do, which might not work for you.

step 1. create an extra field (select from table) in products called packing; add the following value to the field. product:ref:rowid::(ref:LIKE:'%pack_box_carton%') in our case all carton boxes are products but they all have a code: pack_box_carton.

Now you have created a field which looks up a packaging and you assign this to a product.

step 2. in proposals create a Complementary attributes (lines) with fieldtype Boolean and call the field Packed together.

When we make the proposal to calculate the shipping costs. Packing is defined by product. If more items are together packed in a single box just mark the field packed together.

Once the proposal is ready we run a python script to calculate shipping fees and save those fees via the dolibarr API in the database.
I can imagine that we could do the same for shipping but than call another script to print FedEx labels that is my next target but as always 1000 ideas and only the ability to implement 10.

Anyway packaging is a complicated matter and not yet really easy to manage in Dolibarr so additional ideas and development are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request This is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants