Purchase Work Acceptance - Late Delivery Fines
purchase_work_acceptance_late_fines · OCA/purchase-workflow
Health
73/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 5 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 14.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.09 MB
Module directory on disk
Code analysis
1 migration note
5 models
5 views
0 HTTP endpoints
Migration considerations
WorkAcceptance— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · 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
This module extends Purchase Work Acceptance by adding the ability to calculate late delivery fines to vendor.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form_purchase |
res.config.settings.view.form.inherit.purchase | res.config.settings | form | Inherits purchase.res_config_settings_view_form_purchase |
view_move_form |
account.move.form | account.move | form | Inherits account.view_move_form |
view_wa_create_fines |
Create Fines Invoice/Refund | work.acceptance.create.fines | form | New |
view_work_acceptance_fines_late_tab_form |
work.acceptance.late.fines.tab.form | work.acceptance | form | Inherits purchase_work_acceptance.view_work_acceptance_form |
view_work_acceptance_search |
work.acceptance.search | work.acceptance | search | Inherits purchase_work_acceptance.view_work_acceptance_search |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
late_wa_idMany2one → work.acceptancecomodel_name='work.acceptance'domain=<expr>help='For the supplier with late penalty (from work acceptance), choosing the late WA to get the amount this partner need to pay.'index=Trueondelete='restrict'string='Late WA'
No public methods.
New fields (2)
-
wa_fines_late_account_idMany2one → account.accountcomodel_name='account.account'string='Late Delivery Fines Revenue Account' -
wa_fines_rateMonetarystring='Fines Rate'
No public methods.
New fields (3)
-
group_enable_fines_on_waBooleanimplied_group='purchase_work_acceptance_late_fines.group_enable_fines_on_wa'string='Enable Late Delivery Fines on Work Acceptance' -
wa_fines_late_account_idMany2one → account.accountcomodel_name='account.account'readonly=Falserelated='company_id.wa_fines_late_account_id'string='Late Delivery Fines Revenue Account' -
wa_fines_rateMonetaryreadonly=Falserelated='company_id.wa_fines_rate'string='Fines Rate'
No public methods.
New fields (5)
-
fines_invoice_countIntegercompute='_compute_fines_invoice_count' -
fines_invoice_idsOne2many → account.movecomodel_name='account.move'inverse_name='late_wa_id'string='Fines Invoices' -
fines_lateMonetaryhelp='Computed amount. Can be overwritten'string='Fines Amount'tracking=True -
fines_rateMonetarydefault=<expr>help='Default fines per day. Can be overwritten'tracking=True -
late_daysIntegerhelp='Late day(s) from Received Date - Due Date'tracking=True
-
action_create_fines_invoice(self, move_type='out_invoice') -
action_view_invoice(self)
New fields (1)
-
move_typeSelectiondefault='out_invoice'required=Trueselection=[('out_invoice', 'Customer Invoice'), ('in_refund', 'Vendor Refund')]string='Type'
-
action_create_fines(self)
Loading…
Loading…