OdooWiki OCA HUB

Free tickets no invoiceable

event_sale_free_no_invoiceable folder_open OCA/event open_in_new
Website License: AGPL-3

This module avoids that the sales orders containing only event tickets lines with 0 price appear as invoiceable, making the "to invoice" list very dirty.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Marks sales order lines for free event tickets (price 0) as not invoiceable, so they no longer appear in the 'to invoice' list.

This module keeps the list of sales orders waiting to be invoiced clean by ignoring event ticket lines that cost nothing.

  • When a sales order line is linked to an event ticket and its unit price is zero, the quantity to invoice is automatically set to 0. This means the line is treated as nothing to invoice, even though it is a real ticket line.
  • The rule is applied every time Odoo recalculates the quantity to invoice on sale.order.line, so it also works for new orders created after installation.
  • On installation, the module also cleans up existing data: it looks for sales order lines that have an event ticket, a price of 0 and a status of 'to invoice', and sets their quantity to invoice to 0.
  • The check uses Odoo's standard rounding precision for product units of measure, so tiny amounts that round to zero are treated as free.
  • It only touches sale.order.line; no new menus, screens or reports are added. The effect is visible in the invoicing status of sales orders and in the list of orders to invoice.

This is useful for events with free tickets: those lines stay on the order for tracking attendance, but they no longer clutter the invoicing workflow.

Depends on

event_sale
Models and fields (1)
  • sale.order.line · extends an existing model

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: 3 confirmed, 6 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

When installing the module, all the existing ticket lines with 0 price recomputes their invoice status, so in a huge DB it may take some time.

No verified information in OCA: Configuration, Usage.

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.