Odoo
Implementation
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Manufacturing (mrp) • Sales (sale_management) • Discuss (mail) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 180 |
| Technical Name |
add_data_in_delivery |
| License | LGPL-3 |
| Website | https://lucidbrainz.com |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Manufacturing (mrp) • Sales (sale_management) • Discuss (mail) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 180 |
| Technical Name |
add_data_in_delivery |
| License | LGPL-3 |
| Website | https://lucidbrainz.com |
| Versions | 17.0 18.0 19.0 |
Sale Order Data in Delivery Operations
Display Dimensions, Units & Specifications from Sale Orders in Delivery Orders - Complete Product Information Visibility for Warehouse Operations in Odoo 17
Overview
Sale Order Data in Delivery Operations by
LucidBrainz is a powerful Odoo 17 module that
automatically displays complete sale order information directly in delivery
orders and stock operations.
Say goodbye to switching between screens and hunting for product specifications! This
intelligent module
brings critical data from sale order lines directly into warehouse
operations, including
product dimensions (Length, Width, Thickness), number of
units,
internal references, and detailed descriptions.
Perfect for manufacturing businesses, custom fabrication
shops,
furniture manufacturers, metal & glass suppliers,
textile companies, construction material suppliers,
warehouse managers, logistics teams, and any
organization that needs
accurate product specifications during delivery operations.
The module features automatic data synchronization using related fields,
conditional visibility (fields only appear when linked to sale orders),
seamless integration with detailed operations view,
enhanced picking form with custom columns,
clean inheritance of stock models, and
professional field organization for optimal workflow.
It intelligently extends two critical Odoo models:
(1) Stock Move Line - for detailed operations tracking with all custom
fields visible in the operations tab, and
(2) Stock Move - for main picking form with dimensions displayed
alongside standard delivery information.
Both models include seven essential fields:
Sale Order reference (for linking), Internal Reference
(product code),
Number of Units (quantity breakdown), Length
(dimension 1),
Width (dimension 2), Thickness (dimension 3), and
Description (complete product details from sale order line).
The module uses Odoo's powerful related field mechanism to pull data
from
move_id.sale_line_id ensuring real-time synchronization without
manual data entry.
When you open a delivery order created from a sale order, you'll instantly see
internal product codes for quick identification,
exact dimensions required for the delivery,
unit counts matching the sale order, and
complete descriptions including custom specifications -
all displayed in a clean, organized layout with proper column alignment
and
conditional visibility rules that hide fields for non-sale deliveries.
The XML views are expertly crafted using XPath expressions to
inject custom fields at optimal positions,
reposition standard fields for better flow,
apply conditional visibility using domain expressions, and
maintain Odoo's native UI consistency.
Ideal for businesses that want to reduce delivery errors by 30-40%,
eliminate constant switching between sale and delivery screens,
improve warehouse picking accuracy,
speed up order fulfillment process,
ensure correct product specifications reach warehouse staff,
enhance communication between sales and operations,
streamline custom product deliveries,
maintain complete traceability from quote to delivery, and
boost overall operational efficiency with better data visibility!
Key Features
- Product Dimensions Display: Automatically shows Length, Width, and Thickness from sale order lines in both main delivery form and detailed operations view. Perfect for dimension-critical products like metal sheets, glass panels, fabric rolls, wood planks
- Number of Units Tracking: Displays unit count from sale orders directly in delivery operations. Warehouse staff can verify correct quantities without checking original sale order. Essential for bulk orders and multiple unit shipments
- Internal Reference Code: Shows product internal reference (default_code) prominently in delivery operations. Quick product identification using your company's SKU system. Reduces picking errors and speeds up order fulfillment
- Complete Description Field: Displays full sale order line description including custom specifications, notes, and special instructions. Ensures warehouse team has all product details at their fingertips during picking and packing
- Conditional Field Visibility: Smart visibility rules using invisible="sale_id != True" ensures custom fields only appear when delivery is linked to sale order. Keeps interface clean for direct deliveries or internal transfers
- Sale Order Link Field: Hidden sale_id field (invisible="1") maintains relationship between delivery and source sale order. Foundation for all related field functionality and conditional visibility rules
- Enhanced Detailed Operations View: Extends view_stock_move_line_detailed_operation_tree with custom columns. Adds fields before and after product_id for logical field flow. Replaces standard UOM and quantity fields with optimized placement
- Improved Picking Form Layout: Modifies stock.picking form view (view_picking_form) move_ids_without_package tree. Reorganizes columns for better readability. Custom fields integrated seamlessly with standard Odoo fields
- Optimized Column Arrangement: Internal Reference and Sale ID placed before Product. Dimensions and units after Product. Description, dates, and UOM positioned for optimal workflow. Hidden fields (date, date_deadline) moved to optional columns
- Real-Time Data Synchronization: Uses Odoo related fields pointing to move_id.sale_line_id and sale_line_id for automatic updates. When sale order changes, delivery reflects updates instantly. No manual synchronization or batch jobs required
- Clean Model Inheritance: Extends stock.move.line and stock.move models using _inherit. No modification of core Odoo files. Easy upgrades and compatibility with other modules. Professional ORM practices followed
- XPath View Injection: Uses XPath expressions (before, after, replace) for precise field placement. Maintains Odoo view structure integrity. Compatible with view inheritance from other modules. Non-destructive view modifications
- Related Field Architecture: Fields like related="move_id.sale_line_id.length" create automatic data pipeline. Related fields are stored=False by default (computed on-the-fly). Digits precision (16, 4) ensures accurate decimal calculations
- Manufacturing Context Support: Depends on calculate_unit_of_measure_of_quotation module which defines source fields. Perfect integration with manufacturing workflows. Supports BOM-based production with custom dimensions
- Force Save Attribute: Uses force_save="1" on critical fields to ensure data persistence. Applied to product_uom_id field in detailed operations. Prevents data loss during form interactions
- State-Based Field Control: Readonly conditions like readonly="state != 'draft' and id != False" prevent editing confirmed deliveries. Protects data integrity. Allows editing only in draft state for new records
- UOM Group Visibility: Fields respect groups="uom.group_uom" for unit of measure visibility. Honors Odoo's security group system. Shows/hides UOM fields based on user permissions
- Optional Field Display: Uses optional="show" and optional="hide" attributes. Users can toggle column visibility via tree view settings. Customizable interface per user preference
- Multiple View Extension: Module extends TWO XML views - view_stock_move_line_detailed_operation_tree (detailed operations popup) and view_picking_form (main picking form). Comprehensive coverage of all delivery workflows
- Field Placement Strategy: Internal Reference BEFORE product for early visibility. Dimensions AFTER product for logical flow. Description at end for complete information. UOM and quantity grouped together
- Field Repositioning: Removes fields from default position using position="replace". Re-adds them at optimal location. Maintains all original functionality while improving layout
- Qty Done Integration: qty_done field placed with optional="show" for easy access. Located near dimension fields for convenient data entry. Warehouse staff can see dimensions while confirming quantities
- Module Dependencies: Depends on: base (core), sale_management (sale orders), stock (inventory), calculate_unit_of_measure_of_quotation (dimension fields source). Clean dependency chain ensures proper installation
- No Direct Stock Modification: Module doesn't change stock module directly. Uses inheritance and view extensions only. Fully compatible with stock module updates. No conflicts with other stock customizations
- Easy Customization: Well-organized code structure in models/stock_move_line.py. Clear XML views in views/ folder. Simple to add more fields or modify layout. Extensible architecture for future enhancements
- Responsive Design: Fields work perfectly in Odoo web interface. Compatible with tablet and mobile views. Conditional visibility ensures clean mobile experience. Professional appearance across all devices
- Translation Ready: All field labels and strings support Odoo translation system. Works with any language configured in Odoo. String attributes like string="Number Of Units" translateable. Multi-language warehouse operations supported
- Performance Optimized: Related fields computed on-demand (not stored). No extra database tables created. Minimal performance impact. Efficient field calculation using Odoo ORM
- Data Integrity: Related fields maintain referential integrity automatically. If sale line deleted, delivery reflects changes. No orphaned data. Odoo ORM handles all relationships
Module Screenshots
Sale Order S00025 showing order lines with custom fields:
• Number Of Units: Unit counts for each product line
• Length, Width, Thickness: Product dimensions in numeric format
• Product descriptions: Detailed specifications
• Internal References: Product codes like [FURN_6741], [FURN_7777]
These fields automatically flow to delivery orders when this sale order is confirmed and delivery created. Module pulls data from sale.order.line fields: number_of_unit, length, width, thickness, name (description)
Delivery Order WH/OUT/00006 showing the module's custom fields in action:
• Sale Order column: Links back to source sale order (hidden but maintains relationship)
• Internal Reference: Product code visible for quick identification
• Number Of Units: 40.00 units displayed from sale order
• Length: Product length dimension
• Width: Product width dimension
• Thickness: Product thickness dimension
• Description: Complete product description from sale order line
• Demand & Quantity: Standard Odoo fields shown alongside custom data
All fields synchronized in real-time using related fields pointing to move_id.sale_line_id. Conditional visibility ensures these fields only appear when delivery is linked to sale order.
Our Services
Odoo
Customization
Odoo
Migration
Support &
Maintenance
📞 Contact Us
WhatsApp:
Email:
Website: |
🌐 Follow Us📘 Facebook 📸 Instagram 💼 LinkedIn 🎥 YouTube |
© 2025 LucidBrainz | All Rights Reserved
Please log in to comment on this module