TIP: You can type at any time to perform a new search.
Stock Picking Return Refund Option
stock_picking_return_refund_option · OCA/account-invoicing
- Repository
- OCA/account-invoicing · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Sales
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-invoicing
- Last tracking update
- 2026-08-07 09:06:23
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Weblate, OCA-git-bot, oca-ci, Andrii9090-tecnativa
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module extends the functionality of sales and purchase orders to support modify stock move field to_refund after it has been confirmed.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_picking_form |
stock.picking | form | Inherits stock.view_picking_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (1)-
write(self, vals)
New fields (2)
-
is_returnBooleancompute='_compute_is_return' -
to_refund_linesSelectioncompute='_compute_to_refund_lines'help="This field allow modify 'to_refund' field value in all stock moves from this picking after it has been confirmed.to_refund: set all stock moves to True value and recompute delivered quantities in sale order.\nno_refund: set all stock moves to False value and recompute delivered quantities in sale/purchase order."inverse='_inverse_to_refund_lines'selection=[('to_refund', 'To Refund'), ('no_refund', 'No Refund')]string='Refund Options'
-
set_delivered_qty(self)Check if exists sale_line_id field in stock.move model that has been added by sale_stock module, this module has not dependency of this, Update sale order line qty_delivered for allow do a refund invoice -
set_received_qty(self)Check if exists purchase_line_id field in stock.move model that has been added by purchase module, this module has not dependency of this, Update purchase order line qty_received for allow do a refund invoice.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…