Set Source Location from Sale
by Fasil https://www.bytesraw.com , Bytesraw https://www.bytesraw.com$ 8.94
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Inventory (stock)
• Sales (sale_management) • Discuss (mail) • Invoicing (account) |
Lines of code | 69 |
Technical Name |
sale_source_location |
License | OPL-1 |
Website | https://www.bytesraw.com |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Inventory (stock)
• Sales (sale_management) • Discuss (mail) • Invoicing (account) |
Lines of code | 69 |
Technical Name |
sale_source_location |
License | OPL-1 |
Website | https://www.bytesraw.com |
The Sale Source Location module enhances Odoo's sales workflow by allowing users to define a specific source location directly from the sales order. This location is then automatically propagated to the corresponding delivery order, ensuring accurate inventory management and streamlined logistics operations.
By establishing this direct link between sales orders and source locations, this module eliminates the need for manual adjustments in warehouse operations, reducing errors and improving overall fulfillment efficiency.
Key Features
- Source Location Selection: Users can select a specific source location on sales orders
- Automatic Propagation: Selected source location is automatically applied to the corresponding delivery order
- Flexible Configuration: Works with Odoo's existing inventory structure and rules
- Enhanced Traceability: Improves tracking of stock movements from specific locations
- Streamlined Operations: Reduces manual warehouse interventions and adjustments
Creating a Sales Order with a Specific Source Location
- Navigate to Sales → Orders → Quotations
- Create a new quotation or select an existing one
- Fill in the customer information and add products as usual
- Find the new Source Location field in the sales order form
- Select the appropriate source location from the dropdown menu
- Continue with the standard sales process
Confirming the Order
- Once the quotation is complete, click Confirm
- The system will create a delivery order as usual
- The delivery order will automatically use the source location specified in the sales order
Warehouse Operations
- Warehouse staff can process the delivery order following standard procedures
- The system will automatically suggest picking stock from the specified source location
- Stock movements will be accurately tracked from the selected location

The module extends the standard Odoo sales workflow through the following modifications:
- Adds a source location field to the sale.order model
- Creates a mechanism to pass this information to stock.picking when delivery orders are generated
- Modifies the procurement process to respect the specified source location
- Error Reduction: Eliminates manual adjustments in delivery orders
- Process Efficiency: Streamlines the fulfillment process by automating location selection
- Inventory Accuracy: Ensures stock is taken from the correct locations
- Better Customer Service: Reduces fulfillment delays caused by location confusion
- Enhanced Reporting: Provides better visibility into which locations are serving specific orders
For issues, feature requests, or questions, please contact:
- Email: codeforme@bytesraw.com
Bytesraw
Researching Tomorrow's Bytes Today
Who We Are
We are a team of experienced Odoo freelancers dedicated to helping businesses customize, integrate, and optimize Odoo for their unique needs. Our initiative brings together experts in ERP solutions, development, and automation to deliver high-quality, cost-effective Odoo services.
Our Expertise
- Odoo Development (v11-v18)
- Functional Training (v11-v18)
- Community Upgradation's(v11-v18)
- Python & PostgreSQL
- Hosting, Automation & Security
- API & 3P Integrations
- E-commerce & POS Solutions
A Coffee with Us
Let's discuss your Odoo needs over a virtual or in-person coffee!
BytesRaw
No Running Away—Deal?
We build it, you love it, then you pay. Simple! If it doesn't work because of us, we'll take the hit as a learning experience (don't worry, we don't cry). And don't worry—we won't vanish after the job is done... but if you disappear, we might just shed a tear or two!
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