Stock Picking Return Refund Option
stock_picking_return_refund_option · OCA/account-invoicing
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 11.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.06 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
0 HTTP endpoints
Description
This module extends the functionality of sales and purchase orders to support modify stock move field to_refund after it has been confirmed.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…
Loading…