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

Add " Add Purchase Order " function in sales order #23870

Open
trekmorris opened this issue Feb 10, 2023 · 10 comments
Open

Add " Add Purchase Order " function in sales order #23870

trekmorris opened this issue Feb 10, 2023 · 10 comments
Labels
Feature request This is a feature request

Comments

@trekmorris
Copy link
Contributor

Feature Request

In small business , one people may do many things .
So after get a sales order , then you may need to purchase items .
Then it will more efficient to add a " Add Purchase Order " button in sales order .
And you could create several purchase orders and they will link to this sales order automatically . ( Like you could create several sales orders from one proposal , and it will auto link to same proposal now . )

Use case

No response

Suggested implementation

  1. Add a " Add Purchase Order " button in sales order .
  2. When you click it , it will show a " New Purchase Order " page , there you could choose the vender . Alos you can choose which product line will be imported in the end of page .

Suggested steps

No response

@trekmorris trekmorris added the Feature request This is a feature request label Feb 10, 2023
@TechServiceConseil
Copy link
Contributor

Hello!

You can do that with the following module
https://github.com/ATM-Consulting/dolibarr_module_supplierorderfromorder
You can dowload it, rename the zip to module_supplierorderfromorder-2.5.zip and the folder inside to supplierorderfromorder

If i unterstand well the AGPL, we have the right to duplicate the code and use it without limitation.
That is available for all modules we can find in the Dolistore?

Does it mean i can fork the project and make a pull request for module i find in Dolistore ?

Bye

@trekmorris
Copy link
Contributor Author

Hi

Thanks for this information .
Yes , i think if this module is under AGPL , you could fork and make a pull request .

@priojk
Copy link
Contributor

priojk commented Feb 13, 2023

Just a little remark: Legally, you are of course free to fork any GPL licensed project. However, when existing modules get integrated into Dolibarr core, this generally happens with the consent of the original author.

So, if you would like to integrate an existing module form the Dolistore into the core, it would be advisable to first have a chat with the author of that module. There are examples of successfully integrating such modules, but it also has implications regarding e.g. maintenance in case of identified bugs.

@edupulpillo
Copy link

The module module_supplierorderfromorder really register a link to the supplier invoice in the customer invoice?

@github-actions github-actions bot added the Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open label Feb 19, 2024
@edupulpillo
Copy link

The module module_supplierorderfromorder really register a link to the supplier invoice in the customer invoice?

@github-actions github-actions bot removed the Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open label Feb 20, 2024
@JonBendtsen
Copy link
Contributor

The module module_supplierorderfromorder really register a link to the supplier invoice in the customer invoice?

what do you mean?

@edupulpillo
Copy link

I mena if really that module after creating a purchase order from a sales order will keep and object link between Sales and purchase orders.
It will be great to have a relationship between the purchase orders and sales orders.

@JonBendtsen
Copy link
Contributor

I mena if really that module after creating a purchase order from a sales order will keep and object link between Sales and purchase orders. It will be great to have a relationship between the purchase orders and sales orders.

And there is not already that @edupulpillo ?

When you create an order from a proposal you get a link between them. When you create an invoice from an order you get a link between them.

they are shown in the bottom of the proposal/order/invoice detail page

@edupulpillo
Copy link

The link always is between customer order and proposal, but not between vendor proposal and customer proposal, and not between vendor purchase order and sales order, that should be a great feature to have a relationship between the products that are purchased and sold.

@W1W1-M
Copy link
Contributor

W1W1-M commented Sep 17, 2024

Since v19, if you create a supplier purchase order from client sales order they get linked together automatically. However you can't link them manually via the "Link to" button.

An external module is also available on the Dolistore for making multiple purchase orders from one sales order depending on supplier. This external module also links the orders.

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

6 participants