Payment Term Extension

account_payment_term_extension
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/19.0/account_payment_term_extension
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Pablo Cortés
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.account res.config.settings xpath Inherits account.res_config_settings_view_form
view_payment_term_form account.payment.term.form.extension account.payment.term label Inherits account.view_payment_term_form
view_payment_term_holiday_tree Tree view for account.payment.term.holiday account.payment.term.holiday list New
Models touched (5)

New fields (2)
  • holiday_ids One2many → account.payment.term.holiday
    comodel_name='account.payment.term.holiday' inverse_name='payment_id' string='Holidays'
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.'
Public methods (2)
  • apply_holidays(self, date)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments

New fields (3)
  • date_postponed Date
    required=True string='Postponed date'
  • holiday Date
    required=True
  • payment_id Many2one → account.payment.term
    comodel_name='account.payment.term' ondelete='cascade'
Public methods (1)
  • check_holiday(self)
    @api.constrains('holiday', 'date_postponed')

New fields (4)
  • amount_round Float
    digits='Account' help='Sets the amount so that it is a multiple of this value.' string='Amount Rounding'
  • delay_type Selection
    ondelete={'weeks_after': 'set default', 'weeks_after_end_of_month': 'set default', 'weeks_after_end_of_next_month': 'set default', 'months_after': 'set default', 'months_after_end_of_month': 'set default'} selection=<expr>
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • value Selection
    ondelete={'percent_amount_untaxed': <expr>} selection_add=[('percent_amount_untaxed', 'Percent (Untaxed amount)'), ('fixed')]
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount, precision_digits)
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line

New fields (1)
  • payment_terms_delay_type Selection
    default='days' help='Choose the type of delay when creating new payment terms.' selection=[('days', 'Days'), ('weeks', 'Days and Weeks'), ('months', 'Days and Months'), ('weeks_and_months', 'Days, Weeks and Months')] string='Payment terms Delay types'
Public methods (0)

No public methods.

New fields (1)
  • payment_terms_delay_type Selection
    readonly=False related='company_id.payment_terms_delay_type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/18.0/account_payment_term_extension
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Marco Colombo, odooNextev
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.account res.config.settings xpath Inherits account.res_config_settings_view_form
view_payment_term_form account.payment.term.form.extension account.payment.term label Inherits account.view_payment_term_form
view_payment_term_holiday_tree Tree view for account.payment.term.holiday account.payment.term.holiday list New
Models touched (5)

New fields (2)
  • holiday_ids One2many → account.payment.term.holiday
    comodel_name='account.payment.term.holiday' inverse_name='payment_id' string='Holidays'
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.'
Public methods (2)
  • apply_holidays(self, date)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments

New fields (3)
  • date_postponed Date
    required=True string='Postponed date'
  • holiday Date
    required=True
  • payment_id Many2one → account.payment.term
    comodel_name='account.payment.term' ondelete='cascade'
Public methods (1)
  • check_holiday(self)
    @api.constrains('holiday', 'date_postponed')

New fields (4)
  • amount_round Float
    digits='Account' help='Sets the amount so that it is a multiple of this value.' string='Amount Rounding'
  • delay_type Selection
    ondelete={'weeks_after': 'set default', 'weeks_after_end_of_month': 'set default', 'weeks_after_end_of_next_month': 'set default', 'months_after': 'set default', 'months_after_end_of_month': 'set default'} selection=<expr>
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • value Selection
    ondelete={'percent_amount_untaxed': <expr>} selection_add=[('percent_amount_untaxed', 'Percent (Untaxed amount)'), ('fixed')]
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount, precision_digits)
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line

New fields (1)
  • payment_terms_delay_type Selection
    default='days' help='Choose the type of delay when creating new payment terms.' selection=[('days', 'Days'), ('weeks', 'Days and Weeks'), ('months', 'Days and Months'), ('weeks_and_months', 'Days, Weeks and Months')] string='Payment terms Delay types'
