Invoice Production Lots

account_invoice_production_lot
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/19.0/account_invoice_production_lot
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSYennifer Santiago, OCA-git-bot, oca-ci, Vicent-S73
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoice-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - sale_stock_picking_invoice_link
    - stock_picking_invoice_link
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module shows, for each (customer) invoice line, the delivered
production lots that will be also displayed on the invoice report with
their corresponding delivered quantities in case the **Tracking** has
been set to **By Lots**.

**Note:** As of v13.0, Odoo provides an option under *Settings*
(**Inventory \> Configuration \> Settings \> Traceability**) to
**Display Lots & Serial Numbers on Invoices** which provides similar
functionality. However, it has some limitations compared to this addon:
\* It will only display the associated Lots / Serial Numbers in the
generated *Invoice Report*, and not in an extra field in the Invoice
view form. \* It will display all the Lots / Serial Numbers grouped
together in an extra line in the Invoice Report. This module adds an
extra field in each line with that information.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move xpath Inherits account.view_move_form
Models touched (1)

New fields (1)
  • prod_lot_ids Many2many → stock.lot
    comodel_name='stock.lot' compute='_compute_prod_lots' string='Production Lots'
Public methods (1)
  • lots_grouped_by_quantity(self)
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/18.0/account_invoice_production_lot
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, Weblate, OCA-git-bot, oca-ci, Mohssin Bouktaib, Niels Göttsch
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoice-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - sale_stock_picking_invoice_link
    - stock_picking_invoice_link
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module shows, for each (customer) invoice line, the delivered
production lots that will be also displayed on the invoice report with
their corresponding delivered quantities in case the **Tracking** has
been set to **By Lots**.

**Note:** As of v13.0, Odoo provides an option under *Settings*
(**Inventory \> Configuration \> Settings \> Traceability**) to
**Display Lots & Serial Numbers on Invoices** which provides similar
functionality. However, it has some limitations compared to this addon:
\* It will only display the associated Lots / Serial Numbers in the
generated *Invoice Report*, and not in an extra field in the Invoice
view form. \* It will display all the Lots / Serial Numbers grouped
together in an extra line in the Invoice Report. This module adds an
extra field in each line with that information.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move xpath Inherits account.view_move_form
Models touched (1)

New fields (1)
  • prod_lot_ids Many2many → stock.lot
    comodel_name='stock.lot' compute='_compute_prod_lots' string='Production Lots'
Public methods (1)
  • lots_grouped_by_quantity(self)
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/17.0/account_invoice_production_lot
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, pilarvargas-tecnativa, Ioan Galan (Studio73)
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoice-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module shows, for each (customer) invoice line, the delivered
production lots that will be also displayed on the invoice report with
their corresponding delivered quantities in case the **Tracking** has
been set to **By Lots**.

**Note:** As of v13.0, Odoo provides an option under *Settings*
(**Inventory \> Configuration \> Settings \> Traceability**) to
**Display Lots & Serial Numbers on Invoices** which provides similar
functionality. However, it has some limitations compared to this addon:
\* It will only display the associated Lots / Serial Numbers in the
generated *Invoice Report*, and not in an extra field in the Invoice
view form. \* It will display all the Lots / Serial Numbers grouped
together in an extra line in the Invoice Report. This module adds an
extra field in each line with that information.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move xpath Inherits account.view_move_form
Models touched (1)

New fields (1)
  • prod_lot_ids Many2many → stock.lot
    comodel_name='stock.lot' compute='_compute_prod_lots' string='Production Lots'
Public methods (1)
  • lots_grouped_by_quantity(self)
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/16.0/account_invoice_production_lot
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoice-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move xpath Inherits account.view_move_form
Models touched (1)

New fields (1)
  • prod_lot_ids Many2many → stock.lot
    comodel_name='stock.lot' compute='_compute_prod_lots' string='Production Lots'
Public methods (1)
  • lots_grouped_by_quantity(self)
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/15.0/account_invoice_production_lot
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoice-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale_stock
    - sale
    - sales_team
    - payment
    - utm
    - stock_account
    - stock
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move xpath Inherits account.view_move_form
Models touched (1)

New fields (1)
  • prod_lot_ids Many2many → stock.production.lot
    comodel_name='stock.production.lot' compute='_compute_prod_lots' string='Production Lots'
Public methods (1)
  • lots_grouped_by_quantity(self)
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/14.0/account_invoice_production_lot
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Alfredo Zamora
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoice-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale_stock
    - sale
    - sales_team
    - payment
    - utm
    - stock_account
    - stock
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move xpath Inherits account.view_move_form
Models touched (1)

New fields (1)
  • prod_lot_ids Many2many → stock.production.lot
    comodel_name='stock.production.lot' compute='_compute_prod_lots' string='Production Lots'
Public methods (1)
  • lots_grouped_by_quantity(self)
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/13.0/account_invoice_production_lot
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, João Marques, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoice-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale_stock
    - sale
    - sales_team
    - payment
    - utm
    - stock_account
    - stock
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move xpath Inherits account.view_move_form
Models touched (1)

New fields (1)
  • prod_lot_ids Many2many → stock.production.lot
    comodel_name='stock.production.lot' compute='_compute_prod_lots' string='Production Lots'
