Repository
OCA/account-financial-tools · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.48 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-financial-tools
Last tracking update
2026-08-07 09:06:24
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, OCA-git-bot, oca-ci, bobrador, BernatObrador
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows to compensate the balance of a receivable account
with the balance of a payable account for the same partner, creating a
journal item that reflects this operation.

**WARNING**: This operation can be forbidden in your country by the
accounting regulations, so you should check current laws before using
it. For example, in Spain, this is not allowed at first instance, unless
you document well the operation from both parties.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_account_move_make_netting_form Compensate entries account.move.make.netting form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (9)
  • balance Monetary
    currency_field='company_currency_id' readonly=True
  • balance_type Selection
    readonly=True selection=[('pay', 'To pay'), ('receive', 'To receive')]
  • company_currency_id Many2one
    related='company_id.currency_id'
  • company_id Many2one → res.company
    required=True args: 'res.company'
  • date Date
    required=True
  • journal_id Many2one → account.journal
    check_company=True comodel_name='account.journal' domain="[('type', '=', 'general'), ('company_id', '=', company_id)]" required=True
  • move_line_ids Many2many → account.move.line
    check_company=True comodel_name='account.move.line' string='Journal Items to Compensate'
  • partner_id Many2one → res.partner
    readonly=True args: 'res.partner'
  • ref Char
    string='Reference'
Public methods (2)
  • button_compensate(self)
  • default_get(self, fields_list)
    @api.model

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…