Public methods (0)

No public methods.

New fields (1)
  • payment_terms_delay_type Selection
    readonly=False related='company_id.payment_terms_delay_type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/17.0/account_payment_term_extension
VERSION
VERSION 1.0.5
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSPedro M. Baeza, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, RicardCForgeFlow, GuillemCForgeFlow, adrip-s73, Edilio Escalona Almira, anaïs
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.account res.config.settings xpath Inherits account.res_config_settings_view_form
view_payment_term_form account.payment.term.form.extension account.payment.term xpath Inherits account.view_payment_term_form
view_payment_term_holiday_tree Tree view for account.payment.term.holiday account.payment.term.holiday tree New
Models touched (5)

New fields (2)
  • holiday_ids One2many → account.payment.term.holiday
    comodel_name='account.payment.term.holiday' inverse_name='payment_id' string='Holidays'
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.'
Public methods (2)
  • apply_holidays(self, date)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments

New fields (3)
  • date_postponed Date
    required=True string='Postponed date'
  • holiday Date
    required=True
  • payment_id Many2one → account.payment.term
    comodel_name='account.payment.term'
Public methods (1)
  • check_holiday(self)
    @api.constrains('holiday', 'date_postponed')

New fields (4)
  • amount_round Float
    digits='Account' help='Sets the amount so that it is a multiple of this value.' string='Amount Rounding'
  • delay_type Selection
    ondelete={'weeks_after': 'set default', 'weeks_after_end_of_month': 'set default', 'weeks_after_end_of_next_month': 'set default', 'months_after': 'set default', 'months_after_end_of_month': 'set default'} selection=<expr>
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • value Selection
    ondelete={'percent_amount_untaxed': <expr>} selection_add=[('percent_amount_untaxed', 'Percent (Untaxed amount)'), ('fixed')]
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount, precision_digits)
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line

New fields (1)
  • payment_terms_delay_type Selection
    default='days' help='Choose the type of delay when creating new payment terms.' required=True selection=[('days', 'Days'), ('weeks', 'Days and Weeks'), ('months', 'Days and Months'), ('weeks_and_months', 'Days, Weeks and Months')] string='Payment terms Delay types'
Public methods (0)

No public methods.

New fields (1)
  • payment_terms_delay_type Selection
    readonly=False related='company_id.payment_terms_delay_type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/16.0/account_payment_term_extension
VERSION
VERSION 1.0.4
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSPedro M. Baeza, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Diep Huu Hoang, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 15:04:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_payment_term_form account.payment.term.form.extension account.payment.term field Inherits account.view_payment_term_form
view_payment_term_holiday_tree Tree view for account.payment.term.holiday account.payment.term.holiday tree New
Models touched (3)

New fields (2)
  • holiday_ids One2many → account.payment.term.holiday
    comodel_name='account.payment.term.holiday' inverse_name='payment_id' string='Holidays'
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.'
Public methods (2)
  • apply_holidays(self, date)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments

New fields (3)
  • date_postponed Date
    required=True string='Postponed date'
  • holiday Date
    required=True
  • payment_id Many2one → account.payment.term
    comodel_name='account.payment.term'
Public methods (1)
  • check_holiday(self)
    @api.constrains('holiday', 'date_postponed')

New fields (4)
  • amount_round Float
    digits='Account' help='Sets the amount so that it is a multiple of this value.' string='Amount Rounding'
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • value Selection
    ondelete={'percent_amount_untaxed': <expr>} selection_add=[('percent_amount_untaxed', 'Percent (Untaxed amount)'), ('fixed')]
  • weeks Integer
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount, precision_digits)
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/15.0/account_payment_term_extension
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSmanu, OCA Transbot, Weblate, OCA-git-bot, oca-ci, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_payment_term_form account.payment.term.form.extension account.payment.term field Inherits account.view_payment_term_form
view_payment_term_holiday_tree Tree view for account.payment.term.holiday account.payment.term.holiday tree New
view_payment_term_line_form account.payment.term.line.form.extension account.payment.term.line xpath Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree.extension account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • holiday_ids One2many → account.payment.term.holiday
    comodel_name='account.payment.term.holiday' inverse_name='payment_id' string='Holidays'
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.'
Public methods (3)
  • apply_holidays(self, date)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments
  • compute(self, value, date_ref=False, currency=None)
    Complete overwrite of compute method for adding extra options.

