Skip to content
Health
65/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 98 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 5 Odoo series since 7.0

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

Security findings
Grave / minor (static analysis)
Required by
1
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.26 MB
Module directory on disk
Code analysis 4 migration notes 5 models 3 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
purchase_triple_discount

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
product_supplierinfo_form_view product.supplierinfo form Inherits product.product_supplierinfo_form_view
product_supplierinfo_tree_view product.supplierinfo tree Inherits product.product_supplierinfo_tree_view
res_partner_form_view res.partner form Inherits base.view_partner_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • discount Float
    digits=dp.get_precision('Discount') string='Discount (%)'
Public methods (2)
  • create(self, vals)
    @api.model
    Insert discount from context from purchase.order's _add_supplier_to_product method
  • onchange_name(self)
    @api.onchange('name')@api.multi
    Apply the default supplier discount of the selected supplier

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)
  • default_supplierinfo_discount Float
    digits=dp.get_precision('Discount') help='This value will be used as the default one, for each new supplierinfo line depending on that supplier.' string='Default Supplier Discount (%)'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…