Purchase Orders from Sales Orders
Turn a confirmed Sales Order into one or more Purchase Orders in a single click
Open any confirmed Sales Order, pick the products to buy, and let the module create the Purchase Order(s) — automatically split per vendor, priced with Odoo's own vendor pricelist rules, and fully traceable back to the source order.
From Sales Order to Purchase Order, without leaving the record
No manual re-entry, no duplicate purchasing, no separate settings page to configure first.
One-Click Generation
A Create Purchase Order button on the confirmed Sales Order opens a wizard listing every purchasable line still to be bought.
Automatic Vendor Assignment
Every line is pre-filled with the vendor from the product's own Vendors tab, using Odoo's native price, minimum-quantity and validity rules — nothing to look up manually.
Automatic Split by Vendor
Selected products from different preferred vendors are grouped automatically — one Purchase Order per vendor, created in a single confirmation.
Never Buy the Same Line Twice
Each Sales Order line tracks how much of it is already on a Purchase Order, so the wizard only ever proposes the remaining quantity.
Native Odoo Pricing
Prices, vendor lead times, taxes and descriptions come from Odoo's own vendor pricelist engine — the same logic used everywhere else in Purchase.
Optional Instant Confirmation
Leave the generated orders as draft Requests for Quotation, or tick one checkbox to confirm them immediately — no need to open each Purchase Order separately.
Built on Odoo's own Sales & Purchase bridge, not a workaround
No custom pricing logic, no duplicated relations. The module extends Odoo's native Sales-to-Purchase linkage instead of reinventing it.
Mixed Vendors, One Click
Buying from three different vendors on one Sales Order? Select every line and confirm once — three Purchase Orders come out.
Two-Way Traceability
A smart button on the Sales Order links to every Purchase Order it generated; a matching smart button links back from each Purchase Order.
Zero Configuration
No settings page, no toggle to find. Visibility simply follows the standard Purchase User / Purchase Administrator access rights.
From confirmed order to Purchase Order in two steps
No setup required — the button is available as soon as the module is installed.
Open the Wizard and Select What to Purchase
On a confirmed Sales Order, click Create Purchase Order in the header — only shown to users with Purchase access, and only once there is something left to buy. The wizard opens with every purchasable line listed, the remaining quantity to buy already filled in, and a suggested vendor from the product's own Vendors tab.
Deselect lines you don't want yet, adjust the quantity, or override the vendor per line. Tick Confirm Purchase Orders to skip the Request for Quotation stage.
Review the Result, and Reopen for What's Left
Confirming the wizard creates one Purchase Order per vendor — lines from different vendors never end up mixed on the same order. The Purchase smart button on the Sales Order tracks every order it generated; a matching Sale smart button links back from each one.
Run the wizard again on the same Sales Order at any time: lines already covered by a Purchase Order drop off the list automatically, leaving only what's still left to buy.
Install and start using it
Install the module and the button appears immediately on confirmed Sales Orders — nothing else to configure.
1. Add the module
Copy atliis_purchase_from_sale into your Odoo addons path.
2. Update Apps
Restart Odoo with developer mode enabled and update the app list.
3. Install
Search for Purchase Orders from Sales Orders and install the module.
4. Use
Open any confirmed Sales Order and click Create Purchase Order.
Common questions
Does it create one Purchase Order or several?
It depends on the vendors involved. Selected lines are grouped by vendor, so one Sales Order can generate several Purchase Orders in a single confirmation — one per vendor.
What if I only purchase part of the ordered quantity?
The remaining quantity stays trackable. Reopening the wizard later on the same Sales Order proposes only what hasn't been purchased yet.
Where does the suggested vendor and price come from?
From the product's own Vendors tab, using Odoo's standard vendor selection rules (price, minimum quantity, and validity dates). No separate pricing configuration is needed.
What if a product has no vendor configured?
The Vendor field is left blank in the wizard and must be set manually before that line's Purchase Order can be created.
I need customisation in this module. How can I request it?
Please contact us at helpdesk@atliis.com to request customisation.
Do I get free support?
Yes, we provide 90 days free support from the date of purchase.
Other modules you might like
Get in touch with us
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Sales (sale_management) • Invoicing (account) • Discuss (mail) |
| Lines of code | 188 |
| Technical Name |
atliis_purchase_from_sale |
| License | OPL-1 |
| Website | https://www.atliis.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module