Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Issue with the "Pay" Button Visibility After Full Invoice Payment in Odoo

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
accountingodoo18
2 Besvarelser
2436 Visninger
Avatar
Greatman

Hello,

I am experiencing an issue with the "Pay" button in testing new odoo 18 instance on-premise. After validating the payment of an invoice that is fully settled, the "Pay" button remains visible, whereas it should disappear or be disabled.

Steps to Reproduce the Issue:

  1. Create a new customer invoice via Invoicing > Customer Invoices.
  2. Validate the invoice.
  3. Register a payment to fully settle the invoice.
  4. Observe that the "Pay" button remains visible, even though the invoice status is "Paid."

Observed Issue:

  • The "Pay" button remains active after full payment.
  • This can be confusing for the user, as it might seem like the payment has not been fully validated.

What I’ve Tried:

  • Checked the configuration settings of the account module.
  • Tested with a clean database to rule out data issues.

Thank you in advance for your help!

0
Avatar
Kassér
Avatar
Ruchita
Bedste svar

If the "Pay" button is still showing after the invoice is fully paid, it's likely because the invoice isn't properly marked as Paid. Please check the residual amount—it should be 0.00. Sometimes, even if the payment is done, it's not fully reconciled with the invoice. Also, if you're using any custom code or modules, they might affect the visibility of the button. In standard Odoo, once an invoice is fully paid and reconciled, the "Pay" button should disappear automatically.

0
Avatar
Kassér
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Bedste svar

Hi,


In Odoo, the visibility of the "Pay" button on a customer invoice is controlled in the form view by conditions that check the invoice's state and sometimes its residual amount (amount_residual).

What you’re seeing in Odoo 18 on-premise sounds like either:

  • A view condition regression in the new version, or
  • The amount_residual not being computed to 0.0 because of rounding or partial reconciliation issues.

To fix this issue, follow the method below.

1- Change the visibility attribute of the button from UI as,

2- Through code.

 Try the code below in your custom module.

<xpath expr="//button[@name='action_register_payment']" position="attributes">
<attribute name="invisible">(state != 'posted' or payment_state not in ('not_paid', 'partial', 'in_payment')</attribute>
</xpath>


Hope it helps

0
Avatar
Kassér
Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Pro-forma Invoice PDF showing inside Invoices (Odoo 18) — where is this coming from?
accounting invoice odoo18
Avatar
Avatar
Avatar
2
nov. 25
259
Issue with CybroSys Modules Showing as Uninstallable in Odoo 18
accounting Cybrosys odoo18
Avatar
Avatar
1
mar. 25
2880
Array Filter
accounting
Avatar
0
nov. 25
5
Berapa nomor telepon layanan Tokopedia?
accounting
Avatar
0
nov. 25
2
what is the best girl mexico
accounting
Avatar
0
nov. 25
2
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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