Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Inventory
  3. Item Code and Style No in Product v 19.0
  4. Sales Conditions FAQ

Item Code and Style No in Product

by Bytelegion http://www.bytelegions.com
Odoo
v 19.0 Third Party 36
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Purchase (purchase)
• Sales (sale_management)
• Discuss (mail)
• Invoicing (account)
Lines of code 1910
Technical Name legion_itemcode_styleno
LicenseLGPL-3
Websitehttp://www.bytelegions.com
Versions 14.0 15.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Purchase (purchase)
• Sales (sale_management)
• Discuss (mail)
• Invoicing (account)
Lines of code 1910
Technical Name legion_itemcode_styleno
LicenseLGPL-3
Websitehttp://www.bytelegions.com
Versions 14.0 15.0 18.0 19.0
Logo
Logo
Logo
Days Free Support 365
Custom Apps 1350+
Top Seller Of Odoo Marketplace
Happy Customers 8987+
Years of Experience 10+
Countries 50+
Talented Healers 100+
Industries Served 45+
Email QR
WhatsApp QR
Meeting QR

Why Legion ItemCode StyleNo?

In fashion, textile, and manufacturing businesses, every product has an internal Style Number and Item Code used across the entire supply chain. Odoo's default product form has no such fields, meaning businesses manually track these codes outside the system causing mismatches between orders, invoices, and deliveries.

Get Instant Personalized Demo

Copy Link https://bytelegions.com/odoo-app-store-form/

View Our Services

Odoo Customization 365
Odoo Implementation 1350+
Odoo Support Marketplace
Odoo Integration 8987+
Odoo Migration 100+
Odoo Consultancy 50+
Odoo Hosting 100+
Industries Served 45+
Services Banner
  • Overview
  • How to Use
  • Features
  • Frequent Questions
  • Latest Release

Custom field add in sale order and order lines

Fetch data from sale order and order lines.

Custom field tree view side

Custom field add in invoice and invoice lines

Custom field add in purchase order and order lines

Sale Order Report

Invoice Report

Purchase Order Report

User go to search bar and search legion_itemcode_styleno then click on and install

Custom field Product side

Custom field add in sale order and order lines

Fetch data from sale order and order lines

Custom field tree view side

Custom field add in invoice and invoice lines

Custom field add in purchase order and order lines

Sale Order Report

Invoice Report

Purchase Order Report

Item Code and Style No in Product.

This module adds Style Number and Item Code fields to the product form, which then automatically flow through to sale order lines, purchase order lines, invoice lines, and delivery orders without any manual entry. It also adds PO Number and Customer Reference fields to sale orders, invoices, and delivery orders, with the sale order search extended to find records by PO Number directly. All custom reports are replaced with branded layouts showing these additional fields — sale order PDF, purchase order PDF, and invoice all display Style Number, Item Code, PO Number and Customer Reference in their printed documents.

Key Features:

  • Style Number and Item Code on Products: Adds dedicated Style Number and Item Code fields to the product form, allowing businesses to store their internal product classification codes directly in Odoo. These codes are defined once on the product and automatically flow through to all related documents.
  • Automatic Propagation to Sale Order Lines: Style Number and Item Code appear automatically in sale order line items as read-only related fields pulled from the selected product. Sales teams can verify correct product identification without manually cross-referencing external spreadsheets or catalogs.
  • Purchase Order Line Integration:Both fields appear on purchase order lines as editable fields, allowing procurement teams to specify or verify style and item codes when placing orders with suppliers. This ensures supplier orders reference the same product classification as internal records.
  • Invoice Line Tracking:Style Number and Item Code are visible and editable on invoice lines, ensuring customer invoices clearly reference the exact product codes. This is critical for customers who use these codes in their own internal systems for payment matching.
  • PO Number and Customer Reference Tracking:Adds PO Number and Customer Reference fields to sale orders, invoices, and delivery orders with full search and group-by functionality. The global search is extended so users can find any order by typing the customer's PO number directly in the search bar.

Frequently Asked Questions

If I change the Style Number on a product, will it update existing orders?

No. Since order lines use related fields that read from the product, existing confirmed orders will reflect the updated value. However, for historical accuracy it is recommended to use standalone Char fields instead of related fields.

Why does Style Number appear blank on some delivery orders?

The StockRule._get_stock_move_values method propagates style and item codes from sale order lines to stock moves when the order is confirmed. If the sale order was confirmed before module installation, existing moves will not have these values.

Why are style_number and item_code readonly on sale order lines?

They are related fields pulling values from the product. To make them independently editable, change them to standalone Char fields with a separate mechanism to auto-populate from the product on selection.

Does this module work with multi-company setup?

Yes. The fields are added at the model level without any company restrictions, so they work across all companies in a multi-company Odoo environment.

Will PO Number transfer automatically from sale order to invoice?

Yes. The _prepare_invoice method in sale_order.py explicitly passes po_number and customer_ref to the invoice creation dictionary, ensuring these values transfer automatically when creating invoices from sale orders.

Latest release

Latest Release 19.0
Updt
12st Feb, 2026
Item Code and Style No in Product.

Top Contributors

Mr. Kamran Yasin

Senior Full Stack Odoo Developer

Miss Rubab Khalil

Senior Odoo Functional Consultant

Mr. Muneeb

Senior Full Stack Odoo Developer

Mr. Wasif Yasin

Senior Full Stack Odoo Developer

Mr. Hamza Khalil

Senior Full Stack Odoo Developer

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with