Purchase Variant Configurator On Confirm
purchase_variant_configurator_on_confirm · OCA/product-variant
Merged into purchase_variant_configurator in 16.0
Health
55/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 70 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 9.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.08 MB
Module directory on disk
Code analysis
1 migration note
5 models
1 view
0 HTTP endpoints
Migration considerations
PurchaseOrderLine— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · 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 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_extended_form_view |
purchase.order.extended.form | purchase.order | form | Inherits purchase.purchase_order_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 (0)
No new fields.
Public methods (1)-
search(self, args, offset=0, limit=None, order=None, count=False)@api.modelHACK: With NewId, the linked product_tmpl_id won't be a proper interger that we can use in a search. As we need it to get the proper pricelists we'll be passing it by context. The propper solution would be to use `self.product_tmpl_id._origin.id` in `_prepare_sellers`: https://github.com/odoo/odoo/blob/13.0/addons/product/models/product.py#L588
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (2)-
button_confirm(self)Create possible product variants not yet created. -
copy(self, default=None)Change date_planned for lines without product after calling super
New fields (1)
-
product_idMany2onerequired=False
-
create(self, vals)Create variant before calling super when the purchase order is confirmed, as it creates associated stock moves.
Loading…
Loading…
Loading…