PrestaShop / PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.
https://www.prestashop-project.org/
Other
8.24k stars 4.81k forks source link

Add "purchase order" feature #28278

Open Seb33300 opened 2 years ago

Seb33300 commented 2 years ago

Prerequisites

Is your feature request related to a problem?

PrestaShop already offers an "invoice" feature to generate and send by email PDF invoices to customers after a successful order.

In some case, we do not want to let PrestaShop to generates invoices, for example when the company uses his own external accounting / PGI tool.

However, even if we don't want to enable invoices feature on PrestaShop, we still want to offer the user a PDF document he can download and print.

Describe the solution you'd like

The solution could be a "purchase order" PDF. When the invoice feature is disabled, we should be able to generate a purchase order instead of invoices.

("purchase order" = "bon de commande" in french, not sure about the english term)

hibatallahAouadni commented 2 years ago

Hello @Seb33300

Thank you for your suggestion. The Product Team will take it into consideration for future developments. Please be aware that there is no guarantee that this feature will be developed anytime soon. If this is important to you, we strongly suggest you consider hiring a specialist to help you create it.

If you are willing to implement this feature into PrestaShop as a Pull Request, the teams will be happy to help you by ensuring that it is appropriate and coherent with the rest of the project. If that is the case, please let us know!

Thank you

MatShir commented 2 years ago

@Seb33300 in that case, we should have a button to generate the delivery slip when it is not created by the order status flow ? The delivery slip in PrestaShop is the french "Bon de commande" :)

Seb33300 commented 2 years ago

@MatShir delivery slip is "bon de livraison" in french which is different from "bon de commande".

MatShir commented 2 years ago

You are right !!!! My bad, I wrote too fast without thinking 😅

Seb33300 commented 2 years ago

I think we can also call it "Order slip", I found a HTMLTemplateOrderSlipCore class to generate an order slip PDF, but it seems to be used for refunds (avoirs).