TIP: You can type at any time to perform a new search.
Account Partner Required
account_partner_required · OCA/account-financial-tools
- Repository
- OCA/account-financial-tools · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Accounting
- Folder size
- 0.14 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
- Akretion, ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- Akretion, ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-ci, MCodes
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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](https://github.com/OCA/account-analytic).
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_policySelectionhelp="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')]
-
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…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 140 days ago
- Last activity
- 77 days ago
- Repository
- OCA/account-financial-tools
- Pull request
- [MIG][19.0] account_partner_required (#2259)
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 205 days ago
- Last activity
- 104 days ago
- Repository
- OCA/account-financial-tools
- Pull request
- [19.0][MIG] account_partner_required: Migration to 19.0 (#2207)