Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.1.0
Category
Purchases
Folder size
0.41 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-invoicing
Last tracking update
2026-08-07 07:38:20
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Pedro M. Baeza, Lois Rilo, Víctor Martínez, Weblate, OCA Transbot, OCA-git-bot, oca-travis, ChristianSantamaria
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 tree Inherits purchase.purchase_order_tree
wizard_purchase_batch_invoicing_view Purchase Batch Invoicing purchase.batch_invoicing form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Loading…

Loading…