Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.3 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 09:06:27
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, Alejandro Parrales
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits purchase.purchase_order_form
view_move_form_supplied_product account.move form Inherits account.view_move_form
view_move_line_form_supplied_product account.move.line form Inherits account.view_move_line_form
view_partner_form_supplied_product res.partner form Inherits base.view_partner_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…