Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 8 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 11 Odoo series since 8.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.48 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

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.

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 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…

Loading…