From 969cc9e9f56c69bf5f5446e1709a261a9c55ffe7 Mon Sep 17 00:00:00 2001 From: luis Date: Thu, 20 Nov 2025 19:10:58 +0100 Subject: [PATCH] add l10n_es_pos_receipt_hide_customer_info --- .../README.md | 18 ++++++++++++++++++ .../__init__.py | 1 + .../__manifest__.py | 17 +++++++++++++++++ .../static/src/xml/pos.xml | 12 ++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 l10n_es_pos_receipt_hide_customer_info/README.md create mode 100644 l10n_es_pos_receipt_hide_customer_info/__init__.py create mode 100644 l10n_es_pos_receipt_hide_customer_info/__manifest__.py create mode 100644 l10n_es_pos_receipt_hide_customer_info/static/src/xml/pos.xml diff --git a/l10n_es_pos_receipt_hide_customer_info/README.md b/l10n_es_pos_receipt_hide_customer_info/README.md new file mode 100644 index 0000000..be6d651 --- /dev/null +++ b/l10n_es_pos_receipt_hide_customer_info/README.md @@ -0,0 +1,18 @@ +# Spanish PoS - Hide Customer Info on Receipt + +This module extends `l10n_es_pos` to hide customer fiscal information (VAT and address) from the Point of Sale receipt, showing only the customer name. + +## Features + +- Shows only the customer name on the receipt +- Hides customer VAT number +- Hides customer address + +## Installation + +1. Install the module +2. No configuration needed + +## Usage + +When printing a receipt with a selected customer, only the customer name will be displayed, without VAT or address information. diff --git a/l10n_es_pos_receipt_hide_customer_info/__init__.py b/l10n_es_pos_receipt_hide_customer_info/__init__.py new file mode 100644 index 0000000..ef5ae35 --- /dev/null +++ b/l10n_es_pos_receipt_hide_customer_info/__init__.py @@ -0,0 +1 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). diff --git a/l10n_es_pos_receipt_hide_customer_info/__manifest__.py b/l10n_es_pos_receipt_hide_customer_info/__manifest__.py new file mode 100644 index 0000000..8089b40 --- /dev/null +++ b/l10n_es_pos_receipt_hide_customer_info/__manifest__.py @@ -0,0 +1,17 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Spanish PoS - Hide Customer Info on Receipt", + "category": "Sales/Point Of Sale", + "author": "Criptomart", + "website": "", + "license": "AGPL-3", + "version": "16.0.1.0.0", + "depends": ["l10n_es_pos"], + "assets": { + "point_of_sale.assets": [ + "l10n_es_pos_receipt_hide_customer_info/static/src/xml/pos.xml", + ], + }, + "installable": True, +} diff --git a/l10n_es_pos_receipt_hide_customer_info/static/src/xml/pos.xml b/l10n_es_pos_receipt_hide_customer_info/static/src/xml/pos.xml new file mode 100644 index 0000000..f3bce4f --- /dev/null +++ b/l10n_es_pos_receipt_hide_customer_info/static/src/xml/pos.xml @@ -0,0 +1,12 @@ + + + + + + +