Sales Payment Term Interests
sale_payment_term_interest · OCA/sale-workflow
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 50 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
5 migration notes
4 models
4 views
0 HTTP endpoints
Migration considerations
AccountPaymentTerm— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceSaleOrder— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (7 methods) migration-api-multi-one · sourceview_order_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.addons.decimal_precision`) (3 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_minFloatdigits=dp.get_precision('Account')help='The minimum amount of interest added to a sales order.'string='Minimum Interest Amount'
-
compute_interest(self, value, date_ref=False)@api.multi -
compute_total_interest(self, value)@api.multi
New fields (1)
-
interest_rateFloatdigits=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'
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_lineBoolean
No public methods.
Loading…
Loading…