Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 12 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)
-
discountFloatdefault=0.0digits='Discount'string='Discount (%)'
-
prepare_sale_order_line_values(self, order, quantity, sequence=0)
New fields (1)
-
archive_partner_product_setsBooleanconfig_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'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
write(self, vals)
New fields (3)
-
order_idMany2one → sale.orderdefault=<expr>ondelete='cascade'required=True args: 'sale.order', 'Sale Order' -
partner_idMany2oneondelete='cascade'related='order_id.partner_id' -
skip_existing_productsBooleandefault=Falsehelp='Enable this to not add new lines for products already included in SO lines.'
-
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…