Sales Payment Term Interests

sale_payment_term_interest
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/10.0/sale_payment_term_interest
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSPedro M. Baeza, Denis Roussel, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order field Inherits sale.view_order_form
view_payment_term_form account.payment.term.form account.payment.term field Inherits account.view_payment_term_form
view_payment_term_line_form account.payment.term.line.form account.payment.term.line xpath Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (4)

New fields (1)
  • interest_min Float
    digits=dp.get_precision('Account') help='The minimum amount of interest added to a sales order.' string='Minimum Interest Amount'
Public methods (2)
  • compute_interest(self, value, date_ref=False)
    @api.multi
  • compute_total_interest(self, value)
    @api.multi

New fields (1)
  • interest_rate Float
    digits=dp.get_precision('Payment Term') help="The annual interest rate applied on a sales order. Value between 0 and 100.\nThe interest is computed as: 'Amount * (Interest Rate / 100 / (12 months * 30 days)) * Term Days'" string='Interest Rate'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (6)
  • action_button_confirm(self)
    @api.multi
  • check_interest_line(self)
    @api.multi
  • create(self, vals)
    @api.model
  • get_interest_value(self)
    @api.multi
  • update_interest_line(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (1)
  • interest_line Boolean
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/9.0/sale_payment_term_interest
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order field Inherits sale.view_order_form
view_payment_term_form account.payment.term.form account.payment.term field Inherits account.view_payment_term_form
view_payment_term_line_form account.payment.term.line.form account.payment.term.line xpath Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (4)

New fields (1)
  • interest_min Float
    digits=dp.get_precision('Account') help='The minimum amount of interest added to a sales order.' string='Minimum Interest Amount'
Public methods (2)
  • compute_interest(self, value, date_ref=False)
    @api.multi
  • compute_total_interest(self, value)
    @api.multi

New fields (1)
  • interest_rate Float
    digits=dp.get_precision('Payment Term') help="The annual interest rate applied on a sales order. Value between 0 and 100.\nThe interest is computed as: 'Amount * (Interest Rate / 100 / (12 months * 30 days)) * Term Days'" string='Interest Rate'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (6)
  • action_button_confirm(self)
    @api.multi
  • check_interest_line(self)
    @api.multi
  • create(self, vals)
    @api.model
  • get_interest_value(self)
    @api.multi
  • update_interest_line(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (1)
  • interest_line Boolean
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/8.0/sale_payment_term_interest
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Guewen Baconnier, Alexandre Fayolle, Matthieu Dietrich, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, vrenaville, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order field Inherits sale.view_order_form
view_payment_term_form account.payment.term.form account.payment.term field Inherits account.view_payment_term_form
view_payment_term_line_form account.payment.term.line.form account.payment.term.line xpath Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree account.payment.term.line field Inherits account.view_payment_term_line_tree
Models touched (4)

New fields (1)
  • interest_min Float
    digits=dp.get_precision('Account') help='The minimum amount of interest added to a sales order.' string='Minimum Interest Amount'
Public methods (2)
  • compute_interest(self, value, date_ref=False)
    @api.multi
  • compute_total_interest(self, value)
    @api.multi

New fields (1)
  • interest_rate Float
    digits=dp.get_precision('Payment Term') help="The annual interest rate applied on a sales order. Value between 0 and 100.\nThe interest is computed as: 'Amount * (Interest Rate / 100 / (12 months * 30 days)) * Term Days'" string='Interest Rate'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (6)
  • action_button_confirm(self)
    @api.multi
  • check_interest_line(self)
    @api.multi
  • create(self, vals)
    @api.model
  • get_interest_value(self)
    @api.multi
  • update_interest_line(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (1)
  • interest_line Boolean
Public methods (0)

No public methods.