Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Purchase Management
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 08:42:58
Authors
Odoo Community Association (OCA), Ecosoft
Maintainers
Odoo Community Association (OCA), Ecosoft
Committers
OCA-git-bot, oca-ci, ROBBYHOOD9
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends Purchase Work Acceptance by adding the ability to
calculate late delivery fines to vendor.

Code Analysis

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…