Sale Confirmation Group

sale_confirm_group
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/19.0/sale_confirm_group
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSJoshuaJan, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows configuring a list of groups per-company who are granted permission to confirm sale orders:

1. button "Confirm" in sale views is always hidden for users not in those groups
2. if users outside those groups try to confirm a SO, an error is raised

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_res_config_settings_view_form_inherit res.config.settings block Inherits sale.res_config_settings_view_form
Models touched (3)

New fields (2)
  • sale_confirmation_group_ids Many2many → res.groups
    column1='company_id' column2='group_id' relation='res_company_2_res_groups_sales_confirm_rel' args: 'res.groups'
  • use_sale_confirmation_groups Boolean
Public methods (0)

No public methods.

New fields (2)
  • sale_confirmation_group_ids Many2many → res.groups
    readonly=False related='company_id.sale_confirmation_group_ids' args: 'res.groups'
  • use_sale_confirmation_groups Boolean
    readonly=False related='company_id.use_sale_confirmation_groups'
Public methods (0)

No public methods.

New fields (1)
  • user_can_confirm Boolean
    compute='_compute_user_can_confirm' compute_sudo=True
Public methods (1)
  • action_confirm(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/18.0/sale_confirm_group
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSSébastien Alix, Weblate, OCA-git-bot, Simone Orsi, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows configuring a list of groups per-company who are granted permission to confirm sale orders:

1. button "Confirm" in sale views is always hidden for users not in those groups
2. if users outside those groups try to confirm a SO, an error is raised

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_res_config_settings_view_form_inherit res.config.settings block Inherits sale.res_config_settings_view_form
Models touched (3)

New fields (2)
  • sale_confirmation_group_ids Many2many → res.groups
    column1='company_id' column2='group_id' relation='res_company_2_res_groups_sales_confirm_rel' args: 'res.groups'
  • use_sale_confirmation_groups Boolean
Public methods (0)

No public methods.

New fields (2)
  • sale_confirmation_group_ids Many2many → res.groups
    readonly=False related='company_id.sale_confirmation_group_ids' args: 'res.groups'
  • use_sale_confirmation_groups Boolean
    readonly=False related='company_id.use_sale_confirmation_groups'
Public methods (0)

No public methods.

New fields (1)
  • user_can_confirm Boolean
    compute='_compute_user_can_confirm' compute_sudo=True
Public methods (1)
  • action_confirm(self)