Public methods (1)
  • lots_grouped_by_quantity(self)
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/12.0/account_invoice_production_lot
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSOCA Transbot, Sergio Teruel, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoice-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - sale_stock
    - sale
    - sales_team
    - payment
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_invoice_line_form_prod_lots account.invoice.line.form.prod_lots account.invoice.line field Inherits account.view_invoice_line_form
Models touched (1)

New fields (1)
  • prod_lot_ids Many2many → stock.production.lot
    comodel_name='stock.production.lot' compute='_compute_prod_lots' string='Production Lots'
Public methods (1)
  • lots_grouped_by_quantity(self)
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/11.0/account_invoice_production_lot
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, david, tafaRU, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoice-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - account_invoicing
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - sale_stock
    - sale_management
    - sale
    - sales_team
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
report_invoice_layouted report_invoice_layouted ir.ui.view qweb Inherits sale.report_invoice_layouted
view_invoice_line_form_prod_lots account.invoice.line.form.prod_lots account.invoice.line field Inherits account.view_invoice_line_form
Models touched (1)

New fields (2)
  • lot_formatted_note Html
    compute='_compute_line_lots' string='Formatted Note'
  • prod_lot_ids Many2many → stock.production.lot
    comodel_name='stock.production.lot' compute='_compute_prod_lots' string='Production Lots'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/10.0/account_invoice_production_lot
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, tafaRU, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoice-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - account_accountant
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - sale_stock
    - sale
    - sales_team
    - procurement
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_invoice_line_form_prod_lots account.invoice.line.form.prod_lots account.invoice.line field Inherits account.view_invoice_line_form
Models touched (1)

New fields (3)
  • lot_formatted_note Html
    compute='_compute_line_lots' string='Formatted Note'
  • order_line_ids Many2many → sale.order.line
    column1='invoice_line_id' column2='order_line_id' comodel_name='sale.order.line' readonly=True relation='sale_order_line_invoice_rel' string='Order Lines'
  • prod_lot_ids Many2many → stock.production.lot
    comodel_name='stock.production.lot' compute='_compute_prod_lots' string='Production Lots'
Public methods (1)
  • quantity_by_lot(self)
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/9.0/account_invoice_production_lot
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - account_accountant
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - sale_stock
    - sale
    - sales_team
    - procurement
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_invoice_line_form_prod_lots account.invoice.line.form.prod_lots account.invoice.line field Inherits account.view_invoice_line_form
Models touched (1)

New fields (3)
  • lot_formatted_note Html
    compute='load_line_lots' args: 'Formatted Note'
  • order_lines Many2many → sale.order.line
    readonly=True args: 'sale.order.line', 'sale_order_line_invoice_rel', 'invoice_id', 'order_line_id', 'Order Lines'
  • prod_lot_ids Many2many → stock.production.lot
    compute='_get_prod_lots' string='Production Lots' args: 'stock.production.lot', 'stock_prod_lot_invoice_rel', 'invoice_id'
Public methods (1)
  • load_line_lots(self)
    @api.one
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/8.0/account_invoice_production_lot
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, archetipo, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - account_accountant
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - sale_stock
    - sale
    - sales_team
    - web_kanban_sparkline
    - procurement
    - stock_account
    - stock
    - web_kanban_gauge
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_production_lot_report account_invoice_production_lot_report ir.ui.view qweb Inherits account.report_invoice_document
view_invoice_line_form_prod_lots account.invoice.line.form.prod_lots account.invoice.line field Inherits account.view_invoice_line_form
Models touched (1)

New fields (3)
  • lot_formatted_note Html
    compute='load_line_lots' args: 'Formatted Note'
  • order_lines Many2many → sale.order.line
    readonly=True args: 'sale.order.line', 'sale_order_line_invoice_rel', 'invoice_id', 'order_line_id', 'Order Lines'
  • prod_lot_ids Many2many → stock.production.lot
    compute='_get_prod_lots' string='Production Lots' args: 'stock.production.lot', 'stock_prod_lot_invoice_rel', 'invoice_id'
Public methods (1)
  • load_line_lots(self)
    @api.one
REPOSITORY
REPOSITORYOCA/account-invoice-reporting
GIT
GIThttps://github.com/OCA/account-invoice-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoice-reporting/tree/7.0/account_invoice_production_lot
VERSION
VERSION 1.1
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSYannick Vaucher, Guewen Baconnier, Lorenzo Battistini, Alexandre Fayolle, Stéphane Bidoul (ACSONE), Launchpad Translations on behalf of account-core-editors, OCA Transbot, Nicola Malcontenti, Nicola Malcontenti-Agile BG
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoice-reporting:
    - invoice_webkit
OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
OCA/webkit-tools:
    - base_headers_webkit
odoo/odoo:
    - sale_stock
    - sale
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - stock
    - procurement
    - report_webkit
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module prints, for each (customer) invoice line, the delivered production
lots. The serial numbers are displayed in the "formatted note" field,
introduced by invoice_webkit module

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
invoice_form_load_button account.invoice.form.load_button account.invoice field Inherits account.invoice_form
view_invoice_line_form_prod_lots account.invoice.line.form.prod_lots account.invoice.line field Inherits account.view_invoice_line_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • load_lines_lots(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (2)
  • create(self, cr, uid, vals, context=None)
  • load_line_lots(self, cr, uid, ids, context=None)