Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Odoo 18 error creating manufacturing order

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
manufacturingOdoo 18
2 Răspunsuri
2034 Vizualizări
Imagine profil
Fritz Subscreti

Hi guys,

getting this error Odoo 18 when trying to create a manufacturing order (the same process works for products of other companies on the same server.


Odoo Server Error

RPC_ERROR



Occured on mycompany.com on model mrp.production and id 309 on 2025-03-06 06:27:01 GMT


Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1962, in _transactioning

    return service_model.retrying(func, env=self.env)

  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 156, in retrying

    result = func()

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1929, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 2177, in dispatch

    result = self.request.registry['ir.http']._dispatch(endpoint)

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 333, in _dispatch

    result = endpoint(**request.params)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 727, in route_wrapper

    result = endpoint(self, *args, **params_ok)

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 36, in call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/usr/lib/python3/dist-packages/odoo/api.py", line 533, in call_kw

    result = getattr(recs, name)(*args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/addons/web/models/models.py", line 72, in web_save

    self = self.create(vals)

  File "<decorator-gen-331>", line 2, in create

  File "/usr/lib/python3/dist-packages/odoo/api.py", line 495, in _model_create_multi

    return create(self, [arg])

  File "/usr/lib/python3/dist-packages/odoo/addons/mrp/models/mrp_production.py", line 949, in create

    vals['name'] = self.env['stock.picking.type'].browse(picking_type_id).sequence_id.next_by_id()

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_sequence.py", line 270, in next_by_id

    return self._next(sequence_date=sequence_date)

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_sequence.py", line 259, in _next

    return self._next_do()

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_sequence.py", line 200, in _next_do

    number_next = _update_nogap(self, self.number_increment)

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_sequence.py", line 57, in _update_nogap

    self._cr.execute("SELECT number_next FROM %s WHERE id=%%s FOR UPDATE NOWAIT" % self._table, [self.id])

  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 354, in execute

    res = self._obj.execute(query, params)

psycopg2.errors.UndefinedFunction: operator does not exist: integer = boolean

LINE 1: SELECT number_next FROM ir_sequence WHERE id=false FOR UPDAT...

                                                    ^

HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.



The above server error caused the following client error:

RPC_ERROR: Odoo Server Error

    RPCError@https://mycompany.com/web/assets/debug/web.assets_web.js:29740:9 (/web/static/src/core/network/rpc.js:11)

    makeErrorFromResponse@https://mycompany.com/web/assets/debug/web.assets_web.js:29763:19 (/web/static/src/core/network/rpc.js:34)

    rpc._rpc/promise</<@https://mycompany.com/web/assets/debug/web.assets_web.js:29817:48 (/web/static/src/core/network/rpc.js:88)

0
Imagine profil
Abandonează
Lars Aam

The key to solution is this:
psycopg2.errors.UndefinedFunction: operator does not exist: integer = boolean
LINE 1: SELECT number_next FROM ir_sequence WHERE id=false FOR UPDAT...

HINT: No operator matches the given name and argument types. You might need to add explicit type casts.

The function seems to search for the next operator from a number sequence, but cannot find.

Imagine profil
Cybrosys Techno Solutions Pvt.Ltd
Cel mai bun răspuns

Hi,

The RPC_ERROR is caused because the MO does not have a valid picking_type_id, which leads to trying to fetch a sequence from False.

Fixing it involves:


Ensuring the product’s company is correct.


Ensuring a Manufacturing picking type exists for that company.


Ensuring the picking type has a valid sequence.


Hope it helps.

0
Imagine profil
Abandonează
Imagine profil
Felix Hummel
Cel mai bun răspuns

We had a similar problem. The root cause for us was that the ir_sequence​ record referenced by stock_picking_type.sequence_id​ was missing.

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
How to Delete a Stale Project Folder?
Odoo 18
Imagine profil
Imagine profil
2
oct. 25
642
How to make Odoo schedule manufacturing in parallel?
manufacturing
Imagine profil
0
oct. 25
435
Change in Work Center Productivity Accounting
manufacturing
Imagine profil
Imagine profil
1
sept. 25
1278
How to disable form view if there are not registers?
manufacturing
Imagine profil
Imagine profil
2
sept. 25
963
Columna calculada en orden de producción
manufacturing
Imagine profil
Imagine profil
2
sept. 25
844
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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