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

Description

This module adds an option Partner policy on account types.

You have the choice between 3 policies:

  • optional (the default policy): partner is optional,
  • always: require a partner,
  • never: forbid a partner.

This module is useful to enforce a partner on account move lines on customer and supplier accounts.

This module is very similar to the module account_analytic_required available in the OCA project account-analytic.

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 3

XML IDNameModelTypeStatus
view_account_form account.account form Inherits account.view_account_form
view_account_list account.account list Inherits account.view_account_list
view_account_search account.account search Inherits account.view_account_search

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (1)
  • partner_policy Selection
    help="Set the policy for the partner field:\nif you select 'Optional', the accountant is free to put a partner on journal items with this account ;\nif you select 'Always', the accountant will get an error message if there is no partner ;\nif you select 'Never', the accountant will get an error message if a partner is present." args: [('optional', 'Optional'), ('always', 'Always'), ('never', 'Never')]
Public methods (1)
  • get_partner_policy(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…