Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Guest House
    • Drankenhandelaar
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Solar Energy Systems
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC Services
    Others
    • Nonprofit Organization
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Serial Number inheritance

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
inheritanceserialserial_numbernumber
1 Beantwoorden
2630 Weergaven
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
Annuleer
Avatar
Nomadoo
Beste antwoord

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
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Serial number traceability report does not record rental reference number
rental serial number
Avatar
0
dec. 23
1978
Unbuild product into components, option to add serial number for each component?
manufacturing serial number Unbuild
Avatar
Avatar
1
mrt. 22
5292
How to correctly receive a product with serial number from RMA
product repair serial serial_number
Avatar
0
mei 20
5036
Scanned serial numbers blocked with new order
orders serial serial_number returns
Avatar
0
okt. 19
3549
Serial number traceability through a MO
serial number components traceability
Avatar
0
jun. 17
5897
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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