Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Accounting
  3. Payment – Auto Confirm SO v 20.0
  4. Sales Conditions FAQ

Payment – Auto Confirm SO

by Terrabit https://www.terrabit.ro , Dorin Hongu https://www.terrabit.ro
Odoo

$ 21.91

v 20.0 Third Party
Live Preview
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Payment – Auto Confirm SO

Payment – Auto Confirm SO

Confirm sales order on partial payment

Odoo 20.0 Accounting Odoo.sh • On-premise OPL-1
✓ 14 automated tests
96% code coverage
★ Happy with this module? A rating on this page helps other Odoo users find it and tells our developers what works. Thank you!
★ Leave a rating ↓
  • Overview
  • Usage
  • Versions
Overview

This module extends Odoo's payment layer with two independent behaviours used in Terrabit deployments: confirming a sales order on a partial payment, and controlling which payment providers are offered on payment links.

Features:

  • Confirm a sales order as soon as a (partial) payment is received, without waiting for the full amount.
  • Optionally keep payment transactions out of the "done" state while still confirming the related order, driven by a system parameter.
  • A per-provider switch that decides whether a payment provider is offered when the customer pays through a payment link, while leaving the regular e-commerce checkout and express-checkout flows untouched.

Sales order confirmation on partial payment:

When a payment transaction is set to done, the related quotations in state "draft" or "sent" are confirmed (with the confirmation email sent), as long as the paid amount is greater than zero.

Payments made through cash on delivery (the standard Cash On Delivery payment method, or the legacy on_delivery provider) do not confirm the order: no money has been collected online, so the quotation is left for an operator to confirm by hand.

The behaviour is refined by the system parameter payment.do_not_set_transaction_done:

  • When it evaluates to a false value (the default), the standard Odoo behaviour applies: the transaction moves to "done" and the order is confirmed.
  • When it evaluates to a true value, the transaction is not moved to "done", but the related sales order is still confirmed on a positive payment. This is useful when the actual settlement of the transaction is handled by a separate process while the order must already be confirmed.

Restricting payment providers on payment links:

