Purchase Receipt Expectation - Manual
purchase_receipt_expectation_manual · OCA/purchase-workflow
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 46 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 15.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.09 MB
Module directory on disk
Code analysis
2 migration notes
5 models
3 views
0 HTTP endpoints
Migration considerations
purchase_order_manual_receipt_wizard— 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 · sourcepurchase_order_view_form_inherit— 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. (2 occurrences in this file) migration-view-attrs-states · 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 |
|---|---|---|---|---|
purchase_order_form_inherit |
purchase.order.form.inherit | purchase.order | form | Inherits purchase.purchase_order_form |
purchase_order_manual_receipt_wizard |
purchase.order.manual.receipt.wizard | purchase.order.manual.receipt.wizard | form | New |
purchase_order_view_form_inherit |
purchase.order.view.form.inherit | purchase.order | form | Inherits purchase_stock.purchase_order_view_form_inherit |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
receipt_expectationSelectionondelete={'manual': 'set default'}selection_add=[('manual', 'Manual')]
-
button_open_manual_receipt_wizard(self)
New fields (6)
-
feasible_for_manual_receiptBooleancompute='_compute_feasible_for_manual_receipt'store=True -
manually_generated_move_idsOne2many → stock.movedomain=[('manually_generated', '=', True)] args: 'stock.move', 'purchase_line_id' -
manually_receivable_qtyFloatcompute='_compute_manually_receivable_qty'digits='Product Unit of Measure'help='Qty that has yet to be received for current line (in product PO UoM)'store=True -
manually_receivable_qty_uomFloatcompute='_compute_manually_receivable_qty'digits='Product Unit of Measure'help='Qty that has yet to be received for current line (in line UoM)'store=True -
manually_received_qtyFloatcompute='_compute_manually_received_qty'digits='Product Unit of Measure'help='Qty that has been received for current line (in product PO UoM)'store=True -
manually_received_qty_uomFloatcompute='_compute_manually_received_qty'digits='Product Unit of Measure'help='Qty that has been received for current line (in product PO UoM)'store=True
No public methods.
New fields (6)
-
auto_confirm_pickingBooleandefault=Truehelp='Automatically confirms the picking after creation.' -
checks_resultSelectiondefault='success' args: [('success', 'Success'), ('failure', 'Failure')] -
checks_result_msgTexthelp='Stores error messages result from executed checks' -
line_idsOne2many → purchase.order.manual.receipt.wizard.lineargs: 'purchase.order.manual.receipt.wizard.line', 'wizard_id' -
purchase_order_idMany2one → purchase.orderrequired=True args: 'purchase.order' -
scheduled_dateDatetimedefault=fields.Datetime.nowrequired=True
-
button_check(self)Runs checks on the wizard data, then opens the wizard again -
button_confirm(self)Confirms wizard data and creates new picking -
open_form_view(self) -
open_picking_form_view(self, picking)
New fields (9)
-
currency_idMany2one → res.currencyreadonly=Truerelated='purchase_line_id.currency_id' args: 'res.currency' -
product_idMany2one → product.productreadonly=Truerelated='purchase_line_id.product_id'store=True args: 'product.product' -
purchase_line_idMany2one → purchase.order.lineondelete='cascade'required=True args: 'purchase.order.line' -
purchase_order_idMany2one → purchase.orderrelated='wizard_id.purchase_order_id'store=True args: 'purchase.order' -
qtyFloatdigits='Product Unit of Measure'string='Quantity' -
unit_priceMonetaryrequired=True -
uom_category_idMany2one → uom.categoryrelated='product_id.uom_id.category_id'store=True args: 'uom.category' -
uom_idMany2one → uom.uomondelete='cascade'required=Truestring='Unit of Measure' args: 'uom.uom' -
wizard_idMany2one → purchase.order.manual.receipt.wizardrequired=True args: 'purchase.order.manual.receipt.wizard'
No public methods.
New fields (2)
-
manually_generatedBoolean -
manually_received_qtyFloatcompute='_compute_manually_received_qty'digits='Product Unit of Measure'help="Qty that has been received for stock move (in product's PO UoM)"store=True
No public methods.