New fields (3)
  • date_postponed Date
    required=True string='Postponed date'
  • holiday Date
    required=True
  • payment_id Many2one → account.payment.term
    comodel_name='account.payment.term'
Public methods (1)
  • check_holiday(self)
    @api.constrains('holiday', 'date_postponed')

New fields (5)
  • amount_round Float
    digits='Account' help='Sets the amount so that it is a multiple of this value.' string='Amount Rounding'
  • months Integer
    string='Number of Months'
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • value Selection
    ondelete={'percent_amount_untaxed': <expr>} selection_add=[('percent_amount_untaxed', 'Percent (Untaxed amount)'), ('fixed')]
  • weeks Integer
    string='Number of Weeks'
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount, precision_digits)
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/14.0/account_payment_term_extension
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSMaxime Chambreuil, Pedro M. Baeza, GitHub, Enric Tobella, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_payment_term_form account.payment.term.form.extension account.payment.term field Inherits account.view_payment_term_form
view_payment_term_holiday_tree Tree view for account.payment.term.holiday account.payment.term.holiday tree New
view_payment_term_line_form account.payment.term.line.form.extension account.payment.term.line xpath Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree.extension account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • holiday_ids One2many → account.payment.term.holiday
    comodel_name='account.payment.term.holiday' inverse_name='payment_id' string='Holidays'
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.' string='Sequential lines'
Public methods (3)
  • apply_holidays(self, date)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments
  • compute(self, value, date_ref=False, currency=None)
    Complete overwrite of compute method for adding extra options.

New fields (3)
  • date_postponed Date
    required=True string='Postponed date'
  • holiday Date
    required=True
  • payment_id Many2one → account.payment.term
    comodel_name='account.payment.term'
Public methods (1)
  • check_holiday(self)
    @api.constrains('holiday', 'date_postponed')

New fields (5)
  • amount_round Float
    digits='Account' help='Sets the amount so that it is a multiple of this value.' string='Amount Rounding'
  • months Integer
    string='Number of Months'
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • value Selection
    ondelete={'percent_amount_untaxed': <expr>} selection_add=[('percent_amount_untaxed', 'Percent (Untaxed amount)'), ('fixed')]
  • weeks Integer
    string='Number of Weeks'
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount, precision_digits)
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/13.0/account_payment_term_extension
VERSION
VERSION 3.0.6
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Pedro M. Baeza, Enric Tobella, Luc De Meyer, OCA Transbot, oca-travis, Weblate, OCA-git-bot, François Honoré, Carlos Martínez
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_payment_term_form account.payment.term.form.extension account.payment.term field Inherits account.view_payment_term_form
view_payment_term_holiday_tree Tree view for account.payment.term.holiday account.payment.term.holiday tree New
view_payment_term_line_form account.payment.term.line.form.extension account.payment.term.line xpath Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree.extension account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • holiday_ids One2many → account.payment.term.holiday
    comodel_name='account.payment.term.holiday' inverse_name='payment_id' string='Holidays'
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.' string='Sequential lines'
Public methods (3)
  • apply_holidays(self, date)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments
  • compute(self, value, date_ref=False, currency=None)
    Complete overwrite of compute method for adding extra options.

New fields (3)
  • date_postponed Date
    required=True string='Postponed date'
  • holiday Date
    required=True
  • payment_id Many2one → account.payment.term
    comodel_name='account.payment.term'
Public methods (1)
  • check_holiday(self)
    @api.constrains('holiday', 'date_postponed')

