Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
2.0.1
Category
Purchases
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-11 17:15:19
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
LauraCForgeFlow, Weblate, OCA-git-bot, oca-ci, Joan Sisquella
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
purchase_uninvoiced_amount_force_invoiced_line
Description
This module adds the invoice status on the purchase order lines.

Lines flagged as force invoiced are also excluded from the vendor bill
matching view ('Match Bills'), so they are no longer offered when
matching or creating vendor bills.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_line_tree_invoice_status purchase.order.line.tree.invoice.status purchase.order.line tree Inherits purchase.purchase_order_line_tree
purchase_order_line_tree_invoice_status_related_remove purchase.order.line.tree.invoice.status purchase.order.line tree Inherits purchase_order_line_menu.purchase_order_line_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • force_invoiced Boolean
    compute='_compute_force_invoiced' help='If true, the order is marked forced only when all lines are fully invoiced and at least one line was manually forced.' inverse='_inverse_force_invoiced' store=True tracking=True
Public methods (0)

No public methods.

New fields (3)
  • force_invoiced Boolean
    copy=False help='If true, the invoice status will be forced to Fully Invoiced, even if some quantities are not fully invoiced. ' store=True
  • invoice_status Selection
    compute='_compute_invoice_status' related=False selection=[('no', 'Nothing to Bill'), ('to invoice', 'Waiting Bills'), ('invoiced', 'Fully Billed')] store=True string='Billing Status'
  • purchase_method Selection
    compute='_compute_purchase_method' selection=[('purchase', 'On ordered'), ('receive', 'On received')] store=True string='Control Policy'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
114 days ago
Last activity
3 days ago
Repository
OCA/purchase-workflow
Pull request
[19.0][MIG] purchase_invoice_status_line: Migration to 19.0 (#3036)