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

Commits on Sep 17, 2024

  1. ADD fiscal_epos_print

    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    6be6057 View commit details
    Browse the repository at this point in the history
  2. [fiscal_epos_print] Add refund support to ePOS fiscal printer

    [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
    robyf70 authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    3e33000 View commit details
    Browse the repository at this point in the history
  3. Move Refund Info to a tab

    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
    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    27e5b03 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f3ab0b View commit details
    Browse the repository at this point in the history
  5. IMP fiscal_epos_print: avoid to print again an order with a fiscal re…

    …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
    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    d1864cb View commit details
    Browse the repository at this point in the history
  6. [10.0][fiscal_epos_print] Fix escaping characters in the generated xml

    [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
    robyf70 authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    49b4fb1 View commit details
    Browse the repository at this point in the history
  7. epos config widget restyle

    sherpya authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    be437f6 View commit details
    Browse the repository at this point in the history
  8. Translations

    Fix fiscal_receipt_date format before to sent to backend
    To avoid risk to write date in wrong format before 'update_fiscal_receipt_values'
    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    4397be9 View commit details
    Browse the repository at this point in the history
  9. [FIX] fiscal_epos_print: error when header/footer are printed in receipt

    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)
    SimoRubi authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    e6645da View commit details
    Browse the repository at this point in the history
  10. Remove parsing date field

    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.
    SimoRubi authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    499f638 View commit details
    Browse the repository at this point in the history
  11. [12.0][fiscal_epos_print] Fix error when scanning barcode after gener…

    …ating the invoice
    robyf70 authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    740878a View commit details
    Browse the repository at this point in the history
  12. IMP fiscal_epos_print removing lines with quantity = 0, as not allowe…

    …d by fiscal printer
    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    9f8bd82 View commit details
    Browse the repository at this point in the history
  13. IMP fiscal_epos_print POS config view

    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    758c3c6 View commit details
    Browse the repository at this point in the history
  14. merge PR 1264 1717 1728 1737 1739

    Lara Baggio authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    e39c6a4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    dbee591 View commit details
    Browse the repository at this point in the history
  16. Translated using Weblate (Italian)

    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/
    primes2h authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    9f6ac2d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    709adeb View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e0bbf39 View commit details
    Browse the repository at this point in the history
  19. FIX fiscal_epos_print receipt date placeholder, otherwise user could …

    …insert date in wrong format and get "psycopg2.DataError: date/time field value out of range"
    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    bd9c42e View commit details
    Browse the repository at this point in the history
  20. IMP fiscal_epos_print allowing to save in pos order debug info return…

    …ed by fiscal printer
    
    Also delete not used fpresponse
    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    8c4671f View commit details
    Browse the repository at this point in the history
  21. fixed fpdeptax field in fiscal_epos_print module to accept 2 digits

    fixed travis requirements
    fredzamoabg authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    1edc592 View commit details
    Browse the repository at this point in the history
  22. FIX license LGPL-3 conflicts

    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    38f887e View commit details
    Browse the repository at this point in the history
  23. FIX fiscal_epos_print when setting debug info when order is not set

    E.g. when getting error after sending commands like "aprire cassetto"
    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    85c3f58 View commit details
    Browse the repository at this point in the history
  24. [FIX] fiscal_epos_print wrong computation of manual discount

    [12.0][FIX] avoid recompute discount, use price_display to guess the total amount of discount.
    gigidn authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    03414eb View commit details
    Browse the repository at this point in the history
  25. ADD Lottery code handling

    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    8e3a272 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    549fc51 View commit details
    Browse the repository at this point in the history
  27. New payment types

    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    919f6d7 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    a6aca61 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    806fd17 View commit details
    Browse the repository at this point in the history
  30. FIX fiscal_epos_print: fiscalprinter_payment_index must be set also f…

    …or Discount on payment
    eLBati authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    5f76c5e View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    d96b4c4 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    0793cd2 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    7da72e9 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    fc51d7d View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    24dc74f View commit details
    Browse the repository at this point in the history
  36. [FIX] eslint errors

    fredzamoabg authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    7c6e059 View commit details
    Browse the repository at this point in the history
  37. Update fiscal_epos_print/readme/CONFIGURE.rst

    Co-authored-by: francesco-ooops <[email protected]>
    2 people authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    0708759 View commit details
    Browse the repository at this point in the history
  38. [IMP] fiscal_epos_print: pre-commit stuff

    Borruso authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    85dd819 View commit details
    Browse the repository at this point in the history
  39. [MIG] fiscal_epos_print: Migration to 16.0

    Borruso authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    5ecdeb1 View commit details
    Browse the repository at this point in the history
  40. Fixed "order is unavailable" error after print. Added Fiscal Operator…

    … defaulting to "1"! Tested - is working great on FP82III RT
    martin authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    d2e2125 View commit details
    Browse the repository at this point in the history
  41. Fixed full refund (VOID, ex annullamento) and partially refund (ex. R…

    …eso Merce).
    
    Added Fiscal Operator to User and Employee
    martin authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    6bee47c View commit details
    Browse the repository at this point in the history
  42. Fixed Bug: Using split function on payment re-creats the old order, b…

    …illing the splitted lines twice in the end.
    martin authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    453e4b6 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    ab31e17 View commit details
    Browse the repository at this point in the history
  44. [FIX][fiscal_epos_print] resolve round of line of price when the full…

    …_price is send to epson ref OCA#3721
    matteoopenf authored and Wvven committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    4671170 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Migration to 17.0

    Wvven committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    4e25f94 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. WIP total porting to owl

    eLBati committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    c5c0461 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Added settings to point of sale

    add import to models js
    
    added getStatusField
    Wvven authored and eLBati committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    7ee90be View commit details
    Browse the repository at this point in the history
  2. Fixed readonly on model

    LorenzoC0 authored and eLBati committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    dfb4b6b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1fe7d90 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. [FIX] fiscal_epos_print: Fixes for rounding errors, fixes for adjustm…

    …entType tag generation (#1)
    
    Co-authored-by: VPA <[email protected]>
    LorenzoC0 and Wvven authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    50a3c99 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    5627d88 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    8a6d478 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5aa2beb View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    2db3452 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. FIX EPSON sync calls

    eLBati committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    50ec815 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. set refund data

    + pos_full_refund
    eLBati committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    6bb09b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d058dc9 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    8edc53d View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. FIX finalizeValidation - when the ip of the printer is not set, the v…

    …alidation is block (#11)
    Wvven committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    daf65de View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Configuration menu
    Copy the full SHA
    0076bb0 View commit details
    Browse the repository at this point in the history
  2. Added new info on errorpopup

    Wvven authored and eLBati committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    68411b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

  1. Configuration menu
    Copy the full SHA
    4babdc0 View commit details
    Browse the repository at this point in the history