Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
c4db591
ADD fiscal_epos_print
eLBati Dec 10, 2019
d46d909
[fiscal_epos_print] Add refund support to ePOS fiscal printer
robyf70 Dec 2, 2019
e363d83
Move Refund Info to a tab
eLBati Dec 3, 2019
b9f7cf3
FIX [fiscal_epos_print] Move refund details as first line in the receipt
robyf70 Dec 17, 2019
96bf890
IMP fiscal_epos_print: avoid to print again an order with a fiscal re…
eLBati Dec 18, 2019
17a6356
[10.0][fiscal_epos_print] Fix escaping characters in the generated xml
robyf70 Jan 8, 2020
de2e8ee
epos config widget restyle
sherpya Jan 12, 2020
63f13e7
Translations
eLBati Jan 14, 2020
a61eeb5
[FIX] fiscal_epos_print: error when header/footer are printed in receipt
SimoRubi Feb 7, 2020
447c856
Remove parsing date field
SimoRubi Feb 11, 2020
8d98f6c
[12.0][fiscal_epos_print] Fix error when scanning barcode after gener…
robyf70 Feb 18, 2020
e9b30d7
IMP fiscal_epos_print removing lines with quantity = 0, as not allowe…
eLBati Feb 25, 2020
e766502
IMP fiscal_epos_print POS config view
eLBati May 13, 2020
810a2d6
merge PR 1264 1717 1728 1737 1739
May 13, 2020
b4d5065
[FIX] fiscal_epos_print: Correct footer position for credit note
SimoRubi May 20, 2020
cdbf748
Translated using Weblate (Italian)
primes2h May 28, 2020
80ecadd
FIX fiscal_epos_print when printing receipts with 1 digit day
eLBati Jun 4, 2020
cd74dc4
FIX fiscal_epos_print when adding a line with 100% discount
eLBati Jun 12, 2020
8adf2d1
FIX fiscal_epos_print receipt date placeholder, otherwise user could …
eLBati Jul 31, 2020
15f5bad
IMP fiscal_epos_print allowing to save in pos order debug info return…
eLBati Jun 30, 2020
08427f5
fixed fpdeptax field in fiscal_epos_print module to accept 2 digits
fredzamoabg Sep 23, 2020
d08298e
FIX license LGPL-3 conflicts
eLBati Sep 24, 2020
e4dde05
FIX fiscal_epos_print when setting debug info when order is not set
eLBati Oct 8, 2020
fb7e8d0
[FIX] fiscal_epos_print wrong computation of manual discount
gigidn Nov 24, 2020
82f312e
ADD Lottery code handling
eLBati Dec 3, 2020
5bd765a
Update ePOS-Print and Fiscal Print API Version 1.1.2
eLBati Dec 12, 2020
ef0c754
New payment types
eLBati Dec 22, 2020
cce46e4
FIX fiscal_epos_print: lottery code input focus
eLBati Feb 9, 2021
7585376
FIX fiscal_epos_print lottery_code could also be false
eLBati Feb 16, 2021
0e17a77
FIX fiscal_epos_print: fiscalprinter_payment_index must be set also f…
eLBati Sep 14, 2021
2435574
[12.0][fix] fiscal_epos_print: null order in lottery_get_button_color…
fredzamoabg Nov 5, 2021
8baa9b0
[FIX] fiscal_epos_print: Validate tax in batch
monen17 Jan 6, 2022
cd5ad5f
[12.0][FIX] fiscal_epos_print, missing translation
GSLabIt Jan 24, 2022
a3d0686
[IMP] fiscal_epos_print: black, isort, prettier
fredzamoabg Apr 14, 2022
c507c6f
[MIG] fiscal_epos_print: Migration to 14.0
fredzamoabg Apr 14, 2022
c29afbb
[FIX] eslint errors
fredzamoabg May 6, 2022
735f681
Update fiscal_epos_print/readme/CONFIGURE.rst
tafaRU Feb 17, 2023
627318a
[IMP] fiscal_epos_print: pre-commit stuff
Borruso Feb 17, 2023
1c572e8
[MIG] fiscal_epos_print: Migration to 16.0
Borruso Feb 22, 2023
dbedc2c
Fixed "order is unavailable" error after print. Added Fiscal Operator…
Nov 6, 2023
a4348f2
Fixed full refund (VOID, ex annullamento) and partially refund (ex. R…
Nov 18, 2023
0ff7c90
Fixed Bug: Using split function on payment re-creats the old order, b…
Nov 18, 2023
8dd66b2
[FIX] fiscal_epos_print: fix duplicazione ordine pos
Borruso Jan 26, 2024
da4e398
[FIX][fiscal_epos_print] resolve round of line of price when the full…
matteoopenf May 23, 2024
effef5b
Migration to 17.0
Sep 25, 2024
299676b
WIP total porting to owl
eLBati Sep 25, 2024
0fe2fb4
Added settings to point of sale
Sep 26, 2024
8a6d5aa
Fixed readonly on model
LorenzoC0 Sep 30, 2024
f5b9d48
[FIX] fiscal_epos_print: Fixed euro symbol in Epson printer screen (#2)
LorenzoC0 Oct 1, 2024
3c35f47
[FIX] fiscal_epos_print: Fixes for rounding errors, fixes for adjustm…
LorenzoC0 Oct 2, 2024
4a5b922
[IMP] fiscal_epos_print: Adapted closing methods and ePOS widget for …
LorenzoC0 Oct 7, 2024
c3e4b80
[IMP] fiscal_epos_print: Ported refund methods and components to OWL …
LorenzoC0 Oct 9, 2024
7e8627a
Added order id and description on receipt (#7)
Wvven Oct 9, 2024
3112cbd
FIX fp90.printDisplayText using 2 decimals
eLBati Oct 10, 2024
078ceeb
FIX EPSON sync calls
eLBati Oct 10, 2024
d1dee8d
set refund data
eLBati Oct 10, 2024
6d47eeb
IMP fiscal_epos_print: in caso di errori, non procedere alla convalid…
eLBati Oct 14, 2024
a530aee
FIX fiscal_receipt_date on pos.order, otherwise yesterday date is use…
eLBati Oct 17, 2024
44746a0
FIX finalizeValidation - when the ip of the printer is not set, the v…
Wvven Oct 23, 2024
168f969
IMP fiscal_epos_print showing debug info in user message
eLBati Oct 28, 2024
fc1baba
Added new info on errorpopup
Nov 6, 2024
82c2582
Added new part in the error log on the OnReceive (#13)
Wvven Nov 26, 2024
03da4de
Fixed error message (#14)
Wvven Dec 4, 2024
e84a517
added rounding feature (#15)
Wvven Dec 19, 2024
fcc969a
porting fiscal_epos_print to 18
eLBati Jul 8, 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