Refund Return Pickings in Sales Orders
sale_stock_picking_return_invoicing · OCA/account-invoicing
Merged into sale_stock in 10.0
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 98 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
AGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis
11 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
SaleOrderLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceStockMove— 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 · sourceStockPicking— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourceStockReturnPicking— 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_picking_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 · sourceview_stock_return_picking_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`) 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
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_move_picking_tree |
stock.move | tree | Inherits stock.view_move_picking_tree | |
view_order_form |
sale.order | form | Inherits sale.view_order_form | |
view_picking_form |
stock.picking | form | Inherits stock.view_picking_form | |
view_stock_return_picking_form |
Allow to refund sale order | stock.return.picking | form | Inherits stock.view_stock_return_picking_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
qty_returnedFloatcopy=Falsedigits=dp.get_precision('Product Unit of Measure')string='Returned Qty'
No public methods.
New fields (2)
-
origin_to_refund_soBooleanargs: 'Origin To Refund in SO' -
to_refund_soBooleanhelp='Trigger a decrease of the delivered quantity in the associated Sale Order' args: 'To Refund in SO'
-
action_done(self)@api.multi
New fields (1)
-
to_refund_linesSelectiondefault='keep_line_value'help="This field allow modify 'to_refund_so' field value in all stock moves from this picking after it has been confirmed.keep_line_value: keep the original value.\nto_refund_so: set all stock moves to True value and recompute delivered quantities in sale order.\nno_refund_so: set all stock moves to False value and recompute delivered quantities in sale order."selection=[('keep_line_value', 'Keep Line Value'), ('to_refund_so', 'To Refund In Sales Order'), ('no_refund_so', 'No Refund In Sales Order')]string='Refund Options'
-
set_delivered_qty(self)@api.multi -
write(self, vals)@api.multi
New fields (0)
No new fields.
Public methods (1)-
default_get(self, fields)@api.modelGet sale order for lines.
New fields (2)
-
sale_order_idMany2one → sale.ordercomodel_name='sale.order'ondelete='cascade'readonly=Truestring='Sale order' -
to_refund_soBooleanhelp='Trigger a decrease of the delivered quantity in the associated Sale Order'string='To Refund'
No public methods.