Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
3ea0f16
ADD fiscal_epos_print
eLBati Dec 10, 2019
b6cbf3d
[fiscal_epos_print] Add refund support to ePOS fiscal printer
robyf70 Dec 2, 2019
19a20ab
Move Refund Info to a tab
eLBati Dec 3, 2019
a45e0b8
FIX [fiscal_epos_print] Move refund details as first line in the receipt
robyf70 Dec 17, 2019
ca47aac
IMP fiscal_epos_print: avoid to print again an order with a fiscal re…
eLBati Dec 18, 2019
7917024
[10.0][fiscal_epos_print] Fix escaping characters in the generated xml
robyf70 Jan 8, 2020
264e792
epos config widget restyle
sherpya Jan 12, 2020
fc8280d
Translations
eLBati Jan 14, 2020
c764fad
[FIX] fiscal_epos_print: error when header/footer are printed in receipt
SimoRubi Feb 7, 2020
c880bc0
Remove parsing date field
SimoRubi Feb 11, 2020
0a325d6
[12.0][fiscal_epos_print] Fix error when scanning barcode after gener…
robyf70 Feb 18, 2020
6378ca2
IMP fiscal_epos_print removing lines with quantity = 0, as not allowe…
eLBati Feb 25, 2020
d38283e
IMP fiscal_epos_print POS config view
eLBati May 13, 2020
8792d94
merge PR 1264 1717 1728 1737 1739
May 13, 2020
8958829
[FIX] fiscal_epos_print: Correct footer position for credit note
SimoRubi May 20, 2020
3740c33
Translated using Weblate (Italian)
primes2h May 28, 2020
91bc1c2
FIX fiscal_epos_print when printing receipts with 1 digit day
eLBati Jun 4, 2020
335a393
FIX fiscal_epos_print when adding a line with 100% discount
eLBati Jun 12, 2020
2fdb6f3
FIX fiscal_epos_print receipt date placeholder, otherwise user could …
eLBati Jul 31, 2020
7e72809
IMP fiscal_epos_print allowing to save in pos order debug info return…
eLBati Jun 30, 2020
878a8bc
fixed fpdeptax field in fiscal_epos_print module to accept 2 digits
fredzamoabg Sep 23, 2020
a90bf4d
FIX license LGPL-3 conflicts
eLBati Sep 24, 2020
db2c362
FIX fiscal_epos_print when setting debug info when order is not set
eLBati Oct 8, 2020
61b5c04
[FIX] fiscal_epos_print wrong computation of manual discount
gigidn Nov 24, 2020
3e552b2
ADD Lottery code handling
eLBati Dec 3, 2020
68dac7d
Update ePOS-Print and Fiscal Print API Version 1.1.2
eLBati Dec 12, 2020
1bf0b2d
New payment types
eLBati Dec 22, 2020
d137268
FIX fiscal_epos_print: lottery code input focus
eLBati Feb 9, 2021
6e19551
FIX fiscal_epos_print lottery_code could also be false
eLBati Feb 16, 2021
a985521
FIX fiscal_epos_print: fiscalprinter_payment_index must be set also f…
eLBati Sep 14, 2021
c3f581e
[12.0][fix] fiscal_epos_print: null order in lottery_get_button_color…
fredzamoabg Nov 5, 2021
431318a
[FIX] fiscal_epos_print: Validate tax in batch
monen17 Jan 6, 2022
172b669
[12.0][FIX] fiscal_epos_print, missing translation
GSLabIt Jan 24, 2022
44ac685
[IMP] fiscal_epos_print: black, isort, prettier
fredzamoabg Apr 14, 2022
b465695
[MIG] fiscal_epos_print: Migration to 14.0
fredzamoabg Apr 14, 2022
f907df3
[FIX] eslint errors
fredzamoabg May 6, 2022
c6b8fba
Update fiscal_epos_print/readme/CONFIGURE.rst
tafaRU Feb 17, 2023
645ff99
[IMP] fiscal_epos_print: pre-commit stuff
Borruso Feb 17, 2023
743c752
[MIG] fiscal_epos_print: Migration to 16.0
Borruso Feb 22, 2023
d62ecda
Fixed "order is unavailable" error after print. Added Fiscal Operator…
Nov 6, 2023
e4a5edf
Fixed full refund (VOID, ex annullamento) and partially refund (ex. R…
Nov 18, 2023
ef30082
Fixed Bug: Using split function on payment re-creats the old order, b…
Nov 18, 2023
07a97aa
[FIX] fiscal_epos_print: fix duplicazione ordine pos
Borruso Jan 26, 2024
f1ff304
[FIX][fiscal_epos_print] resolve round of line of price when the full…
matteoopenf May 23, 2024
aa16abb
Migration to 17.0
Sep 25, 2024
f6a5f5e
WIP total porting to owl
eLBati Sep 25, 2024
7ccfc2e
Added settings to point of sale
Sep 26, 2024
46dd848
Fixed readonly on model
LorenzoC0 Sep 30, 2024
207a71d
[FIX] fiscal_epos_print: Fixed euro symbol in Epson printer screen (#2)
LorenzoC0 Oct 1, 2024
368cadc
[FIX] fiscal_epos_print: Fixes for rounding errors, fixes for adjustm…
LorenzoC0 Oct 2, 2024
c9984cf
[IMP] fiscal_epos_print: Adapted closing methods and ePOS widget for …
LorenzoC0 Oct 7, 2024
c6fc6f9
[IMP] fiscal_epos_print: Ported refund methods and components to OWL …
LorenzoC0 Oct 9, 2024
9cfa032
Added order id and description on receipt (#7)
Wvven Oct 9, 2024
ab50e98
FIX fp90.printDisplayText using 2 decimals
eLBati Oct 10, 2024
107da2e
FIX EPSON sync calls
eLBati Oct 10, 2024
ae3bcd0
set refund data
eLBati Oct 10, 2024
57e5e6d
IMP fiscal_epos_print: in caso di errori, non procedere alla convalid…
eLBati Oct 14, 2024
aeacc60
FIX fiscal_receipt_date on pos.order, otherwise yesterday date is use…
eLBati Oct 17, 2024
7030a71
FIX finalizeValidation - when the ip of the printer is not set, the v…
Wvven Oct 23, 2024
194710b
IMP fiscal_epos_print showing debug info in user message
eLBati Oct 28, 2024
1709aa8
Added new info on errorpopup
Nov 6, 2024
74a4158
Added new part in the error log on the OnReceive (#13)
Wvven Nov 26, 2024
7640939
Fixed error message (#14)
Wvven Dec 4, 2024
f059447
added rounding feature (#15)
Wvven Dec 19, 2024
a9b3fd8
porting fiscal_epos_print to 18
eLBati Jul 8, 2025
1f845fe
[IMP] l10n_it_fiscal_epos_print: show XML in javascript console, when…
eLBati Nov 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
215 changes: 215 additions & 0 deletions l10n_it_fiscal_epos_print/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
=============================================================
ITA - Driver per stampanti fiscali compatibili ePOS-Print XML
=============================================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ba5b8a62de8bec7b038dcedd9f21af3df1eda34c66681317bb8ecd4426015490
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_fiscal_epos_print
:alt: OCA/l10n-italy
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_fiscal_epos_print
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

**Italiano**

Questo modulo integra il Punto Vendita (POS) di Odoo con stampanti
fiscali Epson compatibili con il protocollo ePOS-Print XML, consentendo
la stampa automatica di scontrini fiscali conformi alla normativa
italiana.

Stampanti supportate:

- Epson FP81II
- Epson FP90III

Funzionalita principali:

- **Stampa scontrini fiscali**: alla validazione del pagamento nella
sessione POS, il sistema genera e invia automaticamente lo scontrino
fiscale alla stampante, con righe prodotto, sconti, arrotondamenti e
metodi di pagamento.
- **Gestione resi e annulli**: supporto per resi parziali (singoli
articoli) e annulli totali, con riferimento al documento originale
(data, numero chiusura, numero scontrino, seriale RT). I dati del
reso possono essere compilati manualmente o auto-popolati dallo
storico ordini.
- **Report fiscali (Chiusura Z e Report X)**: esecuzione di chiusure
fiscali giornaliere (Z-Report) e report finanziari non fiscali
(X-Report) direttamente dall'interfaccia POS. La chiusura Z viene
eseguita automaticamente alla chiusura della sessione POS.
- **Lotteria degli scontrini**: inserimento del codice lotteria (fino a
16 caratteri) sullo scontrino fiscale tramite apposito pulsante
nell'interfaccia POS.
- **Mappatura imposte e reparti**: associazione tra le imposte di
vendita Odoo e i reparti (dipartimenti) della stampante fiscale
(1-99).
- **Mappatura metodi di pagamento**: configurazione del tipo di
pagamento fiscale (contanti, assegno, carta di credito, ticket, non
riscosso, sconto) per ogni metodo di pagamento POS.
- **Apertura cassetto**: apertura automatica del cassetto portadenaro
dopo la stampa dello scontrino.
- **Operatore fiscale**: associazione di un numero operatore fiscale a
ciascun utente o dipendente.
- **Gestione errori e debug**: visualizzazione dettagliata degli errori
della stampante, monitoraggio dello stato (carta, giornale
elettronico, stato scontrino) e salvataggio delle informazioni di
debug nell'ordine POS.

**English**

This module integrates the Odoo Point of Sale (POS) with Epson fiscal
printers compatible with the ePOS-Print XML protocol, enabling automatic
printing of fiscal receipts compliant with Italian tax regulations.

Supported printers:

- Epson FP81II
- Epson FP90III

Main features:

- **Fiscal receipt printing**: upon payment validation in the POS
session, the system automatically generates and sends the fiscal
receipt to the printer, including product lines, discounts, rounding
adjustments, and payment methods.
- **Refund and void management**: support for partial refunds
(individual items) and full voids, with reference to the original
document (date, closure number, receipt number, RT serial). Refund
data can be entered manually or auto-populated from order history.
- **Fiscal reports (Z-Report and X-Report)**: execution of daily fiscal
closures (Z-Report) and non-fiscal financial reports (X-Report)
directly from the POS interface. The Z-Report is automatically
executed when closing the POS session.
- **Receipt lottery**: entry of the lottery code (up to 16 characters)
on the fiscal receipt via a dedicated button in the POS interface.
- **Tax and department mapping**: association between Odoo sales taxes
and fiscal printer departments (1-99).
- **Payment method mapping**: configuration of the fiscal payment type
(cash, cheque, credit card, ticket, not paid, discount) for each POS
payment method.
- **Cash drawer opening**: automatic cash drawer opening after receipt
printing.
- **Fiscal operator**: association of a fiscal operator number to each
user or employee.
- **Error handling and debugging**: detailed printer error display,
status monitoring (paper, electronic journal, receipt state), and
debug information storage in the POS order.

**Table of contents**

.. contents::
:local:

Configuration
=============

**Italiano**

- stampare la lista dei reparti della vostra stampante fiscale
- mappare le imposta di vendita di odoo con i gruppi di imposte -
dipartimenti della stampante fiscale, per ogni imposta di vendita in
odoo, usando il campo "Reparto sulla stampante fiscale 1~99"
- in odoo, utilizzare imposte incluse nel prezzo
- connettere la vostra stampante fiscale alla rete locale e recuperare
l'IP
- aprire la configurazione POS e impostare l'indirizzo IP e il seriale
della stampante nella sezione "Stampante Fiscale"
- è tutto, alla validazione del pagamento nella sessione POS, il
sistema stamperà lo scontrino fiscale.

**English**

- print list departments of your fiscal printer
- map odoo sale taxes with taxes groups - departments of fiscal
printer, for each sale tax on odoo, using field "Department on fiscal
printer 1~99"
- in odoo, use taxes included in price
- connect your fiscal printer to local network and find IP
- open POS configuration and fill Printer IP Address field
- that's all, at validation of payment on POS session, system prints
fiscal receipt.

Known issues / Roadmap
======================

- Resi:

- Aggiungere controllo "rendibilità"
- Stampare sullo scontrino un barcode identificativo, in modo da
generare il reso facendone la scansione

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_fiscal_epos_print%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Agile Business Group
* Leonardo Donelli
* TAKOBI
* Level Prime Srl

Contributors
------------

- Leonardo Donelli
- `TAKOBI <https://takobi.online>`__:

- Lorenzo Battistini

- Alessio Gerace
- Roberto Fichera
- Giuseppe Borruso <gborruso@dinamicheaziendali.it>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-eLBati| image:: https://github.com/eLBati.png?size=40px
:target: https://github.com/eLBati
:alt: eLBati

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-eLBati|

This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_fiscal_epos_print>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions l10n_it_fiscal_epos_print/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
65 changes: 65 additions & 0 deletions l10n_it_fiscal_epos_print/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Leonardo Donelli - Creativi Quadrati
# © 2016 Alessio Gerace - Agile Business Group
# © 2018-2020 Lorenzo Battistini
# © 2019-2020 Roberto Fichera - Level Prime Srl
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "ITA - Driver per stampanti fiscali compatibili ePOS-Print XML",
"version": "18.0.1.0.0",
"category": "Point Of Sale",
"summary": "ePOS-Print XML Fiscal Printer Driver - Stampanti Epson compatibili: "
"FP81II, FP90III",
"author": (
"Odoo Community Association (OCA), Agile Business Group, "
"Leonardo Donelli, TAKOBI, Level Prime Srl"
),
"license": "AGPL-3",
"website": "https://github.com/OCA/l10n-italy",
"maintainers": ["eLBati"],
"depends": [
"point_of_sale",
"hr",
"pos_hr",
"pos_full_refund",
],
"data": [
"views/account.xml",
"views/point_of_sale.xml",
"views/employee_view.xml",
],
"assets": {
"point_of_sale._assets_pos": [
"l10n_it_fiscal_epos_print/static/src/css/pos.css",
"l10n_it_fiscal_epos_print/static/lib/fiscalprint/fiscalprint.js",
"l10n_it_fiscal_epos_print/static/src/js/epson_epos_print.esm.js",
"l10n_it_fiscal_epos_print/static/src/js/models.esm.js",
"l10n_it_fiscal_epos_print/static/src/js/utils/refundUtils.esm.js",
# Navbar patches
"l10n_it_fiscal_epos_print/static/src/js/navbar/closing_popup_patch.esm.js",
# # ChromeWidgets
"l10n_it_fiscal_epos_print/static/src/js/ChromeWidgets/EpsonEPOSButton.esm.js",
"l10n_it_fiscal_epos_print/static/src/js/ChromeWidgets/EpsonFP81IIComponent.esm.js",
"l10n_it_fiscal_epos_print/static/src/js/ChromeWidgets/SetLotteryCodeButton.esm.js",
"l10n_it_fiscal_epos_print/static/src/js/ChromeWidgets/SetRefundInfoButton.esm.js",
# # Popups
"l10n_it_fiscal_epos_print/static/src/js/Popups/LotteryCodePopup.esm.js",
"l10n_it_fiscal_epos_print/static/src/js/Popups/RefundInfoPopup.esm.js",
# # Screens
"l10n_it_fiscal_epos_print/static/src/js/Screens/PaymentScreen/PaymentScreen.esm.js",
# # Popups
"l10n_it_fiscal_epos_print/static/src/xml/Popups/LotteryCodePopup.xml",
"l10n_it_fiscal_epos_print/static/src/xml/Popups/RefundInfoPopup.xml",
# # Others
"l10n_it_fiscal_epos_print/static/src/xml/ChromeWidgets/EpsonEPOSButton.xml",
"l10n_it_fiscal_epos_print/static/src/xml/ChromeWidgets/EpsonFP81IIComponent.xml",
"l10n_it_fiscal_epos_print/static/src/xml/ChromeWidgets/NavbarExtension.xml",
"l10n_it_fiscal_epos_print/static/src/xml/ChromeWidgets/SetLotteryCodeButton.xml",
"l10n_it_fiscal_epos_print/static/src/xml/ChromeWidgets/SetRefundInfoButton.xml",
"l10n_it_fiscal_epos_print/static/src/xml/ChromeWidgets/ControlButtons.xml",
"l10n_it_fiscal_epos_print/static/src/js/Screens/TicketScreen/TicketScreen.esm.js",
],
},
"installable": True,
"auto_install": False,
}
Loading
Loading