Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 07:17:43
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Pedro M. Baeza, Denis Roussel, Stéphane Bidoul (ACSONE)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order form Inherits sale.view_order_form
view_payment_term_form account.payment.term.form account.payment.term form Inherits account.view_payment_term_form
view_payment_term_line_form account.payment.term.line.form account.payment.term.line form Inherits account.view_payment_term_line_form
view_payment_term_line_tree account.payment.term.line.tree account.payment.term.line tree Inherits account.view_payment_term_line_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Loading…