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
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • 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

Product duplicated multiple times in "RFQ" created from approval module "PR"

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
purchase
1 Beantwoorden
269 Weergaven
Avatar
Rana Samy


I'm using odoo.sh version 18

We are facing an issue in the Purchase module.

When selecting product in purchase order lines in any RFQ created from approval module PR, the same product is automatically duplicated around 6 times in separate lines — even though it was chosen only once.

The product has one vendor, no variants, and no custom automation or Studio behavior.

when removing the duplicated lines we are not able to save the RFQ as an error pops up indicating there is an invalid value entered in an integer field.
eventually we can not add the correct order lines and can not save and proceed with the RFQ, also unable to identify the source issue from the errors and cant find an explanation of this unexpected behavior in the order lines.

Please advise, thank you in advance.


0
Avatar
Annuleer
Ray Carnes (ray)

Do you have ms_purchase_sequence installed?

Try removingit in a staging branch to see if it is causing the problem.

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Beste antwoord

Hi,


The issue of duplicated products in purchase order lines when creating RFQs from the Purchase Request or Approval module in Odoo 18 usually stems from a conflict or error in how Odoo copies request lines into the purchase order. When the duplication occurs only on RFQs generated through requests and not on manually created POs, it indicates that the problem lies in the request-to-RFQ linkage — typically due to the _prepare_purchase_order_line method being triggered multiple times or a module override that duplicates the creation process.


The “invalid integer field” error that appears when you delete the duplicate lines happens because those lines are linked to a missing or invalid purchase request line ID. When you remove them, Odoo tries to set a required relational field to null, causing the constraint error. Checking in Developer Mode will reveal if the field purchase_request_line_id or approval_request_line_id is involved.


To fix the issue, review installed modules and custom code, especially anything inheriting from purchase_request_to_rfq or similar. You may need to patch the logic to prevent duplicate line creation or disable automated actions that might trigger extra entries. As a temporary workaround, manually recreate the RFQ, remove duplicates before saving, or export and reimport the valid lines. In summary, the problem is caused by duplicate triggers or broken foreign key links between the Purchase Request and RFQ lines, which can be resolved by reviewing custom module logic or disabling overlapping automation.


Hope it helps

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
V18 picking the wrong line for a PO
purchase
Avatar
0
nov. 25
325
Limit products to their suppliers/vendors
purchase
Avatar
Avatar
Avatar
Avatar
3
sep. 25
1146
eCommerce: How to remove the Address from Checkout
purchase
Avatar
Avatar
Avatar
Avatar
3
aug. 25
1705
How to prevent receipt creation after confirming a Purchase Order in Odoo 18? Opgelost
purchase
Avatar
Avatar
1
jul. 25
1556
Is it possible to Merge Purchase Orders in odoo online?
purchase
Avatar
Avatar
1
jul. 25
1862
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