New fields (5)
  • amount_round Float
    digits='Account' help='Sets the amount so that it is a multiple of this value.\nTo have amounts that end in 0.99, set rounding 1, surcharge -0.01' string='Amount Rounding'
  • months Integer
    string='Number of Months'
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • value Selection
    selection_add=[('percent_amount_untaxed', 'Percent (Untaxed amount)'), ('fixed')]
  • weeks Integer
    string='Number of Weeks'
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount, precision_digits)
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/12.0/account_payment_term_extension
VERSION
VERSION 1.2.2
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, cubells, OCA Transbot, oca-travis, Weblate, OCA-git-bot, sergiocorato, As400it
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_payment_term_form account.payment.term.form.extension account.payment.term field Inherits account.view_payment_term_form
view_payment_term_holiday_tree Tree view for account.payment.term.holiday account.payment.term.holiday tree New
view_payment_term_line_form account.payment.term.line.form.extension account.payment.term.line xpath Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree.extension account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (3)

New fields (2)
  • holiday_ids One2many → account.payment.term.holiday
    comodel_name='account.payment.term.holiday' inverse_name='payment_id' string='Holidays'
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.' string='Sequential lines'
Public methods (3)
  • apply_holidays(self, date)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments
  • compute(self, value, date_ref=False)
    @api.one
    Complete overwrite of compute method to add rounding on line computing and also to handle weeks and months

New fields (3)
  • date_postponed Date
    required=True string='Postponed date'
  • holiday Date
    required=True
  • payment_id Many2one → account.payment.term
    comodel_name='account.payment.term'
Public methods (1)
  • check_holiday(self)
    @api.constrains('holiday', 'date_postponed')

New fields (4)
  • amount_round Float
    digits=dp.get_precision('Account') help='Sets the amount so that it is a multiple of this value.\nTo have amounts that end in 0.99, set rounding 1, surcharge -0.01' string='Amount Rounding'
  • months Integer
    string='Number of Months'
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • weeks Integer
    string='Number of Weeks'
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount, precision_digits)
    @api.multi
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/11.0/account_payment_term_extension
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, OCA Transbot, Sergio Teruel, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.camptocamp.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_payment_term_form account.payment.term.form.extension account.payment.term field Inherits account.view_payment_term_form
view_payment_term_holiday_tree Tree view for account.payment.term.holiday account.payment.term.holiday tree New
view_payment_term_line_form account.payment.term.line.form.extension account.payment.term.line div Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree.extension account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (3)

New fields (2)
  • holiday_ids One2many → account.payment.term.holiday
    comodel_name='account.payment.term.holiday' inverse_name='payment_id' string='Holidays'
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.' string='Sequential lines'
Public methods (3)
  • apply_holidays(self, date)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments
  • compute(self, value, date_ref=False)
    @api.one
    Complete overwrite of compute method to add rounding on line computing and also to handle weeks and months

New fields (3)
  • date_postponed Date
    required=True string='Postponed date'
  • holiday Date
    required=True
  • payment_id Many2one → account.payment.term
    comodel_name='account.payment.term'
Public methods (1)
  • check_holiday(self)
    @api.constrains('holiday', 'date_postponed')

New fields (4)
  • amount_round Float
    digits=dp.get_precision('Account') help='Sets the amount so that it is a multiple of this value.\nTo have amounts that end in 0.99, set rounding 1, surcharge -0.01' string='Amount Rounding'
  • months Integer
    string='Number of Months'
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • weeks Integer
    string='Number of Weeks'
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount, precision_digits)
    @api.multi
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/10.0/account_payment_term_extension
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSAlexis de Lattre, Alexandre Fayolle, Pedro M. Baeza, GitHub, Akim Juillerat, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot, Simone Rubino
WEBSITE
WEBSITEhttp://www.camptocamp.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_payment_term_form account.payment.term.form.extension account.payment.term field Inherits account.view_payment_term_form
view_payment_term_holiday_tree Tree view for account.payment.term.holiday account.payment.term.holiday tree New
view_payment_term_line_form account.payment.term.line.form.extension account.payment.term.line div Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree.extension account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (3)

