Sale Orders Require PO or Sales Documentation
sale_require_po_doc · OCA/sale-workflow
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
0 migration notes
4 models
3 views
0 HTTP endpoints
Description
The goal of this development is to create a field for validation to notate which customers require a purchase order in order to create an invoice.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form_sale_require_po_doc |
res.config.settings | form | Inherits sale.res_config_settings_view_form | |
sales_po_res_partner_custom |
res.partner.sales.po.custom | res.partner | form | Inherits base.view_partner_form |
sales_po_sale_order_custom |
sale.order.sales.po.custom | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (1)
-
customer_need_po_defaultBooleanhelp="If True, new customers will have 'Customer Requires PO' enabled by default."string='Default: Customer Requires PO'
No public methods.
New fields (1)
-
customer_need_po_defaultBooleanreadonly=Falserelated='company_id.customer_need_po_default'
No public methods.
New fields (2)
-
customer_need_poBooleandefault=<expr>help='A PO number will be required on the Sales Order field for Customer Reference'string='Customer Requires PO'tracking=True -
sale_docTexthelp='Details of the sales documentation required for this customer. Sales documentation notes field will be required on Sales Orders This is complementary to requiring a PO number, and can be used with or without that setting.'string='Sales Require Documentation'tracking=True
No public methods.
New fields (4)
-
customer_need_poBooleanrelated='partner_id.customer_need_po'string='Customer Requires PO' -
sale_docTextrelated='partner_id.sale_doc'string='Sales Require Documentation' -
sale_document_noteTextstring='Sale Documentation Notes' -
sale_document_optionSelectionstring='Sale Documentation' args: [('no_need', 'No documentation needed for this Sale'), ('done', 'Documentation required obtained and archived')]
-
action_confirm(self)
Loading…
Loading…
Loading…
Loading…