Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

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

Subscriure's

Get notified when there's activity on this post

This question has been flagged
6 Respostes
5921 Vistes
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
Descartar
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
Descartar
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
Descartar
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
Descartar
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
Descartar
Avatar
Mike clarke
Autor 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
Descartar
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
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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