Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • 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 Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and 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
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Help

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Serial Number inheritance

Odoberať

Get notified when there's activity on this post

This question has been flagged
inheritanceserialserial_numbernumber
1 Odpoveď
2650 Zobrazenia
Avatar
Matt Clark

Regarding serial numbers, I assemble, program and test a printed circuit board for a product. As part of the programming, I assign a serial number to the PCB, which is programmed into a chip, along with other firmware. Associated with this serial number are other feature unlock codes that are unique to the PCB.

I have serial number control enabled in Odoo, so Odoo is aware that each assembled PCB has a unique serial number and a set of associated unlock codes.

The programmed and tested PCBs are then used in a top level assembly, that includes a plastic case, USB cable, packaging etc. to make a saleable product. 

What I'd like to be able to do is have the top level assembly inherit the serial number from the PCB that is part of it's BOM, so that when I sell the final product, it can display the correct serial number on the picking slip / other paperwork. 

Is this possible?


0
Avatar
Zrušiť
Avatar
Nomadoo
Best Answer

In Odoo, achieving the serialization inheritance you described, where the top-level assembly inherits the serial number from a component (PCB) within its Bill of Materials (BOM), typically requires some customization as this behavior isn't directly supported out of the box. Here's a general approach you could follow:

1. Custom Field for Top-Level Assembly:


    Serial Number Field:

        Add a custom field (e.g., serial_number) to the top-level assembly model (e.g., mrp.production or your custom model).


2. Inherit Serial Number from Component:


    Custom Logic:

        Implement custom logic to inherit the serial number from the component (PCB) to the top-level assembly.

        This logic could be implemented using Python code in a custom module.


    Use Signals or Overrides:

        You might use signals (@api.model decorators) or overrides (@api.onchange, @api.depends) to trigger this logic when creating or updating the top-level assembly.


3. Update Picking Slip and Paperwork:


    Custom Reports:

        Modify the picking slip and other paperwork templates to include the serial_number of the top-level assembly.


4. Custom Module:


    Create a Custom Module:

        Develop a custom module to encapsulate your changes.




Important Considerations:


    This code is a basic example and may need to be adjusted based on your specific requirements and Odoo version.

    It assumes that your top-level assembly's BOM is defined with the PCB as a component.

    Odoo version compatibility is crucial, and the code may need adjustments based on the version you are using.

0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
Serial number traceability report does not record rental reference number
rental serial number
Avatar
0
dec 23
1983
Unbuild product into components, option to add serial number for each component?
manufacturing serial number Unbuild
Avatar
Avatar
1
mar 22
5301
How to correctly receive a product with serial number from RMA
product repair serial serial_number
Avatar
0
máj 20
5041
Scanned serial numbers blocked with new order
orders serial serial_number returns
Avatar
0
okt 19
3557
Serial number traceability through a MO
serial number components traceability
Avatar
0
jún 17
5905
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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