Point of Sale Return Order
pos_return_order · OCA/pos
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 104 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 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
LGPL-3
No conflicts with its dependencies
Folder size
0.17 MB
Module directory on disk
Code analysis
10 migration notes
5 models
4 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
PosOrder— 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 · sourcePosOrderLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourcePosPartialReturnWizard— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceview_pos_order_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- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 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 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partial_return_wizard_form |
pos.partial.return.wizard | form | New | |
view_pos_order_form |
pos.order | form | Inherits point_of_sale.view_pos_pos_form | |
view_pos_order_line_form |
pos.order.line | form | Inherits point_of_sale.view_pos_order_line_form | |
view_product_template_form |
product.template | form | Inherits point_of_sale.product_template_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (3)
-
refund_order_idsOne2many → pos.ordercomodel_name='pos.order'inverse_name='returned_order_id'readonly=Truestring='Refund Orders' -
refund_order_qtyIntegercompute='_compute_refund_order_qty'digits=dp.get_precision('Product Unit of Measure')string='Refund Orders Quantity' -
returned_order_idMany2one → pos.ordercomodel_name='pos.order'readonly=Truestring='Returned Order'
-
partial_refund(self, partial_return_wizard)@api.multi -
refund(self)@api.multi
New fields (2)
-
refund_line_idsOne2many → pos.order.linecomodel_name='pos.order.line'inverse_name='returned_line_id'readonly=Truestring='Refund Lines' -
returned_line_idMany2one → pos.order.linecomodel_name='pos.order.line'readonly=Truestring='Returned Order'
-
max_returnable_qty(self, ignored_line_ids)@api.model
New fields (2)
-
line_idsOne2many → pos.partial.return.wizard.linecomodel_name='pos.partial.return.wizard.line'inverse_name='wizard_id'string='Lines to Return' -
order_idMany2one → pos.ordercomodel_name='pos.order'string='Order to Return'
-
confirm(self)@api.multi -
default_get(self, fields)@api.model
New fields (5)
-
initial_qtyFloathelp='Quantity of Product initially sold'readonly=Truestring='Initial Quantity' -
max_returnable_qtyFloathelp='Compute maximum quantity that can be returned for this line, depending of the quantity of the line and other possible refunds.'readonly=Truestring='Returnable Quantity' -
pos_order_line_idMany2one → pos.order.linecomodel_name='pos.order.line'readonly=Truerequired=Truestring='Line To Return' -
qtyFloatdefault=0.0string='Returned Quantity' -
wizard_idMany2one → pos.partial.return.wizardcomodel_name='pos.partial.return.wizard'string='Wizard'
No public methods.
New fields (1)
-
pos_allow_negative_qtyBooleanstring='Allow Negative Quantity on PoS'
No public methods.