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

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.08 MB
Module directory on disk
Code analysis 1 migration note 5 models 7 views 0 HTTP endpoints

Description

This module allows to set multiple prices to products and base pricelist rules on them.

Dependencies

Odoo dependencies
odoo/odoo:
- web
- bus
- uom
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 7

XML IDNameModelTypeStatus
product_multi_price_form_view product.multi.price form New
product_multi_price_name_tree_view product.multi.price.name list New
product_multi_price_tree_view product.multi.price list New
product_multi_price_tree_view2 product.multi.price list Inherits product_multi_price.product_multi_price_tree_view
product_pricelist_item_form_view product.pricelist.item form Inherits product.product_pricelist_item_form_view
product_template_form_view product.template form Inherits product.product_template_form_view
product_variant_easy_edit_view product.product Inherits product.product_variant_easy_edit_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (5)
  • company_id Many2one → res.company
    comodel_name='res.company' readonly=True related='name.company_id' store=True
  • name Many2one → product.multi.price.name
    required=True args: 'product.multi.price.name'
  • name_text Char
    related='name.name'
  • price Float
    digits='Product Price'
  • product_id Many2one → product.product
    comodel_name='product.product' ondelete='cascade' required=True
Public methods (0)

No public methods.

New fields (2)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True
  • name Char
    required=True string='Price Field Name'
Public methods (0)

No public methods.

New fields (2)
  • base Selection
    ondelete={'multi_price': 'set default'} selection_add=[('multi_price', 'Other Price')]
  • multi_price_name Many2one → product.multi.price.name
    comodel_name='product.multi.price.name' string='Other Price Name'
Public methods (0)

No public methods.

New fields (1)
  • price_ids One2many → product.multi.price
    comodel_name='product.multi.price' depends_context=('company') inverse_name='product_id' string='Other Prices'
Public methods (0)

No public methods.

New fields (1)
  • price_ids One2many → product.multi.price
    comodel_name='product.multi.price' compute='_compute_price_ids' inverse='_inverse_price_ids' string='Other Prices'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi
    Overwrite creation for rewriting the prices (if set and having only one variant), after the variant creation, that is performed in super.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…