Stock Picking Return Refund Option

stock_picking_return_refund_option
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/19.0/stock_picking_return_refund_option
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Andrii9090-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase_stock
    - purchase
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
view_picking_form stock.picking xpath Inherits stock.view_picking_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (2)
  • is_return Boolean
    compute='_compute_is_return'
  • to_refund_lines Selection
    compute='_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'
Public methods (2)
  • 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.
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/18.0/stock_picking_return_refund_option
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Carlos Roca
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase_stock
    - purchase
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
view_picking_form stock.picking xpath Inherits stock.view_picking_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (2)
  • is_return Boolean
    compute='_compute_is_return'
  • to_refund_lines Selection
    compute='_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'
Public methods (2)
  • 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.
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/17.0/stock_picking_return_refund_option
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, mario
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase_stock
    - purchase
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
view_picking_form stock.picking xpath Inherits stock.view_picking_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (2)
  • is_return Boolean
    compute='_compute_is_return'
  • to_refund_lines Selection
    compute='_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'
Public methods (2)
  • 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.
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/16.0/stock_picking_return_refund_option
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci, josep-tecnativa, Yadier A. De Quesada
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:52
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase_stock
    - purchase
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_picking_form stock.picking xpath Inherits stock.view_picking_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (2)
  • is_return Boolean
    compute='_compute_is_return'
  • to_refund_lines Selection
    compute='_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'
Public methods (2)
  • 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.
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/15.0/stock_picking_return_refund_option
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Miquel Raïch, Weblate, OCA-git-bot, oca-ci, Cesar Andres Sanchez, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:38
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase_stock
    - purchase
    - sale_stock
    - sale
    - sales_team
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_picking_form stock.picking xpath Inherits stock.view_picking_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (2)
  • is_return Boolean
    compute='_compute_is_return'
  • to_refund_lines Selection
    compute='_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'
Public methods (2)
  • 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.
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/13.0/stock_picking_return_refund_option
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Denis Roussel, sergio-teruel, oca-travis, Weblate, OCA-git-bot, Carlos Roca
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase_stock
    - purchase
    - sale_stock
    - sale
    - sales_team
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_picking_form stock.picking xpath Inherits stock.view_picking_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (2)
  • is_return Boolean
    compute='_compute_is_return'
  • to_refund_lines Selection
    compute='_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'
Public methods (2)
  • 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.
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/12.0/stock_picking_return_refund_option
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Sergio Teruel, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_picking_form stock.picking xpath Inherits stock.view_picking_form
Models touched (1)

New fields (2)
  • is_return Boolean
    compute='_compute_is_return'
  • to_refund_lines Selection
    compute='_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'
Public methods (2)
  • 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.
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/11.0/stock_picking_return_refund_option
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Sergio Teruel, oca-travis, OCA-git-bot, Luis J. Salvatierra
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
    - account
    - analytic
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_picking_form stock.picking xpath Inherits stock.view_picking_form
Models touched (2)

New fields (2)
  • is_return Boolean
    compute='_compute_is_return'
  • to_refund_lines Selection
    compute='_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'
Public methods (2)
  • set_delivered_qty(self)
    @api.multi
    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)
    @api.multi
    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.

New fields (0)

No new fields.

Public methods (0)

No public methods.