Account Partner Required

account_partner_required
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/18.0/account_partner_required
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, MCodes
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
view_account_form account.account field Inherits account.view_account_form
view_account_list account.account field Inherits account.view_account_list
view_account_search account.account filter Inherits account.view_account_search
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.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/17.0/account_partner_required
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Luis Rodriguez
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
view_account_form account.account field Inherits account.view_account_form
view_account_list account.account field Inherits account.view_account_list
view_account_search account.account filter Inherits account.view_account_search
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.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/16.0/account_partner_required
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
COMMITTERS
COMMITTERSAlexis de Lattre, GitHub, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_account_form account.account field Inherits account.view_account_form
view_account_list account.account field Inherits account.view_account_list
view_account_search account.account filter Inherits account.view_account_search
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.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/14.0/account_partner_required
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, oca-ci, Wesley Oliveira
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_menu
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_type_form account_partner_required.account_type_form account.account.type field Inherits account.view_account_type_form
view_account_type_tree account_partner_required.account_type_tree account.account.type field Inherits account.view_account_type_tree
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • get_partner_policy(self)
    Extension point to obtain partner policy for an account

New fields (1)
  • partner_policy Selection
    default='optional' help="Set the policy for the partner field : if you select 'Optional', the accountant is free to put a partner on an account move line with this type of account ; if you select 'Always', the accountant will get an error message if there is no partner ; if you select 'Never', the accountant will get an error message if a partner is present." required=True selection=[('optional', 'Optional'), ('always', 'Always'), ('never', 'Never')] string='Policy for Partner Field'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/12.0/account_partner_required
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Raf Ven
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_type_menu
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_type_form account_partner_required.account_type_form account.account.type field Inherits account.view_account_type_form
view_account_type_tree account_partner_required.account_type_tree account.account.type field Inherits account.view_account_type_tree
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • get_partner_policy(self)
    @api.multi
    Extension point to obtain partner policy for an account

New fields (1)
  • partner_policy Selection
    default='optional' help="Set the policy for the partner field : if you select 'Optional', the accountant is free to put a partner on an account move line with this type of account ; if you select 'Always', the accountant will get an error message if there is no partner ; if you select 'Never', the accountant will get an error message if a partner is present." required=True selection=[('optional', 'Optional'), ('always', 'Always'), ('never', 'Never')] string='Policy for Partner Field'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/11.0/account_partner_required
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Nhomar Hernández [Vauxoo]
WEBSITE
WEBSITEhttp://acsone.eu/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_type_menu
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_type_form account_partner_required.account_type_form account.account.type field Inherits account.view_account_type_form
view_account_type_tree account_partner_required.account_type_tree account.account.type field Inherits account.view_account_type_tree
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • get_partner_policy(self)
    @api.multi
    Extension point to obtain partner policy for an account

New fields (1)
  • partner_policy Selection
    default='optional' help="Set the policy for the partner field : if you select 'Optional', the accountant is free to put a partner on an account move line with this type of account ; if you select 'Always', the accountant will get an error message if there is no partner ; if you select 'Never', the accountant will get an error message if a partner is present." required=True selection=[('optional', 'Optional'), ('always', 'Always'), ('never', 'Never')] string='Policy for Partner Field'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/10.0/account_partner_required
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, ACSONE SA/NV
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, OCA Transbot, oca-travis
WEBSITE
WEBSITEhttp://acsone.eu/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_type_menu
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_type_form account_partner_required.account_type_form account.account.type field Inherits account.view_account_type_form
view_account_type_tree account_partner_required.account_type_tree account.account.type field Inherits account.view_account_type_tree
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • get_partner_policy(self)
    @api.multi
    Extension point to obtain partner policy for an account

New fields (1)
  • partner_policy Selection
    default='optional' help="Set the policy for the partner field : if you select 'Optional', the accountant is free to put a partner on an account move line with this type of account ; if you select 'Always', the accountant will get an error message if there is no partner ; if you select 'Never', the accountant will get an error message if a partner is present." required=True string='Policy for Partner Field' args: [('optional', 'Optional'), ('always', 'Always'), ('never', 'Never')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/9.0/account_partner_required
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://acsone.eu/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds an option "partner policy"
on account types.

You have the choice between 3 policies : optional (the default),
always (require a partner), and never (forbid a partner).

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

Module developed by Stéphane Bidoul <stephane.bidoul@acsone.eu>,
inspired by Alexis de Lattre <alexis.delattre@akretion.com>'s
account_analytic_required module.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_partner_required_account_type_form account_partner_required.account_type_form account.account.type field Inherits account.view_account_type_form
view_account_type_tree account_partner_required.account_type_tree account.account.type field Inherits account.view_account_type_tree
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/8.0/account_partner_required
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Alexandre Fayolle, Nicolas Bessi, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://acsone.eu/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds an option "partner policy"
on account types.

You have the choice between 3 policies : optional (the default),
always (require a partner), and never (forbid a partner).

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

Module developed by Stéphane Bidoul <stephane.bidoul@acsone.eu>,
inspired by Alexis de Lattre <alexis.delattre@akretion.com>'s
account_analytic_required module.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_partner_required_account_type_form account_partner_required.account_type_form account.account.type field Inherits account.view_account_type_form
view_account_type_tree account_partner_required.account_type_tree account.account.type field Inherits account.view_account_type_tree
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/7.0/account_partner_required
VERSION
VERSION 0.1
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, Alexandre Fayolle, Nicolas Bessi, OCA Transbot
WEBSITE
WEBSITEhttp://acsone.eu/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds an option "partner policy"
on account types.

You have the choice between 3 policies : optional (the default),
always (require a partner), and never (forbid a partner).

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

Module developed by Stéphane Bidoul <stephane.bidoul@acsone.eu>,
inspired by Alexis de Lattre <alexis.delattre@akretion.com>'s
account_analytic_required module.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_partner_required_account_type_form account_partner_required.account_type_form account.account.type field Inherits account.view_account_type_form
view_account_type_tree account_partner_required.account_type_tree account.account.type field Inherits account.view_account_type_tree
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-financial-tools
PULL REQUEST
PULL REQUEST[MIG][19.0] account_partner_required (#2259)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-financial-tools
PULL REQUEST
PULL REQUEST[19.0][MIG] account_partner_required: Migration to 19.0 (#2207)