跳至主要内容
产品详细信息以英文显示。翻译即将推出。
Discount on Payment Methods — A made-to-order Odoo module that automatically applies a discount when a customer pays with a n — 1/1示意预览

A made-to-order Odoo module that automatically applies a discount when a customer pays with a nominated method

— cash, bank transfer, wallet or card — across Sales, POS and invoicing.

ECOSIRE scopes, builds, installs and supports it on your database.

什么是 Discount on Payment Methods?

A made-to-order Odoo module that automatically applies a discount when a customer pays with a nominated method — cash, bank transfer, wallet or card — across Sales, POS and invoicing. ECOSIRE scopes, builds, installs and supports it on your database. Built to order by ECOSIRE for Odoo 17, 18, 19 — indicative price from $999.00 USD; request a quote for a scoped proposal.

核心功能

Configurable `payment.method.discount` model mapping each `account.payment.method.line` and `pos.payment.method` to its own rule
Fixed-amount or percentage discount, selectable per payment method with `@api.constrains` validation against negative or over-total values
Minimum-order-value threshold and product/product-category eligibility filters before a discount qualifies
Active date-window and per-`company_id` scoping enforced by record rules for multi-company databases
Live POS recalculation via an OWL PaymentScreen extension the instant a payment line is added or changed
Applied discount written as a distinct, auditable discount line — never a silent unit-price edit
Sales and Accounting integration that proposes and records the mapped discount at payment registration while keeping the journal entry balanced
`@api.depends` compute fields that re-evaluate eligibility on payment, amount or partner change
Tax and rounding behavior configurable to apply the discount before or after tax, matching your localization
`ir.model.access.csv` plus record rules so payment-discount tables stay isolated per company and per user group
QWeb summary report and list/pivot views showing margin cost by payment method
Optional automated action flagging orders where the tendered method did not match the granted discount
Settings page under Point of Sale and Accounting configuration to maintain rules without developer involvement
Exposed over Odoo's XML-RPC/JSON-RPC API so external POS or e-commerce front ends can query eligible discounts

按需定制,全程代劳

无需自行搭建——由 ECOSIRE 构建、安装并提供支持的可用应用。

  1. 1

    您下单

    以一次性构建价格开始。我们在启动时与您共同确定范围。

  2. 2

    我们构建与安装

    ECOSIRE 在您的 Odoo 上构建、配置并安装。

  3. 3

    上线 + 支持

    约一个工作周内上线,并包含两周上线支持。我们交付的代码中的缺陷免费修复。

技术规格

Odoo 兼容性
Odoo 17, Odoo 18, Odoo 19
版本
企业版和社区版
许可证
许可证需要确认
Python 要求
Python 3.10+
数据库
PostgreSQL 12+

关于此产品

Many finance teams want to steer customers toward cheaper-to-process payment methods — offering a small cash or bank-transfer discount to dodge card interchange fees, or a wallet-specific promotion to hit a partner target. Out of the box, Odoo has no concept of a discount conditioned on how the customer pays. Discounts live on pricelists, coupon programs or manual sale-order lines, all of which are decided long before the payment step. The result is manual line edits, spreadsheets of "if they pay cash, knock off 2%," and reconciliation headaches when the recorded discount and the actual tender disagree. Native account.payment and pos.payment carry no pricing logic, and pricelist rules key off product, quantity and partner — never payment.method.line or pos.payment.method.

We build a dedicated module that closes this gap. At its core is a configurable payment.method.discount model (models.Model) that maps each payment method — a Sales/Accounting account.payment.method.line or a pos.payment.method — to a discount rule: fixed amount or percentage, optional minimum order value, product/category eligibility, active date window and per-company scope. Fields are computed with @api.depends so the eligible discount recalculates whenever the payment selection, order amount or partner changes, and @api.constrains guards against nonsensical setups (negative percentages, overlapping windows, discounts exceeding the order total). Access is locked down with ir.model.access.csv plus record rules that respect company_id for multi-company databases, so a subsidiary's payment-discount table never leaks into another company.

On the Point of Sale side, the discount is evaluated the moment a payment line is added: an OWL PaymentScreen extension recalculates the order total live so the cashier and customer both see the corrected figure before tender, and the applied rule is written back as a distinct discount line (never a silent price edit) for a clean audit trail. In Sales and Accounting, the module hooks payment registration and the confirmation flow so that selecting a bank-transfer or cash method proposes the mapped discount, records it against the invoice or sale order, and keeps the journal entry balanced. Everything surfaces in a QWeb report and a filterable list/pivot view so finance can see exactly how much margin each method costs, and an optional automated action can flag orders where the tendered method did not match the discount that was granted.

Because this is built to order, we start from your real payment-method configuration and workflow rather than a generic template. After a short scoping call we confirm the exact rule matrix, POS-versus-back-office behavior, rounding and tax treatment, then build against your target release — we support Odoo 17.0, 18.0 and 19.0, and account for Community-versus-Enterprise differences (Enterprise ships extra POS payment terminals and accounting flows the rules must respect). Typical delivery is one working week from confirmed scope, on a staging database first. Pricing starts from $999 (indicative, single-company base scope); multi-company rule tables, POS-terminal integrations, complex tax/rounding localization, and migration of historical discount data increase the quoted scope. You get a fixed quote after the scoping call — no surprise line items.

