Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Description

This module extends Purchase Work Acceptance by adding the ability to calculate late delivery fines to vendor.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 5

XML IDNameModelTypeStatus
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_id Many2one → work.acceptance
    comodel_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=True ondelete='restrict' string='Late WA'
Public methods (0)

No public methods.

New fields (2)
  • wa_fines_late_account_id Many2one → account.account
    comodel_name='account.account' string='Late Delivery Fines Revenue Account'
  • wa_fines_rate Monetary
    string='Fines Rate'
Public methods (0)

No public methods.

New fields (3)
  • group_enable_fines_on_wa Boolean
    implied_group='purchase_work_acceptance_late_fines.group_enable_fines_on_wa' string='Enable Late Delivery Fines on Work Acceptance'
  • wa_fines_late_account_id Many2one → account.account
    comodel_name='account.account' readonly=False related='company_id.wa_fines_late_account_id' string='Late Delivery Fines Revenue Account'
  • wa_fines_rate Monetary
    readonly=False related='company_id.wa_fines_rate' string='Fines Rate'
Public methods (0)

No public methods.

New fields (5)
  • fines_invoice_count Integer
    compute='_compute_fines_invoice_count'
  • fines_invoice_ids One2many → account.move
    comodel_name='account.move' inverse_name='late_wa_id' string='Fines Invoices'
  • fines_late Monetary
    help='Computed amount. Can be overwritten' string='Fines Amount' tracking=True
  • fines_rate Monetary
    default=<expr> help='Default fines per day. Can be overwritten' tracking=True
  • late_days Integer
    help='Late day(s) from Received Date - Due Date' tracking=True
Public methods (2)
  • action_create_fines_invoice(self, move_type='out_invoice')
  • action_view_invoice(self)

New fields (1)
  • move_type Selection
    default='out_invoice' required=True selection=[('out_invoice', 'Customer Invoice'), ('in_refund', 'Vendor Refund')] string='Type'
Public methods (1)
  • action_create_fines(self)

Loading…

Loading…