Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 08:42:48
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, Lukas Tran
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
The partner set in the sales order can order only if he/she has a
commercial entity that is listed as one of the partners for which the
products can be manufactured for.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • exception_partner_can_order_manufactured_for(self)
    Return whether the partner can order all the items in the sale Used in a sales exception. Returns true only if the partner set in the sales order can buy all the products. This will happen if: 1. it has a commercial entity that is listed as one of the partners for which the products can be manufactured for. 2. it doesn't have a commercial entity and none of the products on the sale order have any restriction.

Loading…