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 59 commits into
base: 17.0
Choose a base branch
from

Conversation

eLBati
Copy link
Member

@eLBati eLBati commented Oct 8, 2024

No description provided.

eLBati and others added 30 commits September 17, 2024 12:12
[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.
fredzamoabg and others added 18 commits September 17, 2024 12:12
… defaulting to "1"! Tested - is working great on FP82III RT
…eso Merce).

Added Fiscal Operator to User and Employee
add import to models js

added getStatusField
+ pos_full_refund
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.