Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
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_default Boolean
    help="If True, new customers will have 'Customer Requires PO' enabled by default." string='Default: Customer Requires PO'
Public methods (0)

No public methods.

New fields (1)
  • customer_need_po_default Boolean
    readonly=False related='company_id.customer_need_po_default'
Public methods (0)

No public methods.

New fields (2)
  • customer_need_po Boolean
    default=<expr> help='A PO number will be required on the Sales Order field for Customer Reference' string='Customer Requires PO' tracking=True
  • sale_doc Text
    help='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
Public methods (0)

No public methods.

New fields (4)
  • customer_need_po Boolean
    related='partner_id.customer_need_po' string='Customer Requires PO'
  • sale_doc Text
    related='partner_id.sale_doc' string='Sales Require Documentation'
  • sale_document_note Text
    string='Sale Documentation Notes'
  • sale_document_option Selection
    string='Sale Documentation' args: [('no_need', 'No documentation needed for this Sale'), ('done', 'Documentation required obtained and archived')]
Public methods (1)
  • action_confirm(self)

Loading…

Loading…

Loading…

Loading…