OdooWiki OCA HUB

Payment Term Extension

account_payment_term_extension folder_open OCA/account-payment open_in_new
Accounting & Finance License: AGPL-3

This module extends the functionality of payment terms to:

  • select "Percent (untaxed amount)" type in lines for using the base amount instead of the total (with taxes) one.
  • support rounding, months and weeks on payment term lines
  • allow to set more than one day of payment in payment terms
  • if a payment term date is a holiday, it is postponed to a selected date
  • allow to apply a chronological order on lines
  • for example, with a payment term which contains 2 lines
  • on standard, the due date of all lines is calculated from the invoice date
  • with this feature, the due date of the second line is calculated from the due date of the first line

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Extends payment terms with rounding, weeks/months delays, multiple payment days, holiday postponement and sequential due dates. Users can also base a line on the untaxed amount instead of the taxed total.

This module enriches the payment terms you configure in Accounting so due dates and instalment amounts follow your real business rules.

On each payment term line you can now: - Choose a delay in days, weeks or months (after the invoice date, after end of month, or after end of next month). Which delay options appear is controlled by a company setting, "Payment Terms Delay Types", found in Accounting settings. - Enter one or several payment days (e.g. 10, 25); the due date is moved to the next matching day, rolling to the next month if needed. - Set an "Amount Rounding" so the computed amount is a multiple of that value. - Use a new line type "Percent (Untaxed amount)" to compute a percentage on the amount before tax. Percentages must stay between 0 and 100, and this type cannot be used with a foreign currency.

On the payment term itself you can tick "Sequential lines" so each line's due date is calculated from the previous line's due date instead of always from the invoice date. You can also list holidays with a postponed date: if a computed due date falls on a holiday, it is automatically moved to the postponed date. The module prevents a postponed date from being in the past, duplicate holidays, and a date being both a holiday and a postponed date. It is not compatible with cash rounding.

Depends on

accountpurchase
Models and fields (5)
  • res.company · extends an existing modelpayment_terms_delay_type (Payment terms Delay types)
  • res.config.settings · extends an existing modelpayment_terms_delay_type
  • account.payment.term · extends an existing modelholiday_ids (Holidays), sequential_lines
  • account.payment.term.line · extends an existing modelvalue, delay_type, amount_round (Amount Rounding), payment_days (Payment day(s))
  • account.payment.term.holiday · new modelholiday, payment_id, date_postponed (Postponed date)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/account-payment.

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure the Payment Terms and see the new options on the Payment Term Lines, you need to:

  • Go to the menu Invoicing \> Configuration \> Invoicing \> Payment Terms.

To use multiple payment days, define for each payment term line which payment days apply, separated by spaces, commas or dashes. To use holidays, insert the holiday and the date payment terms will be postponed to.

To modify the type of delay options available in the payment terms, you need to:

  • Go to the menu Invoicing \> Configuration \> Settings \> Payment Terms.
  • Choose an option from:
  • Days
  • Days and Weeks
  • Days and Months
  • Days, Weeks and Months

Go to Invoicing \> Customers \> Invoices and edit any invoice or create a new one.

Select any payment term and set a date in invoice.

You must see the due date based on this payment term.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.