Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 89 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 10.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.09 MB
Module directory on disk
Code analysis 2 migration notes 2 models 3 views 0 HTTP endpoints

Description

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
sale_margin_sale_order_line_form sale.order.form sale.order form Inherits sale_margin.sale_margin_sale_order_line
sale_margin_sale_order_line_tree sale.order.form sale.order form Inherits sale_margin.sale_margin_sale_order_line_form
view_set_sale_line_purchase_price Set Cost set.sale.line.purchase.price form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (1)
  • purchase_price_missing Boolean
    compute='_compute_purchase_price_missing' string='Missing Cost'
Public methods (0)

No public methods.

New fields (3)
  • currency_id Many2one → res.currency
    comodel_name='res.currency' default=<expr> required=True string='Currency'
  • line_id Many2one → sale.order.line
    comodel_name='sale.order.line' default=<expr> readonly=True required=True string='Sale Line'
  • purchase_price Float
    digits=dp.get_precision('Product Price') groups='base.group_user' help='Cost of the product template used for standard stock valuation in accounting and used as a base price on purchase orders. Expressed in the default unit of measure of the product.' string='Cost'
Public methods (1)
  • confirm_purchase_price(self)
    @api.multi