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
    • Estate 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. Product Template Reference by Product Category v 18.0
  4. Sales Conditions FAQ

Product Template Reference by Product Category

by CLuedoo https://www.cluedoo.com/shop/lic-clu-set-seq-0010-product-template-reference-by-product-category-6580
Odoo

$ 150.86

v 18.0 Third Party
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)
• Discuss (mail)
Lines of code 553
Technical Name fal_product_reference_by_category
LicenseOPL-1
Websitehttps://www.cluedoo.com/shop/lic-clu-set-seq-0010-product-template-reference-by-product-category-6580
Versions 17.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)
• Discuss (mail)
Lines of code 553
Technical Name fal_product_reference_by_category
LicenseOPL-1
Websitehttps://www.cluedoo.com/shop/lic-clu-set-seq-0010-product-template-reference-by-product-category-6580
Versions 17.0 18.0 19.0
  • Description
  • License

STORY BEHIND THE FEATURE

ODOO BEHAVIOR


Odoo proposes a field Internal reference on product templates and product variants which is manual. Basic, and so quickly limited for an advanced product database.

CLUEDOO BEHAVIOR
Cluedoo proposes automation of the product internal reference with 2 principles:

- The Product Template's Internal Reference will be computed based on a configured sequence in a specific product category
- The Internal Reference of Product Variants can be computed based on their product template. Besides,  it can be a combination of the product template's reference and attribute values
- It provides the ability to update the reference for duplicated products
- It also supports the ability to either update or retain the reference whenever the product category is changed

This approach ensures a clean and automatic internal reference system for all your products.
MODULE +

With Odoo standard and manual records of internal references, internal references do not help to organize your master data and quickly become messy. So, you just use the name, with all the risks behind a name (not unique, subjective,...).


With Cluedoo, internal references should be automatic, help your team to keep well-structured and organized master data, improve quick search of the product, and improve understanding of the product category structure.


​ ​ ​ ​ ​ ​ ​ ​ ​ ​  HOW TO USE THIS MODULE


1

- Go to Inventory/ Configuration/ Product Categories

- Open a Product Category.

- Check the Lock ODS checkbox.

- Product ref :

By sequence: formulate sequence by fill in the Internal Reference and choose the Separator .

Python code: formulate sequence by Python code and choose Separator

- Click Create Sequence to create a new sequence template from combination above

- Action/ Compute Sequence to compute sequence all the existing products of the product category.


Result: Sequences are generated







2

Check Generate Reference then when you create a new product for that product category, the reference will be automatically created


3

Concatenate Product Variant Reference

- On product category check the Concatenated Product Variant checkbox

- Go to Inventory/ Products/ Product Variants

- Select product variants of the category above

- Click Action/ Concatenate Product Variant

Result: Sequences are created for the product variants with attribute values



Update v18

Compute sequences based on the configured Python Code

1

Select By Python Code in the Product Reference field > Click on the Compute Sequence button

Ex : result = product_template_id.name + "_" + product_template_id.type

2

Access products inside this product category > Can see that all references of product templates and their variants are computed based on the configured Python code

Compute variant sequences in a particular product template

After clicking the Compute Variant Sequence button for a product with variants, the internal reference of all variants is automatically computed based on that of the product template


Note 1: If we manually modify the internal reference of a product template and want that of its variants to change accordingly, we should use this button because it won't affect the internal reference of the other products in the same product category


Note 2: If the internal reference of product template is available and then you add variants > The internal reference of variants created automatically will be the same as that of product template



Update the reference of a duplicated product

Duplicate an existing product > Can see that the Duplicated Product checkbox is automatically checked in the duplicated product form > Click on Update Reference > Can see that the Reference is automatically generated








Allow recomputing the reference of a product when changing to another product category

1

Go to Settings > Search for Product Reference by Category > Check it


2

Go to Product Categories > Open a product category > Access an existing product with an available reference > Change to another product category > Save > Can see that the reference is automatically updated based on the sequence configuration of the new category




Note 1: If you want the product reference to remain stable whenever changing to a different product category, you need to uncheck the Product Reference by Category checkbox


Note 2: If you install the module for the first time or update it and want to ensure that the reference of products which is created before the module installation remain unchanged , please follow these steps:
  • Access products > Select all products > Click on set is_created true(product_template) button
  • Access product variants > Select all products > Click on set is_created true(product_product) button
> You only need to do this step once after installing the module



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

  • 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 or have a question related to your purchase, please use the support page.
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