TIP: You can type at any time to perform a new search.
Refund Return Pickings in Sales Orders
sale_stock_picking_return_invoicing · OCA/account-invoicing
Security findings
Migration considerations
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.addons.decimal_precision` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
view_picking_form— For a target of Odoo 17.0+: view 'view_picking_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_stock_return_picking_form— For a target of Odoo 17.0+: view 'view_stock_return_picking_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/account-invoicing · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Sales
- Folder size
- 0.12 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://tecnativa.com/
- Last tracking update
- 2026-08-07 07:09:56
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Pedro M. Baeza, GitHub, Jairo Llopis, Weblate, OCA Transbot, oca-travis
Code Analysis
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.