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
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How to configure products with different SKU/names/codes ?

Subscribe

Get notified when there's activity on this post

This question has been flagged
saasinventorystudioquickstart13.0
2 Replies
10071 Views
Avatar
Maureen Winand (mwd)

2 documents on:

  • how to configure OOTB to have different names for the same product
  • how to import this information later to the product template
1
Avatar
Discard
Avatar
Maureen Winand (mwd)
Author Best Answer

I’ll share with 2 documents with you:

1. A PDF with the step by step on how to configure OOTB to have different names for the same product, for example, Product is called PPProduct bye the Client A and Producttt by client B and we want this reflected on their SO

Context:
When a product has different names or codes for different clients, and we want to have the
name/code of product on the SO that correspond to the customer we are selling the product.
*So, one product and different name/codes for different customers and/or vendors
Product: Test product
Client name for “Test Product” is: Name
Client code for “Test Product” is: Code
So we want to have →

Solution:
There are 2 solutions:
1) We add the Customer on the Vendor tab, with their product’s name/code and Odoo will
use that info on the SO


Problems: we will have vendors and customers mixed on the same list

2) We add a new tab, for the customers and one more for the vendors, so we split the
existing tab/field in two and we will have the product’s name/code on the SO, by using
the same base field (“seller_ids”)

Step by Step solution:

Here the details on how to:
1) We create the tab on the product template for the Product’s name – client


2) Then we add a one2many field linked to “Supplier Pricelist”


And we will name this field “Clients” for example.


3) We go to the list view of the new field and add a new Boolean field called “Customer”:


*We will hide this field later, but we need it now, to check that our flow is working
correctly.

4) Here we can modify the fields displayed according to your client’s needs. We can delete
some fields from here like currency, quantity, UoM, price. Then add: vendor name and
vendor code (Of course we should change the name of the fields so the user does not get
confused)
Also, we need to make the field now called “Customer” editable, (it comes as read only)


5. Go to the list view of our field, we will go to the tab “view” and make it editable, so the
user will not see the options we delete from the view, like price, currency, etc.


6) Now we go to “more” information about the field “Clients” and we will modify the domain
as: [('x_studio_customer','=',True)]

7) And we will also add a context to this field: context="{'default_x_studio_customer': True}"


After saving the last modifications it will look like this: 


8) And it is ready to use and add some client’s SKU: 


9) Now if we go and sell this product to this client, it will show like:


10) You can apply almost the same steps to now add the tab for the vendors (steps 1 to 3,
and 6 – 7)


11) And finally, you can hide the “customer” and “vendor” boolean fields:


12) You can hide the base field of the purchase tab, it will contain both, customers and vendor.


 Resume of Formulas/Code used:
*Formula:
Context field customer: "{'default_x_studio_customer': True}"
Domain: [["x_studio_customer","=",True]]
Contexte field vendor: "{'default_x_studio_vendor: True}"
Domain : [["x_studio_vendor","=",True]]

Advise and Tips:
*You must create 2 boolean fields, one for vendors and one for customer, otherwise the domain
“filter” will not work.

*Be careful with the list order: once you add vendors and clients, remember that odoo will take
the first on the list (for any route configured: Reordering rules/MTO), and it could be a vendor or
a customer (depending which you added first).
Solution: You can hide this field for almost all users and let it visible for the managers so they will
be able to check the entire list and move registers if needed. 


2. A template on how to import this information later to the product template.




1
Avatar
Discard
Caroline Renouprez (rec)

Nice one! Thanks!

Avatar
Tan Chia Huei
Best Answer

Thank you so much for this solution! I needed to set up different brand names for different customers and because we were already using variants, it wasn't possible without your solution. It was easy to implement and I'll save this page somewhere for future reference :) 

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Fedex Integration (2020) V12 - Belgium & International Solved
inventory quickstart 12.0 13.0
Avatar
Avatar
2
Feb 24
3790
How to use Landed Costs in V13? Solved
accounting inventory quickstart 13.0
Avatar
1
Apr 21
3568
Storable vs Consumable. What is the difference between these types of Products? Solved
accounting inventory quickstart 13.0 v14
Avatar
Avatar
Avatar
Avatar
3
Jun 25
36318
How to switch product type from consumable to storable when going live in Inventory? Solved
inventory quickstart 12.0 13.0 11.0
Avatar
Avatar
2
Jul 24
12763
How can I manage several subcontracting locations? Solved
inventory quickstart routes 13.0 v14
Avatar
Avatar
2
Jun 22
5993
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
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

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

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now