Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP [17.0] porting fiscal_epos_print #4394

Open
wants to merge 58 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
6be6057
ADD fiscal_epos_print
eLBati Dec 10, 2019
3e33000
[fiscal_epos_print] Add refund support to ePOS fiscal printer
robyf70 Dec 2, 2019
27e5b03
Move Refund Info to a tab
eLBati Dec 3, 2019
3f3ab0b
FIX [fiscal_epos_print] Move refund details as first line in the receipt
robyf70 Dec 17, 2019
d1864cb
IMP fiscal_epos_print: avoid to print again an order with a fiscal re…
eLBati Dec 18, 2019
49b4fb1
[10.0][fiscal_epos_print] Fix escaping characters in the generated xml
robyf70 Jan 8, 2020
be437f6
epos config widget restyle
sherpya Jan 12, 2020
4397be9
Translations
eLBati Jan 14, 2020
e6645da
[FIX] fiscal_epos_print: error when header/footer are printed in receipt
SimoRubi Feb 7, 2020
499f638
Remove parsing date field
SimoRubi Feb 11, 2020
740878a
[12.0][fiscal_epos_print] Fix error when scanning barcode after gener…
robyf70 Feb 18, 2020
9f8bd82
IMP fiscal_epos_print removing lines with quantity = 0, as not allowe…
eLBati Feb 25, 2020
758c3c6
IMP fiscal_epos_print POS config view
eLBati May 13, 2020
e39c6a4
merge PR 1264 1717 1728 1737 1739
May 13, 2020
dbee591
[FIX] fiscal_epos_print: Correct footer position for credit note
SimoRubi May 20, 2020
9f6ac2d
Translated using Weblate (Italian)
primes2h May 28, 2020
709adeb
FIX fiscal_epos_print when printing receipts with 1 digit day
eLBati Jun 4, 2020
e0bbf39
FIX fiscal_epos_print when adding a line with 100% discount
eLBati Jun 12, 2020
bd9c42e
FIX fiscal_epos_print receipt date placeholder, otherwise user could …
eLBati Jul 31, 2020
8c4671f
IMP fiscal_epos_print allowing to save in pos order debug info return…
eLBati Jun 30, 2020
1edc592
fixed fpdeptax field in fiscal_epos_print module to accept 2 digits
fredzamoabg Sep 23, 2020
38f887e
FIX license LGPL-3 conflicts
eLBati Sep 24, 2020
85c3f58
FIX fiscal_epos_print when setting debug info when order is not set
eLBati Oct 8, 2020
03414eb
[FIX] fiscal_epos_print wrong computation of manual discount
gigidn Nov 24, 2020
8e3a272
ADD Lottery code handling
eLBati Dec 3, 2020
549fc51
Update ePOS-Print and Fiscal Print API Version 1.1.2
eLBati Dec 12, 2020
919f6d7
New payment types
eLBati Dec 22, 2020
a6aca61
FIX fiscal_epos_print: lottery code input focus
eLBati Feb 9, 2021
806fd17
FIX fiscal_epos_print lottery_code could also be false
eLBati Feb 16, 2021
5f76c5e
FIX fiscal_epos_print: fiscalprinter_payment_index must be set also f…
eLBati Sep 14, 2021
d96b4c4
[12.0][fix] fiscal_epos_print: null order in lottery_get_button_color…
fredzamoabg Nov 5, 2021
0793cd2
[FIX] fiscal_epos_print: Validate tax in batch
monen17 Jan 6, 2022
7da72e9
[12.0][FIX] fiscal_epos_print, missing translation
GSLabIt Jan 24, 2022
fc51d7d
[IMP] fiscal_epos_print: black, isort, prettier
fredzamoabg Apr 14, 2022
24dc74f
[MIG] fiscal_epos_print: Migration to 14.0
fredzamoabg Apr 14, 2022
7c6e059
[FIX] eslint errors
fredzamoabg May 6, 2022
0708759
Update fiscal_epos_print/readme/CONFIGURE.rst
tafaRU Feb 17, 2023
85dd819
[IMP] fiscal_epos_print: pre-commit stuff
Borruso Feb 17, 2023
5ecdeb1
[MIG] fiscal_epos_print: Migration to 16.0
Borruso Feb 22, 2023
d2e2125
Fixed "order is unavailable" error after print. Added Fiscal Operator…
Nov 6, 2023
6bee47c
Fixed full refund (VOID, ex annullamento) and partially refund (ex. R…
Nov 18, 2023
453e4b6
Fixed Bug: Using split function on payment re-creats the old order, b…
Nov 18, 2023
ab31e17
[FIX] fiscal_epos_print: fix duplicazione ordine pos
Borruso Jan 26, 2024
4671170
[FIX][fiscal_epos_print] resolve round of line of price when the full…
matteoopenf May 23, 2024
4e25f94
Migration to 17.0
Wvven Sep 25, 2024
c5c0461
WIP total porting to owl
eLBati Sep 25, 2024
7ee90be
Added settings to point of sale
Wvven Sep 26, 2024
dfb4b6b
Fixed readonly on model
LorenzoC0 Sep 30, 2024
1fe7d90
[FIX] fiscal_epos_print: Fixed euro symbol in Epson printer screen (#2)
LorenzoC0 Oct 1, 2024
50a3c99
[FIX] fiscal_epos_print: Fixes for rounding errors, fixes for adjustm…
LorenzoC0 Oct 2, 2024
5627d88
[IMP] fiscal_epos_print: Adapted closing methods and ePOS widget for …
LorenzoC0 Oct 7, 2024
8a6d478
[IMP] fiscal_epos_print: Ported refund methods and components to OWL …
LorenzoC0 Oct 9, 2024
5aa2beb
Added order id and description on receipt (#7)
Wvven Oct 9, 2024
2db3452
FIX fp90.printDisplayText using 2 decimals
eLBati Oct 10, 2024
50ec815
FIX EPSON sync calls
eLBati Oct 10, 2024
6bb09b3
set refund data
eLBati Oct 10, 2024
d058dc9
IMP fiscal_epos_print: in caso di errori, non procedere alla convalid…
eLBati Oct 14, 2024
8edc53d
FIX fiscal_receipt_date on pos.order, otherwise yesterday date is use…
eLBati Oct 17, 2024
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
150 changes: 150 additions & 0 deletions fiscal_epos_print/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
=============================================================
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/16.0/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-16-0/l10n-italy-16-0-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=16.0
:alt: Try me on Runboat

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

**Italiano**

Questo modulo permette di stampare gli scontrini del punto vendita, su
stampanti fiscali Epson, tramite protocollo EPos

Stampanti supportate:

- FP81II
- FP90III

**English**

This module allows to print receipt of point of sale, on fiscal printers
Epson, via EPos protocol.

Supported printers:

- FP81II
- FP90III

**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:%20fiscal_epos_print%0Aversion:%2016.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/16.0/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 fiscal_epos_print/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
64 changes: 64 additions & 0 deletions fiscal_epos_print/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# 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": "17.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",
# TODO is this necessary?
# 'pos_order_mgmt'
],
"data": [
"views/account.xml",
"views/point_of_sale.xml",
"views/employee_view.xml",
],
"assets": {
"point_of_sale._assets_pos": [
"fiscal_epos_print/static/src/css/pos.css",
"fiscal_epos_print/static/lib/fiscalprint/fiscalprint.js",
"fiscal_epos_print/static/src/js/epson_epos_print.js",
"fiscal_epos_print/static/src/js/models.js",
# # ChromeWidgets
"fiscal_epos_print/static/src/js/ChromeWidgets/EpsonEPOSButton.js",
"fiscal_epos_print/static/src/js/ChromeWidgets/EpsonFP81IIComponent.js",
# "fiscal_epos_print/static/src/js/ChromeWidgets/SetLotteryCodeButton.js",
"fiscal_epos_print/static/src/js/ChromeWidgets/SetRefundInfoButton.js",
# # Popups
# "fiscal_epos_print/static/src/js/Popups/LotteryCodePopup.js",
"fiscal_epos_print/static/src/js/Popups/RefundInfoPopup.js",
# # Screens
"fiscal_epos_print/static/src/js/Screens/PaymentScreen/PaymentScreen.js",
#"fiscal_epos_print/static/src/js/Screens/ReceiptScreen/ReceiptScreen.js",
# # Popups
# "fiscal_epos_print/static/src/xml/Popups/LotteryCodePopup.xml",
"fiscal_epos_print/static/src/xml/Popups/RefundInfoPopup.xml",
# # Others
"fiscal_epos_print/static/src/xml/Chrome.xml",
"fiscal_epos_print/static/src/xml/ChromeWidgets/EpsonEPOSButton.xml",
"fiscal_epos_print/static/src/xml/ChromeWidgets/EpsonFP81IIComponent.xml",
# "fiscal_epos_print/static/src/xml/ChromeWidgets/SetLotteryCodeButton.xml",
"fiscal_epos_print/static/src/xml/ChromeWidgets/SetRefundInfoButton.xml",
"fiscal_epos_print/static/src/js/Screens/TicketScreen/TicketScreen.js",
],
},
"installable": True,
"auto_install": False,
}
Loading
Loading