Repository
OCA/account-financial-tools · module folder · Try on Runboat
Module version
1.0.1
Category
Purchases
Folder size
0.1 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-financial-tools
Last tracking update
2026-08-07 08:42:53
Authors
Odoo Community Association (OCA), ForgeFlow S.L.
Maintainers
Odoo Community Association (OCA), ForgeFlow S.L.
Committers
JordiMForgeFlow, Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia, IsabelAForgeFlow
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds a new fields "Unreconciled" on Purchase Orders, that
allows to find PO's with unreconciled journal items related.

This module allows to reconcile those PO in a single click. In
accounting settings users will be able to set up a specific account for
write-off.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form - purchase_unreconciled purchase.order form Inherits purchase.purchase_order_form
purchase_order_view_search Custom Purchase Unreconciled Search purchase.order search Inherits purchase.purchase_order_view_search
purchase_unreconciled_exceeded_wizard purchase unreconciled exceeded purchase.unreconciled.exceeded.wiz form New
res_config_settings_view_form res.config.settings.view.form.purchase.unreconciled res.config.settings form Inherits account.res_config_settings_view_form
unreconciled_amount_purchase_order_view_tree unreconciled.amount.purchase.order.tree purchase.order tree Inherits purchase.purchase_order_view_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • amount_unreconciled Float
    compute='_compute_unreconciled'
  • unreconciled Boolean
    compute='_compute_unreconciled' help='Indicates that a Purchase Order has related Journal items not reconciled.\nNote that if it is false it can be either that everything is reconciled or that the related accounts do not allow reconciliation' search='_search_unreconciled'
Public methods (6)
  • action_reconcile(self)
  • action_view_unreconciled(self)
  • button_done(self)
  • purchase_unreconciled_exception(self, exception_msg=None)
    This mean to be run when the SO cannot be reconciled because it is over tolerance
  • reconcile_criteria(self)
    Gets the criteria where POs are locked or not, by default uses the company configuration
  • unreconciled_exception_msg(self)

New fields (4)
  • continue_method Char
  • exception_msg Text
    readonly=True
  • origin_reference Reference
    string='Object' args: <expr>
  • purchase_id Many2one → purchase.order
    comodel_name='purchase.order' readonly=True string='Order Number'
Public methods (2)
  • action_show(self)
  • button_continue(self)

New fields (4)
  • purchase_lock_auto_reconcile Boolean
  • purchase_reconcile_account_id Many2one → account.account
    copy=False domain=<expr> help='Write-off account to reconcile Unreconciled Purchase Orders' ondelete='restrict' string='Write-Off Account On Purchases' args: 'account.account'
  • purchase_reconcile_journal_id Many2one → account.journal
    string='WriteOff Journal for Purchases' args: 'account.journal'
  • purchase_reconcile_tolerance Float
    default=0.0 help='Percentage of tolerance of residual amount vs total amount of the Purchase Order. Leave zero to accept all discrepancies' string='Purchase Reconcile Tolerance (%)'
Public methods (0)

No public methods.

New fields (4)
  • purchase_lock_auto_reconcile Boolean
    readonly=False related='company_id.purchase_lock_auto_reconcile'
  • purchase_reconcile_account_id Many2one
    readonly=False related='company_id.purchase_reconcile_account_id'
  • purchase_reconcile_journal_id Many2one
    readonly=False related='company_id.purchase_reconcile_journal_id'
  • purchase_reconcile_tolerance Float
    readonly=False related='company_id.purchase_reconcile_tolerance'
Public methods (0)

No public methods.

Loading…

Loading…