Purchase and Invoice Allowed Product

purchase_allowed_product
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/19.0/purchase_allowed_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Alejandro Parrales
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a restriction in purchase and supplier invoices that
has the mark "Order and invoice only supplied products" checked for
allowing to select only products that can be supplied by the defined
vendor.

The restriction can be set by default for each partner, and it's
propagated to their supplier invoices and purchases, but it can be
changed for each invoice and purchase order if you want.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
purchase_order_form_supplied_product purchase.order xpath Inherits purchase.purchase_order_form
view_move_form_supplied_product account.move xpath Inherits account.view_move_form
view_move_line_form_supplied_product account.move.line field Inherits account.view_move_line_form
view_partner_form_supplied_product res.partner group Inherits base.view_partner_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • partner_id Many2one
    index=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, by default you will only be able to select products that can be supplied by this supplier when creating a supplier invoice or purchase for it. This value can be changed by invoice or purchase.' string='Order and invoice only supplied products'
Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    compute='_compute_partner_id_supplied_product' help='If checked, only the products provided by this supplier will be shown.' readonly=False store=True string='Use only allowed products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/18.0/purchase_allowed_product
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Fernando, Alejandro Parrales
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - purchase
    - 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 a restriction in purchase and supplier invoices that
has the mark "Order and invoice only supplied products" checked for
allowing to select only products that can be supplied by the defined
vendor.

The restriction can be set by default for each partner, and it's
propagated to their supplier invoices and purchases, but it can be
changed for each invoice and purchase order if you want.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
purchase_order_form_supplied_product purchase.order xpath Inherits purchase.purchase_order_form
view_move_form_supplied_product account.move xpath Inherits account.view_move_form
view_move_line_form_supplied_product account.move.line field Inherits account.view_move_line_form
view_partner_form_supplied_product res.partner group Inherits base.view_partner_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • partner_id Many2one
    index=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, by default you will only be able to select products that can be supplied by this supplier when creating a supplier invoice or purchase for it. This value can be changed by invoice or purchase.' string='Order and invoice only supplied products'
Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    compute='_compute_partner_id_supplied_product' help='If checked, only the products provided by this supplier will be shown.' readonly=False store=True string='Use only allowed products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/17.0/purchase_allowed_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Artur Chulii, achulii
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - purchase
    - 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 a restriction in purchase and supplier invoices that
has the mark "Order and invoice only supplied products" checked for
allowing to select only products that can be supplied by the defined
vendor.

The restriction can be set by default for each partner, and it's
propagated to their supplier invoices and purchases, but it can be
changed for each invoice and purchase order if you want.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
purchase_order_form_supplied_product purchase.order xpath Inherits purchase.purchase_order_form
view_move_form_supplied_product account.move xpath Inherits account.view_move_form
view_move_line_form_supplied_product account.move.line field Inherits account.view_move_line_form
view_partner_form_supplied_product res.partner group Inherits base.view_partner_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • partner_id Many2one
    index=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, by default you will only be able to select products that can be supplied by this supplier when creating a supplier invoice or purchase for it. This value can be changed by invoice or purchase.' string='Order and invoice only supplied products'
Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    compute='_compute_partner_id_supplied_product' help='If checked, only the products provided by this supplier will be shown.' readonly=False store=True string='Use only allowed products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/16.0/purchase_allowed_product
VERSION
VERSION 2.1.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSVíctor Martínez, JordiMForgeFlow, Weblate, OCA-git-bot, oca-ci, Eduardo De Miguel, angel, FernandoRomera
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - purchase
    - 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 astor
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
purchase_order_form_supplied_product purchase.order xpath Inherits purchase.purchase_order_form
view_move_form_supplied_product account.move xpath Inherits account.view_move_form
view_move_line_form_supplied_product account.move.line field Inherits account.view_move_line_form
view_partner_form_supplied_product res.partner group Inherits base.view_partner_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • partner_id Many2one
    index=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, by default you will only be able to select products that can be supplied by this supplier when creating a supplier invoice or purchase for it. This value can be changed by invoice or purchase.' string='Order and invoice only supplied products'
Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    compute='_compute_partner_id_supplied_product' help='If checked, only the products provided by this supplier will be shown.' readonly=False store=True string='Use only allowed products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/15.0/purchase_allowed_product
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSmanu, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - purchase
    - 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 astor
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
purchase_order_form_supplied_product purchase.order field Inherits purchase.purchase_order_form
view_move_form_supplied_product account.move field Inherits account.view_move_form
view_move_line_form_supplied_product account.move.line field Inherits account.view_move_line_form
view_partner_form_supplied_product res.partner group Inherits base.view_partner_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • name Many2one → res.partner
    index=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, by default you will only be able to select products that can be supplied by this supplier when creating a supplier invoice or purchase for it. This value can be changed by invoice or purchase.' string='Order and invoice only supplied products'
Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, only the products provided by this supplier will be shown.' string='Use only allowed products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/14.0/purchase_allowed_product
VERSION
VERSION 2.3.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSOCA Transbot, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Giovanni, Alessandro Uffreduzzi, Alessio Renda
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - purchase
    - 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 astor
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
purchase_order_form_supplied_product purchase.order field Inherits purchase.purchase_order_form
res_config_settings_view_form_purchase res.config.settings.form res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
view_move_form_supplied_product account.move field Inherits account.view_move_form
view_move_line_form_supplied_product account.move.line field Inherits account.view_move_line_form
view_partner_form_supplied_product res.partner group Inherits base.view_partner_form
Models touched (8)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • name Many2one → res.partner
    index=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • force_only_supplied_product Boolean
    string='Force "Use only allowed products" by default'
