Purchase Batch Invoicing

purchase_batch_invoicing
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/13.0/purchase_batch_invoicing
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYPurchases
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, Lois Rilo, OCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, ChristianSantamaria
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_batch_invoicing_tree_view purchase.order.tree (purchase_batch_invoicing) purchase.order tree New
purchase_order_tree Show invoice status in PO tree purchase.order xpath Inherits purchase.purchase_order_tree
wizard_purchase_batch_invoicing_view Purchase Batch Invoicing purchase.batch_invoicing form New
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • exclude_zero_qty Boolean
    help='Do not invoice lines with zero quantity.'
  • grouping Selection
    default='id' help='Make one invoice for each...' required=True selection=[('id', 'Purchase Order'), ('partner_id', 'Vendor')]
  • purchase_order_ids Many2many → purchase.order
    comodel_name='purchase.order' default=<expr> domain="[('invoice_status', '=', 'to invoice')]" readonly=True required=True string='Purchase orders'
Public methods (3)
  • action_batch_invoice(self)
    Generate invoices for all selected purchase orders. :return dict: Window action to see the generated invoices.
  • cron_invoice_all_pending(self, grouping='partner_id')
    @api.model
    Invoice all pending purchase orders.
  • grouped_purchase_orders(self)
    Purchase orders, applying current grouping. :return generator: Generator of grouped ``purchase.order`` recordsets. If :attr:`grouping` is ``id``, the generator will yield recordsets with 1 order each; if it is ``partner_id``, the yielded recordsets will contain all purchase orders from each vendor.
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/12.0/purchase_batch_invoicing
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYPurchases
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Ernesto Tejeda, oca-travis, Weblate, OCA-git-bot, sergiocorato, ernesto
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_order_form Button to invoice purchase orders purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_tree Show invoice status in PO tree purchase.order xpath Inherits purchase.purchase_order_tree
wizard_purchase_batch_invoicing_view Purchase Batch Invoicing purchase.batch_invoicing form New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • purchase_order_change(self)
    @api.onchange('purchase_id')
    Remove lines with qty=0 if option selected making invoices.

New fields (3)
  • exclude_zero_qty Boolean
    help='Do not invoice lines with zero quantity.'
  • grouping Selection
    default='id' help='Make one invoice for each...' required=True selection=[('id', 'Purchase Order'), ('partner_id', 'Vendor')]
  • purchase_order_ids Many2many → purchase.order
    comodel_name='purchase.order' default=<expr> domain="[('invoice_status', '=', 'to invoice')]" readonly=True required=True string='Purchase orders'
Public methods (3)
  • action_batch_invoice(self)
    @api.multi
    Generate invoices for all selected purchase orders. :return dict: Window action to see the generated invoices.
  • cron_invoice_all_pending(self, grouping='partner_id')
    @api.model
    Invoice all pending purchase orders.
  • grouped_purchase_orders(self)
    @api.multi
    Purchase orders, applying current grouping. :return generator: Generator of grouped ``purchase.order`` recordsets. If :attr:`grouping` is ``id``, the generator will yield recordsets with 1 order each; if it is ``partner_id``, the yielded recordsets will contain all purchase orders from each vendor.
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/11.0/purchase_batch_invoicing
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYPurchases
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, Carlos Dauden, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Rodrigo, David
WEBSITE
WEBSITEhttps://www.github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - 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 (3)
XML IDNameModelTypeStatus
purchase_order_form Button to invoice purchase orders purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_tree Show invoice status in PO tree purchase.order xpath Inherits purchase.purchase_order_tree
wizard_purchase_batch_invoicing_view Purchase Batch Invoicing purchase.batch_invoicing form New
Models touched (1)

New fields (2)
  • grouping Selection
    default='id' help='Make one invoice for each...' required=True selection=[('id', 'Purchase Order'), ('partner_id', 'Vendor')]
  • purchase_order_ids Many2many → purchase.order
    comodel_name='purchase.order' default=<expr> domain="[('invoice_status', '=', 'to invoice')]" readonly=True required=True string='Purchase orders'
Public methods (3)
  • action_batch_invoice(self)
    @api.multi
    Generate invoices for all selected purchase orders. :return dict: Window action to see the generated invoices.
  • cron_invoice_all_pending(self, grouping='partner_id')
    @api.model
    Invoice all pending purchase orders.
  • grouped_purchase_orders(self)
    @api.multi
    Purchase orders, applying current grouping. :return generator: Generator of grouped ``purchase.order`` recordsets. If :attr:`grouping` is ``id``, the generator will yield recordsets with 1 order each; if it is ``partner_id``, the yielded recordsets will contain all purchase orders from each vendor.
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/9.0/purchase_batch_invoicing
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchases
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, GitHub, OCA Transbot, oca-travis, Weblate, Isaac Gallart Bochons
WEBSITE
WEBSITEhttps://tecnativa.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
    - web_tip
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES mock
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_order_form Button to invoice purchase orders purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_tree Show invoice status in PO tree purchase.order xpath Inherits purchase.purchase_order_tree
wizard_purchase_batch_invoicing_view Purchase Batch Invoicing purchase.batch_invoicing form New
Models touched (1)

New fields (2)
  • grouping Selection
    default='id' help='Make one invoice for each...' required=True selection=[('id', 'Purchase Order'), ('partner_id', 'Vendor')]
  • purchase_order_ids Many2many → purchase.order
    comodel_name='purchase.order' default=<expr> domain="[('invoice_status', '=', 'to invoice')]" readonly=True required=True string='Purchase orders'
Public methods (3)
  • action_batch_invoice(self)
    @api.multi
    Generate invoices for all selected purchase orders. :return dict: Window action to see the generated invoices.
  • cron_invoice_all_pending(self, grouping='partner_id')
    @api.model
    Invoice all pending purchase orders.
  • grouped_purchase_orders(self)
    @api.multi
    Purchase orders, applying current grouping. :return generator: Generator of grouped ``purchase.order`` recordsets. If :attr:`grouping` is ``id``, the generator will yield recordsets with 1 order each; if it is ``partner_id``, the yielded recordsets will contain all purchase orders from each vendor.