| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 249 |
| Technical Name |
nz_sale_to_purchase |
| License | LGPL-3 |
| Website | https://www.nezam.co |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 249 |
| Technical Name |
nz_sale_to_purchase |
| License | LGPL-3 |
| Website | https://www.nezam.co |
| Versions | 18.0 19.0 |
NZ Solutions Apps for Odoo
Quick Create Purchase Order From Sale Order — Odoo 19
Create one or more Purchase Orders directly from any Sales Quotation with a single click. Choose a single vendor for the whole order, or enable per-product vendor mode to assign a different supplier to each line — lines are automatically grouped into separate POs by vendor.
What does this module provide?
This module adds a "Create Purchase Order" button directly on the Sales Quotation / Sales Order form. Clicking the button opens a wizard that auto-fills all product lines from the sale order. You can select one vendor for the entire order, or enable the "Per-Product Vendor" toggle to pick a different supplier for each line — the module will automatically group lines by vendor and create separate Purchase Orders for each supplier. A Smart Button on the quotation shows the number of linked Purchase Orders and lets you navigate to them instantly. No configuration required — just install and start creating POs from your quotations.
KEY HIGHLIGHTS
One-Click PO Creation
A "Create Purchase Order" button appears on every quotation / sales order. One click opens the wizard with all product lines pre-filled — no manual data entry needed.
Per-Product Vendor Mode
Enable the "Per-Product Vendor" toggle and a vendor column appears on each line. Assign a different supplier to each product — lines are grouped into separate POs automatically.
Automatic Vendor Grouping
When using per-product vendor mode, lines with the same vendor are grouped into a single Purchase Order. Different vendors result in separate POs — all created in one action.
Smart Button Linking
A smart button on the quotation displays the count of linked Purchase Orders. Click it to navigate directly to the PO form (single PO) or filtered list view (multiple POs).
Auto-Filled Lines
The wizard automatically pulls products, descriptions, quantities, and UoM from the sale order lines. Section and note lines are skipped — only real product lines are transferred.
Zero Configuration
Install the module and the button is immediately available on all quotations. No settings or menus to configure — works out of the box on Odoo 19 Community and Enterprise.
1) Create Purchase Order Button on Quotation
A "Create Purchase Order" button is added to the quotation / sales order form. Clicking it opens a popup wizard that lets you create a purchase order directly from the current sale order, with all product lines pre-filled automatically.

2) Single Vendor Selection
In the wizard, select a single vendor from the vendor dropdown. All product lines from the sale order will be included in one Purchase Order assigned to this vendor. The order date defaults to the current date and time.

3) Enable Per-Product Vendor Mode
Toggle the "Per-Product Vendor" option to enable selecting multiple vendors. This mode allows you to assign a different supplier to each product line, giving you full flexibility when sourcing from different vendors.

4) Per-Line Vendor Column
When Per-Product Vendor is enabled, a new Vendor column appears in the product lines table. You can select a different vendor for each line. Lines with the same vendor will be grouped into a single Purchase Order automatically.

5) Smart Button — Linked Purchase Orders
After creating purchase orders, a Smart Button appears on the quotation showing the count of linked POs. Click it to navigate directly to the Purchase Order form (if one PO) or a filtered list view (if multiple POs were created).

6) Created Purchase Order — Full Details
The created Purchase Order contains all product details transferred from the sale order — including product name, description, quantity, and unit of measure. The Source Document field references the original sale order for full traceability.

7) Multiple POs from One Sale Order
When using Per-Product Vendor mode with different vendors assigned to different lines, the module creates multiple Purchase Orders — one per vendor. All POs are linked to the original sale order and accessible via the smart button.

8) Purchase Orders List View
Clicking the smart button when multiple POs exist opens a filtered list view showing all Purchase Orders linked to the sale order. You can quickly review, confirm, or manage all created POs from this centralized view.

How do I create a Purchase Order from a quotation?
Open the quotation or sales order, then click the "Create Purchase Order" button in the header. A wizard opens with all product lines pre-filled. Select a vendor and click "Create".
Can I assign different vendors to different products?
Yes. Enable the "Per-Product Vendor" toggle in the wizard. A vendor column appears on each line, letting you pick a different supplier per product. Lines are grouped by vendor into separate POs.
What happens if I select multiple vendors?
The module creates one Purchase Order per vendor. All lines assigned to the same vendor go into the same PO. All created POs are linked to the original sale order.
How do I view the linked Purchase Orders?
A smart button appears on the quotation showing the PO count. Click it to open the PO form (if one) or a filtered list view (if multiple). The button is hidden when no POs are linked.
Are section and note lines transferred to the PO?
No. Only real product lines are transferred. Section headers, notes, and lines without a product are automatically filtered out.
Can I create multiple POs from the same sale order?
Yes. You can click the "Create Purchase Order" button multiple times. Each new PO is linked to the sale order and the smart button count updates accordingly.
Does this module require any configuration?
No. Install the module and the button appears immediately on all quotations and sales orders. No settings or menus to configure.
Which Odoo editions and deployment modes are supported?
The module is compatible with Odoo 19 Community and Enterprise on On-Premise, Odoo Online, and Odoo.sh. It depends on the Sale and Purchase modules.
Version 18.0.1.0.0
Initial Release- "Create Purchase Order" button on quotation / sales order form
- Wizard with auto-filled product lines from sale order
- Single vendor mode — one PO for all lines
- Per-product vendor mode — different vendor per line
- Automatic vendor grouping into separate POs
- Smart button showing linked PO count with navigation
- Source document traceability on created POs
- Section and note line filtering
- Vendor domain filter (supplier rank only)
- Odoo 19 Community & Enterprise support
Please log in to comment on this module