Public methods (0)

No public methods.

New fields (1)
  • default_use_only_supplied_product Boolean
    default_model='purchase.order' readonly=False related='company_id.force_only_supplied_product'
Public methods (0)

No public methods.

New fields (2)
  • force_only_supplied_product Boolean
    compute='_compute_force_only_supplied_product'
  • use_only_supplied_product Boolean
    help='If checked, by default you will only be able to select products that can be supplied by this supplier when creating a supplier invoice or purchase for it. This value can be changed by invoice or purchase.' string='Order and invoice only supplied products'
Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, only the products provided by this supplier will be shown.' string='Use only allowed products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/13.0/purchase_allowed_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Darius Z
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - 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 (4)
XML IDNameModelTypeStatus
purchase_order_form_supplied_product purchase.order field Inherits purchase.purchase_order_form
view_move_form_supplied_product account.move field Inherits account.view_move_form
view_move_line_form_supplied_product account.move.line field Inherits account.view_move_line_form
view_partner_form_supplied_product res.partner group Inherits base.view_partner_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • name Many2one → res.partner
    index=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, by default you will only be able to select products that can be supplied by this supplier when creating a supplier invoice or purchase for it. This value can be changed by invoice or purchase.' string='Order and invoice only supplied products'
Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, only the products provided by this supplier will be shown.' string='Use only allowed products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/12.0/purchase_allowed_product
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, tslai
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - 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 (5)
XML IDNameModelTypeStatus
account_invoice_form_supplied_product account.invoice field Inherits account.invoice_form
account_invoice_supplier_form_supplied_product account.invoice field Inherits account.invoice_supplier_form
invoice_line_form_supplied_product account.invoice.line field Inherits account.view_invoice_line_form
purchase_order_supplier_form_supplied_product purchase.order field Inherits purchase.purchase_order_form
view_partner_form_supplied_product res.partner xpath Inherits base.view_partner_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • name Many2one → res.partner
    index=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, by default you will only be able to select products that can be supplied by this supplier when creating a supplier invoice or purchase for it. This value can be changed by invoice or purchase.' string='Order and invoice only supplied products'
Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, only the products provided by this supplier will be shown.' string='Use only allowed products'
Public methods (1)
  • partner_id_change(self)
    @api.onchange('partner_id')
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/11.0/purchase_allowed_product
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, Daniel, Vo Minh Bao Hieu
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
    - account
    - analytic
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_invoice_form_supplied_product account.invoice field Inherits account.invoice_form
account_invoice_supplier_form_supplied_product account.invoice field Inherits account.invoice_supplier_form
invoice_line_form_supplied_product account.invoice.line field Inherits account.view_invoice_line_form
purchase_order_supplier_form_supplied_product purchase.order field Inherits purchase.purchase_order_form
view_partner_form_supplied_product res.partner xpath Inherits base.view_partner_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • search(self, args, offset=0, limit=None, order=None, count=False)
    @api.model

New fields (1)
  • name Many2one → res.partner
    index=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, by default you will only be able to select products that can be supplied by this supplier when creating a supplier invoice or purchase for it. This value can be changed by invoice or purchase.' string='Order and invoice only supplied products'
Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, only the products provided by this supplier will be shown.' string='Use only allowed products'
Public methods (1)
  • partner_id_change(self)
    @api.onchange('partner_id')
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/10.0/purchase_allowed_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Mourad Elhadj Mimoune
WEBSITE
WEBSITEhttps://akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_invoice_supplier_form_supplied_product account.invoice field Inherits account.invoice_supplier_form
invoice_line_form_supplied_product account.invoice.line field Inherits account.view_invoice_line_form
purchase_order_supplier_form_supplied_product purchase.order field Inherits purchase.purchase_order_form
view_partner_form_supplied_product res.partner xpath Inherits base.view_partner_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • search(self, args, offset=0, limit=None, order=None, count=False)
    @api.model

New fields (1)
  • name Many2one → res.partner
    index=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, by default you will only be able to select products that can be supplied by this supplier when creating a supplier invoice or purchase for it. This value can be changed by invoice or purchase.' string='Order and invoice only supplied products'
Public methods (0)

No public methods.

New fields (1)
  • use_only_supplied_product Boolean
    help='If checked, only the products provided by this supplier will be shown.' string='Use only allowed products'
Public methods (1)
  • partner_id_change(self)
    @api.onchange('partner_id')