OdooWiki OCA HUB

Product From Account Move Line Link

product_form_account_move_line_link folder_open OCA/account-invoicing open_in_new
Account License: AGPL-3

Adds a button on product forms to access Journal Items

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds a "Journal Items" button on product and product variant forms that shows how many journal items (invoiced lines) reference the product and opens the related list.

This module adds a smart button to product forms so accounting users can jump straight from a product to the accounting entries that mention it.

  • On both the product template form and the product variant form, a "Journal Items" stat button appears in the button box, showing a count labelled "Invoiced".
  • Clicking the button opens a list of journal items (account.move.line) filtered to the product(s) you were viewing, with the search pre-set to posted entries.
  • The count is computed automatically: for a product variant it counts journal items whose product is that variant and whose company is one of the companies currently selected by the user; for a product template it sums the counts of all its variants (including archived ones).
  • The button and the count are only visible to users belonging to the invoicing/accounting group; other users see a count of zero.

It touches the product.product and product.template models by adding the computed "Invoiced" field, and reuses the standard journal items list view from the Accounting app. No new menus are created; the entry point is the button on the product form.

Depends on

account
Models and fields (2)
  • product.product · extends an existing modelaccount_move_lines_count (Invoiced)
  • product.template · extends an existing modelaccount_move_lines_count (Invoiced)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/account-invoicing.

terminal Installation and usage

OCA documentation · Odoo 19.0

Go to Products \> Products or Products \> Product Variants tab on any of the Sales, Purchase or Inventory apps.

Click on the button 'Journal Items' with the list icon

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.