Each payment provider gains an "Allowed on Payment Links" option (found in the provider's Restrictions tab). It defaults to enabled, except for the offline providers — wire transfer, cash on delivery and the on_delivery provider — for which no money is collected online; those default to disabled. The default is applied when the module is installed and when a provider is created, and can be changed on each provider.

When a payment link is generated for a sales order, that order is flagged as restricted. From then on, paying that order online only offers the providers whose "Allowed on Payment Links" option is enabled; providers with the option disabled are hidden.

The restriction is enforced from trusted server-side state on the sales order, read through the access-token-validated order identity — not from a URL parameter — so a buyer cannot lift it by editing the payment link. Website e-commerce checkout is unaffected, because its cart orders are never flagged.

Configuration:

  • Sales order confirmation: set the payment.do_not_set_transaction_done system parameter (Settings > Technical > System Parameters) to a truthy value to keep transactions out of "done" while still confirming the order; leave it absent or false for the standard behaviour.
  • Payment links: open Accounting/Website > Configuration > Payment Providers, edit a provider and toggle "Allowed on Payment Links" in the Restrictions tab.

Usage:

Generate a payment link for a sales order as usual. The order is flagged automatically, and from then on only the providers with "Allowed on Payment Links" enabled are offered when that order is paid online.

Scope and limitations:

  • The restriction is keyed on the sales order, so it applies wherever that order is paid online (the payment link and the customer portal "Pay Now"). Website e-commerce checkout uses separate cart orders and is not affected.
  • Invoice payment links rely on the portal page flow and are not covered by this option.
  • A payment method disappears only when all of its compatible providers are filtered out; a method backed by several providers stays available until every backing provider is disabled.
Usage

Step 1 — Choose the providers allowed on payment links

  1. Go to Invoicing ▸ Configuration ▸ Online Payments ▸ Payment Providers and open a provider.
  2. In the Restrictions tab, tick Allowed on Payment Links for the providers the customer may use when paying through a payment link. A new online provider has it ticked.
Provider form of Demo: in the Restrictions tab the highlighted field Allowed on Payment Links is ticked
1 Provider form of Demo: in the Restrictions tab the highlighted field Allowed on Payment Links is ticked
  1. Offline providers (wire transfer, cash on delivery, on_delivery) are created with the box unticked, because no money is collected online through them. A value you change is kept on later updates.
Provider form of Wire Transfer: the highlighted field Allowed on Payment Links is unticked
2 Provider form of Wire Transfer: the highlighted field Allowed on Payment Links is unticked

Step 2 — Set the transaction parameter (optional)

Open Settings ▸ Technical ▸ System Parameters (developer mode) and create or edit the key payment.do_not_set_transaction_done:

  • absent or False: the transaction moves to Done and the order is confirmed (standard behaviour);
  • a true value (True): the transaction keeps its state, but the order is confirmed on a positive payment. The settlement of the transaction is left to a separate process.
The system parameter payment.do_not_set_transaction_done with the value True: transactions do not move to Done, but the order is confirmed
3 The system parameter payment.do_not_set_transaction_done with the value True: transactions do not move to Done, but the order is confirmed

Step 3 — Generate the payment link from an order

Open the quotation, choose Actions ▸ Payment Link and send the link to the customer. The order is flagged automatically: from now on, only the providers with Allowed on Payment Links ticked are offered when it is paid online.

The sales order with the Actions menu open and the Payment Link entry
4 The sales order with the Actions menu open and the Payment Link entry

Step 4 — The customer pays

The customer opens the link and clicks Accept & Pay. Only the allowed providers are offered; the wire transfer, unticked, does not appear. The restriction is read from the order on the server, so editing the link does not lift it.

The Pay Order window of the customer portal for a 1,210.00 lei quotation: under Payment method only the Demo provider is offered, with its test fields and the Pay button
5 The Pay Order window of the customer portal for a 1,210.00 lei quotation: under Payment method only the Demo provider is offered, with its test fields and the Pay button

Step 5 — The order is confirmed on the first payment

When a payment greater than zero is recorded, the quotation (Quotation or Quotation Sent) is confirmed and the customer receives the confirmation email, even if the payment covers only part of the total. Payments made through cash on delivery (the cash_on_delivery method or the legacy on_delivery provider) do not confirm the order: the quotation stays for an operator to confirm.

A 2,420.00 lei sales order confirmed after a partial payment of 500 lei: the status bar is on Sales Order and the Create Invoice button is active
6 A 2,420.00 lei sales order confirmed after a partial payment of 500 lei: the status bar is on Sales Order and the Create Invoice button is active
Versions

20.0.0.0.13 (2026-11-10)

  • Documentation: RO (consultant sheet) and EN (USAGE.md) screenshots regenerated on Odoo 20 from tests/test_screenshots.py; the Actions entry is named Payment Link in the sheet and in USAGE.md. The screenshot test no longer relies on get_current_website / require_payment, removed in Odoo 20.

20.0.0.0.12 (2026-11-10)

  • Documentation: consultant sheet (FISA_CONSULTANT.md), English USAGE.md and screenshot test ported from 19.0 and adapted to Odoo 20 (the "Allowed on Payment Links" option is in the provider's Restrictions tab; cash on delivery is also recognized as the standard cash_on_delivery method). The module description now states that cash on delivery payments do not confirm the order.

20.0.0.0.11 (2026-11-10)

  • Apps Store: the -20% campaign banner and band show the total price of the module together with its paid dependencies, as in the store.

19.0.0.0.7

20.0.0.0.10 (2026-11-09)

  • Apps Store page: the euro sign in the -20% campaign band is written as an HTML entity, so it no longer shows as garbled characters.

  • New module icon in the flat style of the other modules; it replaces the old one.

History

20.0.0.0.9 (2026-10-22)

  • Listed on Odoo Apps as Payment – Auto Confirm SO (was Payment Extensions). The technical name deltatech_payment does not change.

20.0.0.0.8 (2026-10-08)

  • Migration to Odoo 20: the payment-link restriction now overrides _find_available_providers (_get_compatible_providers no longer exists) and reports the hidden providers in the availability report; the "Allowed on Payment Links" option moved to the provider's "Restrictions" tab (the "Availability" group is gone); the system parameter is read with get_bool.
  • Cash on delivery is recognized as in Odoo 20 (cash_on_delivery payment method / custom provider with custom_mode cash_on_delivery); the legacy on_delivery code is still honoured.

19.0.0.0.8 (2026-10-01)

  • Fixed the payment.do_not_set_transaction_done system parameter being ignored: it was checked in _set_transaction_done(), which Odoo 19 no longer calls. The check now runs in _set_done(); when the parameter is true, the transaction keeps its state and its quotation is still confirmed.

19.0.0.0.6 (2026-09-24)

  • "Allowed on Payment Links" now defaults to disabled for offline providers: wire transfer and cash on delivery (custom providers with custom_mode wire_transfer / cash_on_delivery) and the on_delivery provider of deltatech_payment_on_delivery. No money is collected online for them, so a payment link should not offer them. The default is applied when the module is installed (a post-init hook updates the providers that already exist) and when a provider is created. It is never recomputed afterwards, so the value chosen on a provider is kept even when Odoo rewrites the provider's code on uninstalling or reinstalling its module. On databases where the module is already installed, the existing settings are kept as they are.

19.0.0.0.5 (2026-08-20)

  • Fixed a crash on payment post-processing whenever this module was installed alongside another module that reaches the same code path (TypeError: unsupported operand types in: sale.order() - None). The _check_amount_and_confirm_order override did not return the confirmed orders, while the caller in sale subtracts that result from the transaction's orders to decide for which of them the "payment succeeded" mail still has to be sent.
  • Cash-on-delivery transactions are no longer confirmed by this override. No money is collected online for them, and deltatech_payment_on_delivery deliberately leaves those quotations for an operator to confirm by hand.

19.0.0.0.4 (2026-06-30)

  • Reworked the payment-link provider restriction to be tamper-proof. Instead of tagging the link URL (which a buyer could edit to lift the restriction), the related sales order is now flagged when a payment link is generated for it, and _get_compatible_providers filters by "Allowed on Payment Links" based on the access-token-validated sale_order_id (which the sale portal renderer always supplies server-side). The restriction therefore applies wherever the order is paid online, while website checkout cart orders stay unaffected.
  • Added the sale.order.payment_link_provider_restricted flag, set on link generation.
  • Made the dependency on sale explicit (the module already used payment.transaction.sale_order_ids).

Older releases are listed in the module's HISTORY file.

Missing a feature? Tell us in a comment on this page before you buy. If it is useful to other users too, we can add it to the module; if it is specific to your company, we will quote the customisation.
Leave a comment ↓
800+
Modules published on Odoo Apps
Odoo
Silver PartnerImplementation & Support

✓ Included in the Terrabit support subscription

If Terrabit is your Odoo implementation partner, your support subscription includes the right to use this module and every other Terrabit module, with no separate purchase. The modules are kept up to date with each new Odoo version and supported by the developers who build them.

Need help getting started?

Our 800+ apps on the Odoo Apps Store are used in Odoo implementations across Europe, the Americas, Asia and Africa — by companies we have never even met. That is the advantage of building modules that simply work.

Questions about this module? Write to us — the developers who build it will answer.

Terrabit support →

More apps by Terrabit

Other modules from the same publisher, built to work together. All apps →

CO Chart of Accounts Sync Accounting

Align Odoo account balances with another accounting system

CI ContWin Interface Accounting

Export invoices, payments and SAF-T to ContWin

KI Keez Interface Accounting

Export invoices and journal entries to Keez

WI WinMentor Interface Accounting

Export invoices, partners and stock to WinMentor

BI BT iPay Payment Accounting

Card payments in Odoo through BT iPay (Banca Transilvania)

CD Card Dummy Payment Accounting

Card dummy payment provider

ER EuPlatesc.ro Payment Accounting

Card payments in Odoo through EuPlatesc.ro

LP LibraPay Payment Accounting

Card payments in Odoo through LibraPay (Libra Internet Bank)

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
Lines of code 108
Technical Name deltatech_payment
LicenseOPL-1
Websitehttps://www.terrabit.ro
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with