你得到什么

  • Installable, version-pinned module source code for your target Odoo release (17.0, 18.0 or 19.0)
  • Installation and configuration on your staging environment, then production, with your real payment-method matrix loaded
  • Technical documentation: data model, rule fields, security rules, and extension points
  • End-user guide plus a live training session for finance and POS/cashier staff
  • UAT on a staging database with a documented test matrix and a rollback plan before go-live
  • Post-go-live support window for defect fixes and configuration questions
  • Handover of the full git repository with commit history and branch per Odoo version
  • Configuration export of the seeded discount rules for backup and re-import

这是给谁的

Finance / Controller

Wants to cut card-processing fees by nudging customers to cash or bank transfer, and needs every granted discount recorded cleanly against the invoice so margin reporting and reconciliation stay accurate.

Retail / POS Operations Manager

Runs one or more Point of Sale outlets and needs the payment-method discount to appear live on the cashier screen before tender, with a clear audit line rather than manual price overrides.

Odoo Administrator / ERP Owner

Maintains the database and wants a properly-scoped, access-controlled module they can configure from Settings, that respects multi-company boundaries and survives version upgrades.

E-commerce / Multi-channel Lead

Sells through POS and online and needs eligible payment-method discounts exposed over the XML-RPC/JSON-RPC API so the storefront and back office show consistent pricing.

Discount on Payment Methods 如何比较

标准伊科西尔定制建造竞争对手Odoo 原生
Discount tied to payment methodNative concept — rules map each method to its own discountAchievable but you design and build the model yourselfSometimes offered, but fixed to the vendor's assumptionsNot supported — discounts decided before payment step
Live POS recalculationOWL PaymentScreen extension updates total on tender selectionRequires bespoke POS JS/OWL work to get rightVaries; may only apply in back office, not live at POSNone — cashier edits price manually
Fit to your workflowBuilt from your real payment matrix and rounding/tax rulesFully bespoke, but full cost and risk on youGeneric; you adapt your process to the moduleYou adapt entirely with manual line edits
Multi-company scopingPer-`company_id` rules with record rules and ACLsOnly if you build and test itInconsistent; often single-company assumptionsNot applicable — no such feature
Audit trailDiscount posted as a distinct line, not a silent price editDepends on your implementation disciplineVaries by vendorManual edits leave weak audit trail
Odoo version support17.0 / 18.0 / 19.0, Community and Enterprise, per branchWhatever you build and maintainOften lags new major releasesShips with your version but lacks the feature
Support & ownershipPost-go-live window plus full git repo handoverYou own all maintenanceVendor-dependent; source often obfuscatedOdoo community/enterprise support, feature absent
Time to valueone working week from confirmed scope on staging firstLonger — design, build, test from scratchFast to install but slow to fit realityImmediate but requires ongoing manual effort

关于Discount on Payment Methods的常见问题

Is this an existing app I can download and install today?

No. This is a build-to-order module. ECOSIRE scopes, builds, installs and supports it specifically for your database and workflow — it is a productized service, not an off-the-shelf download. You request a quotation and we build your version.

How long does delivery take?

Typical delivery is one working week from confirmed scope. After the scoping call we build against your target Odoo release, deliver to a staging database for UAT, then move to production. Larger rule matrices, POS-terminal integrations or data migration can extend that timeline, which we confirm before you commit.

How does pricing and scoping work?

Pricing starts from $999 as an indicative single-company base scope. The exact figure depends on your rule complexity, multi-company needs, tax/rounding localization and any historical-data migration. You get a fixed written quote after a short scoping call — no open-ended hourly billing.

Which Odoo versions and editions are supported?

We support Odoo 17.0, 18.0 and 19.0, on both Community and Enterprise. Enterprise ships additional POS payment terminals and accounting flows; we account for those differences and build the rules to respect whichever edition you run.

What about support and updates after go-live?

Every build includes a post-go-live support window for defect fixes and configuration questions. Beyond that we offer optional support and version-upgrade retainers, and you receive the full git repository so any Odoo partner can maintain it. Upgrades to a newer Odoo major version are scoped separately.

Does the discount work in both Point of Sale and back-office Sales/Accounting?

Yes. In POS the discount recalculates live via an OWL screen extension the moment a payment line is added. In Sales and Accounting it is proposed and recorded at payment registration and kept consistent with the journal entry. You choose which channels are in scope.

Will the discount respect multi-company boundaries and access rights?

Yes. The rule model is scoped by `company_id` with record rules, and access is controlled through `ir.model.access.csv`, so each company's payment-discount table and the users who can edit it stay isolated.

申请报价

Discount on Payment Methods

A made-to-order Odoo module that automatically applies a discount when a customer pays with a nominated method — cash, bank transfer, wallet or card — across Sales, POS and invoicing. ECOSIRE scopes, builds, installs and supports it on your database.

  • Configurable `payment.method.discount` model mapping each `account.payment.method.line` and `pos.payment.method` to its own rule
  • Fixed-amount or percentage discount, selectable per payment method with `@api.constrains` validation against negative or over-total values
  • Minimum-order-value threshold and product/product-category eligibility filters before a discount qualifies
  • Active date-window and per-`company_id` scoping enforced by record rules for multi-company databases

申请报价

告诉我们您对 Discount on Payment Methods 的需求,我们将发送价格、许可选项和量身定制的方案,通常在一个工作日内。

现在无需付款。此操作会向我们的团队发送报价请求——我们会通过邮件跟进价格和后续步骤。