Stock Picking Invoice Link

sale_stock_picking_invoice_link
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/19.0/sale_stock_picking_invoice_link
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Agile Business Group, BCIM sprl, Softdil S.L
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Agile Business Group, BCIM sprl, Softdil S.L
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, david-s73, AlexGarS73
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a link between pickings and invoices as well as on the lines.
Invoices are generated from sales orders. With this module, you can find back
which deliveries an invoice relates to.

In standard, if you make a partial delivery and invoice it, then make remaining
delivery and invoice it, it is impossible to known to what delivery the
invoices relate to. You only have the quantity.

This module is also useful if you want to present data on the invoice report
grouped by deliveries.

Note that the links are only for products with an invoicing policy set on
delivery.

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_stock_moves_link_invoice(self)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)
    User can update any picking in done state, but if this picking already invoiced the stock move done quantities can be different to invoice line quantities. So to avoid this inconsistency you can not update any stock move line in done state and have invoice lines linked.
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/18.0/sale_stock_picking_invoice_link
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Agile Business Group, BCIM sprl, Softdil S.L
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Agile Business Group, BCIM sprl, Softdil S.L
COMMITTERS
COMMITTERSRenato Lima, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a link between pickings and invoices as well as on the lines.
Invoices are generated from sales orders. With this module, you can find back
which deliveries an invoice relates to.

In standard, if you make a partial delivery and invoice it, then make remaining
delivery and invoice it, it is impossible to known to what delivery the
invoices relate to. You only have the quantity.

This module is also useful if you want to present data on the invoice report
grouped by deliveries.

Note that the links are only for products with an invoicing policy set on
delivery.

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_stock_moves_link_invoice(self)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)
    User can update any picking in done state, but if this picking already invoiced the stock move done quantities can be different to invoice line quantities. So to avoid this inconsistency you can not update any stock move line in done state and have invoice lines linked.