Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Food & Hospitality
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Guest House
    • Distributor nápojů
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Trades
    • Údržbář
    • IT hardware a podpora
    • Solar Energy Systems
    • Výrobce obuvi
    • Úklidové služby
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Serial Number inheritance

Odebírat

Get notified when there's activity on this post

This question has been flagged
inheritanceserialserial_numbernumber
1 Odpovědět
2615 Zobrazení
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šit
Avatar
Nomadoo
Nejlepší odpověď

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šit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Serial number traceability report does not record rental reference number
rental serial number
Avatar
0
pro 23
1963
Unbuild product into components, option to add serial number for each component?
manufacturing serial number Unbuild
Avatar
Avatar
1
bře 22
5289
How to correctly receive a product with serial number from RMA
product repair serial serial_number
Avatar
0
kvě 20
5025
Scanned serial numbers blocked with new order
orders serial serial_number returns
Avatar
0
říj 19
3533
Serial number traceability through a MO
serial number components traceability
Avatar
0
čvn 17
5883
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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