New fields (2)
  • holiday_ids One2many → account.payment.term.holiday
    comodel_name='account.payment.term.holiday' inverse_name='payment_id' string='Holidays'
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.' string='Sequential lines'
Public methods (3)
  • apply_holidays(self, date)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments
  • compute(self, value, date_ref=False)
    @api.one
    Complete overwrite of compute method to add rounding on line computing and also to handle weeks and months

New fields (3)
  • date_postponed Date
    required=True string='Postponed date'
  • holiday Date
    required=True
  • payment_id Many2one → account.payment.term
    comodel_name='account.payment.term'
Public methods (1)
  • check_holiday(self)
    @api.constrains('holiday', 'date_postponed')

New fields (4)
  • amount_round Float
    digits=dp.get_precision('Account') help='Sets the amount so that it is a multiple of this value.\nTo have amounts that end in 0.99, set rounding 1, surcharge -0.01' string='Amount Rounding'
  • months Integer
    string='Number of Months'
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • weeks Integer
    string='Number of Weeks'
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount, precision_digits)
    @api.multi
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/9.0/account_payment_term_extension
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSPedro M. Baeza, mreficent, Stéphane Bidoul (ACSONE), OCA Transbot, jcoux, oca-travis
WEBSITE
WEBSITEhttp://www.camptocamp.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_payment_term_form account.payment.term.form.extension account.payment.term field Inherits account.view_payment_term_form
view_payment_term_line_form account.payment.term.line.form.extension account.payment.term.line div Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree.extension account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (2)

New fields (1)
  • sequential_lines Boolean
    default=False help='Allows to apply a chronological order on lines.' string='Sequential lines'
Public methods (2)
  • apply_payment_days(self, line, date)
    Calculate the new date with days of payments
  • compute(self, value, date_ref=False)
    @api.one
    Complete overwrite of compute method to add rounding on line computing and also to handle weeks and months

New fields (4)
  • amount_round Float
    digits=dp.get_precision('Account') help='Sets the amount so that it is a multiple of this value.\nTo have amounts that end in 0.99, set rounding 1, surcharge -0.01' string='Amount Rounding'
  • months Integer
    string='Number of Months'
  • payment_days Char
    help='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).' string='Payment day(s)'
  • weeks Integer
    string='Number of Weeks'
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount)
    @api.multi
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/8.0/account_payment_term_extension
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOCA
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Stéphane Bidoul (ACSONE), OCA Transbot, beau sebastien, OCA-git-bot
WEBSITE
WEBSITEhttp://www.camptocamp.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_payment_term_line_form account.payment.term.line.form.extension account.payment.term.line div Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree.extension account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • compute(self, cr, uid, id, value, date_ref=False, context=None)
    Complete overwrite of compute method to add rounding on line computing and also to handle weeks and months

New fields (4)
  • amount_round Float
    digits=dp.get_precision('Account') help='Sets the amount so that it is a multiple of this value.\nTo have amounts that end in 0.99, set rounding 1, surcharge -0.01' string='Amount Rounding'
  • months Integer
    string='Number of Months'
  • start_with_end_month Boolean
    help="If you have a payment term 'End of month 45 days' (which is not the same as '45 days end of month' !), you should activate this option and then set 'Number of days' = 45 and 'Day of the month' = 0." string='Start by End of Month'
  • weeks Integer
    string='Number of Weeks'
Public methods (1)
  • compute_line_amount(self, total_amount, remaining_amount)
    @api.multi
    Compute the amount for a payment term line. In case of procent computation, use the payment term line rounding if defined :param total_amount: total balance to pay :param remaining_amount: total amount minus sum of previous lines computed amount :returns: computed amount for this line