Sale Order Add Variants
sale_order_add_variants · OCA/sale-workflow
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 51 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
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.04 MB
Module directory on disk
Code analysis
4 migration notes
3 models
3 views
0 HTTP endpoints
Migration considerations
SaleAddVariants— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (4 methods) migration-api-multi-one · sourcesale_order_add_variants_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.addons.decimal_precision`) (2 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_add_variants_form |
sale.add.variants.form | sale.add.variants | form | New |
sale_order_add_variants_form |
sale.order.form Add Variants | sale.order | form | Inherits sale.view_order_form |
view_sales_config_sale_add_variants |
sale settings: Add Variants | sale.config.settings | Inherits sale.view_sales_config |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (2)
-
product_tmpl_idMany2one → product.templaterequired=Truestring='Template' args: 'product.template' -
variant_line_idsOne2many → sale.add.variants.linestring='Variant Lines' args: 'sale.add.variants.line', 'wizard_id'
-
add_to_order(self)@api.multi -
add_to_order_continue(self)@api.multi -
clear_previous_selections(self)@api.multi -
open_new_window(self)@api.multi
New fields (4)
-
product_idMany2one → product.productreadonly=Truerequired=Truestring='Variant' args: 'product.product' -
product_uomMany2one → product.uomrequired=Truestring='Unit of Measure ' args: 'product.uom' -
product_uom_qtyFloatdigits_compute=dp.get_precision('Product UoS')string='Quantity' -
wizard_idMany2one → sale.add.variantsargs: 'sale.add.variants'
No public methods.
New fields (1)
-
group_sale_add_variantsBooleanimplied_group='sale_order_add_variants.group_sale_add_variants'string='Allow to add variants from template in Sale order'
No public methods.
Loading…