Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 12 Odoo series since 8.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.61 MB
Module directory on disk
Code analysis 0 migration notes 4 models 5 views 0 HTTP endpoints

Description

A product set is a list of products which end customers aren't aware, this list is defined by sales manager.

This module aims to load a product set in a sales order though a wizard. The product set is a list of products and quantities that gets inserted as separate sales order lines.

After a product set is added to the sales order, each line can be updated or removed as any other sales order lines.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_wishlist

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
product_set_add_form_view sale.product.set.wizard.form.view sale.product.set.wizard form New
res_config_settings_inherit_view res.config.settings.inherit.view res.config.settings form Inherits sale.res_config_settings_view_form
view_order_stock_form sale.order.form.inherit sale.order form Inherits sale.view_order_form
view_product_set_form product.set.form product.set form Inherits product_set.view_product_set_form
view_product_set_line_tree product.set.line.list product.set.line list Inherits product_set.view_product_set_line_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • discount Float
    default=0.0 digits='Discount' string='Discount (%)'
Public methods (1)
  • prepare_sale_order_line_values(self, order, quantity, sequence=0)

New fields (1)
  • archive_partner_product_sets Boolean
    config_parameter='sale_product_set.archive_partner_product_sets' help='When a partner is archived or un-archived its product sets are archived or un-archived as well.' string='Sync product sets active state with partner'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (3)
  • order_id Many2one → sale.order
    default=<expr> ondelete='cascade' required=True args: 'sale.order', 'Sale Order'
  • partner_id Many2one
    ondelete='cascade' related='order_id.partner_id'
  • skip_existing_products Boolean
    default=False help='Enable this to not add new lines for products already included in SO lines.'
Public methods (1)
  • add_set(self)
    Add product set, multiplied by quantity in sale order line

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…