Skip to content

Conversation

eLBati
Copy link
Member

@eLBati eLBati commented Sep 8, 2025

based on #4394

depends on OCA/pos#1407

eLBati and others added 30 commits July 7, 2025 16:06
[10.0][fiscal_epos_print] Renamed Cassa to RT in the refund dialog

[10.0][fiscal_epos_print] Check if the update_refund_info_button property has been passed before to call it

[10.0][fiscal_epos_print] Add support of pos.config header and footer when set

[fiscal_epos_print] Export refund_info_button widget for inheritance purposes

Add support for payment type index

Allow to configure whether to Show receipt preview or not
trans

FIX journal form showing fiscalprinter data for bank journals

Allow to use tax exclude prices in products and force to set "Tax-Included Price" in pos config

REF file structure splitting fp90iii.js

Move "Wrong tax configuration" check before creating receipt

Update library ePOS-Print and Fiscal Print API

IMP fiscal_epos_print writing fiscal receipt data to pos.order

show_popup instead of alert
…ceipt number

Lock receipt screen until printer communication ends.
Prevent user to go to next order if receipt not correctly printed.
Allow user to retry printing in case of errors

ADD print fiscal closure widget (Z report)
and X report

ADD refund management from OrderListScreenWidget
FIX Restaurant compatibility
[10.0][fiscal_epos_print] Add reprint last receipt

[10.0][fiscal_epos_print] Show subtotal in the printer display when showing the payment screen

[10.0][fiscal_epos_print] Reorganize the onreceive() to simplify it

[10.0][fiscal_epos_print] Add cashdrawer automatic opening from pos config and from widget

[10.0][fiscal_epos_print] Rework ePOS widgets into a more versatile floating window
Fix fiscal_receipt_date format before to sent to backend
To avoid risk to write date in wrong format before 'update_fiscal_receipt_values'
VM17068 epson_epos_print.js:307 Uncaught TypeError: Cannot read property 'encodeXml' of undefined
    at VM17068 epson_epos_print.js:307
    at Function._.each._.forEach (VM16660 underscore.js:145)
    at Class.printFiscalReceiptHeader [as _super] (VM17068 epson_epos_print.js:306)
    at Class.printFiscalReceiptHeader (VM17074 fiscal_epos_print_fiscalcode.js:24)
    at Class.printFiscalReceiptHeader (VM16699 class.js:123)
    at Class.printFiscalReceipt (VM17068 epson_epos_print.js:348)
    at Class.sendToFP90Printer (VM17070 screens.js:62)
    at Class.finalize_validation (VM17070 screens.js:76)
    at Class.finalize_validation (VM16699 class.js:123)
    at Class.validate_order (VM17052 screens.js:2181)
Prevent errors like:
File "../odoo/sql_db.py", line 225, in execute res = self._obj.execute(query, params) psycopg2.DataError: date/time field value out of range: "02112020" LINE 1: ...0, NULL, 'Reso 00399-006-0005', 1, '99MEX006658', '02112020'... ^
HINT: Perhaps you need a different "datestyle" setting.
Currently translated at 100.0% (109 of 109 strings)

Translation: l10n-italy-12.0/l10n-italy-12.0-fiscal_epos_print
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-fiscal_epos_print/it/
…insert date in wrong format and get "psycopg2.DataError: date/time field value out of range"
…ed by fiscal printer

Also delete not used fpresponse
E.g. when getting error after sending commands like "aprire cassetto"
[12.0][FIX] avoid recompute discount, use price_display to guess the total amount of discount.
@eLBati eLBati force-pushed the 18.0-mig-fiscal_epos_print branch 6 times, most recently from d52f3c2 to e587318 Compare September 19, 2025 12:44
@eLBati eLBati marked this pull request as ready for review September 19, 2025 12:44
@eLBati eLBati force-pushed the 18.0-mig-fiscal_epos_print branch 2 times, most recently from e7751c8 to 6663a19 Compare September 19, 2025 13:29
REF printFiscalReceipt using order object instead of rececipt, which is an object of strings essentially
FIX refund XML and checks
Remove unused code
Restore Z and X report
Restore lottery management
Rename to l10n_it_fiscal_epos_print
@eLBati eLBati force-pushed the 18.0-mig-fiscal_epos_print branch from 6663a19 to cc9c29b Compare September 19, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.