OdooWiki OCA HUB

Facturae - Literal Legal Texts

l10n_es_facturae_literal_legal folder_open OCA/l10n-spain open_in_new
Accounting & Finance License: AGPL-3

Agrega los Literales Legales para ser usados en Facturae.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Adds legal literal texts to Spanish Facturae invoices. Users can enter legal references on an invoice; long texts are automatically split into 250-character blocks and printed in the Facturae XML report.

This module extends the Spanish Facturae invoicing feature by letting you store legal literal texts on an invoice and include them in the generated Facturae file.

On the invoice form, inside the Facturae tab, a new "Literal Legals" section lists the legal references for that invoice. You can add, edit and reorder them. Each entry has a description and a read-only counter showing how many characters are used.

Business rules are applied automatically: - A legal literal cannot be longer than 250 characters. - When you create an entry longer than 250 characters, it is automatically split into several entries of 250 characters each. - If you later edit an entry and make it longer than 250 characters, Odoo blocks the change with an error message.

The legal literals are copied when the invoice is duplicated. They are also printed in the Facturae report: the LegalLiterals section is only shown when the invoice has legal literals, and each one is written as a LegalReference.

Access is controlled: accounting users can create, edit and delete legal literals, while other internal users can only read them.

Models and fields (2)
  • account.move · extends an existing modelliteral_legal_ids (Literal Legal)
  • l10n.es.facturae.literal.legal · new modelmove_id (Move), sequence, description, description_length

Text generated by AI (DeepSeek) from reading the Odoo 17.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/l10n-spain.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.