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

Add variant to existing product with stock & lot numbers - How to move stock?

Subscribe

Get notified when there's activity on this post

This question has been flagged
6 Replies
5991 Views
Avatar
Mike clarke

Hi all,


We have an existing product with stock that is tracked via lot/serial number. This stock now has a new variant. If we add an attribute to the product the stock on hand goes to 0.


How do we move the existing stock to one of the variants and preserve the lot numbers? We could just write off stock and then adjust quantity with the new variant but not sure if this is going to cause issues with duplicate serial/lot numbers later. Also this seems kind of hacky?

Is there a better way?

0
Avatar
Discard
Avatar
Chris TRINGHAM
Best Answer

If I understand correctly, you had a product with no attributes / variants and you now have created some.

I found that when you do this, the "dummy variant" record on product.product is archived but not deleted.  

So, if you change the archive flag to active to "restore" this record on product.product it becomes visible again and the inventory balance and the sales history should be there.   You'd need to check where it can be used.

Obviously this is also a bit "hacky".  I don't think there is a right way to do this (other than creating a new product) 

0
Avatar
Discard
Avatar
Pascal Vanderperre
Best Answer

It's a shame but it is possible ;). 

we have a template and its product A, internal ref a000, 10 qt in stock. 

Over time, things change. 

We need more color than a single one white color so far. 

To start, we configure a single variant: color: white and you will see that the existing product product has become the white variant, ref a001, qt on hand 10, etc. 

In the second step, we can add the other colors ...;) 

But if we configure everything in one step, the product template has a qt of 10 but we no longer find its product product .  As already said in this forum, you have to unarchive  it  ! 

1
Avatar
Discard
Avatar
Andrés Aguilar
Best Answer

Just add a new attribute (e.g. size) to your product, with one value (e.g. small), and it will update your other existing attributes values (e.g. color). So if you had only two values in the color attribute (e.g. blue, black), and suddenly you add "white", it will not update unless adding the new attribute as mentioned before. After the update is done, you can delete the "size" attribute, and automatically this data will be erased from the variants. Credit to "How to Odoo" channel in youtube.

0
Avatar
Discard
Avatar
Info
Best Answer

If you have added stock to wrong variant by mistakes in the purchase order, then better option would be return the transaction from where you received the stock and reprocess it with the right products and lot/serial. 

I recommend to return the products from where you received it with wrong variant and then repurchase it with right variant. 

If that's not possible for you then inventory Adjustment is a good option. 

 

 

0
Avatar
Discard
Avatar
Mike clarke
Author Best Answer

Thanks Setu and Chris,

Chris has described the issue that we face. Will just write-off the existing products. Create a new product with vairants and then update the quantity and adjust the lot serial numbers. Seems like this approach will have less issues.

0
Avatar
Discard
Chris TRINGHAM

Yes, agree that is the simplest approach!

Avatar
PLASGOCAS S.L.
Best Answer

In my scenario i have a product with atribute material=steel,pvc (all of them black) with sales purchases and lots and now i want to add another atribbute color=black,white (now i want to add white color) so i want to have steel+black,steel+withe,pvc+black,pvc+white, but what happens whit existing variant that only have steel attribute and history of sales purchases stock and lots ... archive or delete is not an option.

Its a normal behaivor to have a product and extend it later, and now its a pain to add attribute to existing variants

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
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