Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 20.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis 0 migration notes 5 models 7 views 0 HTTP endpoints

Description

Egypt E-Receipts (POS)

Submits POS sales receipts to the Egyptian Tax Authority (ETA) eReceipt API after order payment. Prints a compliant QR on the receipt when accepted, prints RECEIPT WITHOUT FISCAL VALUE when not, and tracks ETA state per-order.

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 7

XML IDNameModelTypeStatus
l10n_eg_edi_pos.pos_order_receipt_footer l10n_eg_edi_pos.pos_order_receipt_footer ir.ui.view qweb Inherits point_of_sale.pos_order_receipt_footer
l10n_eg_edi_pos.pos_order_receipt_header l10n_eg_edi_pos.pos_order_receipt_header ir.ui.view qweb Inherits point_of_sale.pos_order_receipt_header
pos_payment_method_view_form pos.payment.method.form.inherit.l10n_eg_edi_pos pos.payment.method form Inherits point_of_sale.pos_payment_method_view_form
res_config_settings_view_form res.config.settings.view.form.inherit.l10n_eg_edi_pos res.config.settings form Inherits point_of_sale.res_config_settings_view_form
view_pos_order_filter pos.order.search.inherit.l10n_eg_edi_pos pos.order search Inherits point_of_sale.view_pos_order_filter
view_pos_order_tree pos.order.list.inherit.l10n_eg_edi_pos pos.order list Inherits point_of_sale.view_pos_order_tree
view_pos_pos_form pos.order.form.inherit.l10n_eg_edi_pos pos.order form Inherits point_of_sale.view_pos_pos_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (8)
  • l10n_eg_edi_pos_access_token Char
    groups='base.group_system' readonly=True
  • l10n_eg_edi_pos_client_id Char
    groups='base.group_system' string='POS ETA Client ID'
  • l10n_eg_edi_pos_client_secret Char
    groups='base.group_system' string='POS ETA Client Secret'
  • l10n_eg_edi_pos_enable Boolean
    string='Submit POS receipts to ETA'
  • l10n_eg_edi_pos_last_uuid Char
    groups='base.group_system' readonly=True
  • l10n_eg_edi_pos_preprod Boolean
    string='Use Pre-production Environment'
  • l10n_eg_edi_pos_serial_number Char
    groups='base.group_system' string='POS ETA Serial Number'
  • l10n_eg_edi_pos_token_expiry Datetime
    groups='base.group_system' readonly=True
Public methods (0)

No public methods.

New fields (7)
  • l10n_eg_edi_pos_enable Boolean
    related='config_id.l10n_eg_edi_pos_enable'
  • l10n_eg_edi_pos_error Text
    copy=False readonly=True string='ETA Error'
  • l10n_eg_edi_pos_json_doc_file Binary
    attachment=True copy=False string='ETA JSON Document'
  • l10n_eg_edi_pos_qr Char
    copy=False readonly=True string='ETA QR'
  • l10n_eg_edi_pos_state Selection
    copy=False selection=[('to_send', 'To Send'), ('sent', 'Sent'), ('sent_test', 'Sent (Test)'), ('error', 'Error'), ('error_test', 'Error (Test)'), ('rejected', 'Rejected'), ('rejected_test', 'Rejected (Test)')] string='ETA State' tracking=True
  • l10n_eg_edi_pos_submission_uuid Char
    copy=False readonly=True string='ETA Submission UUID'
  • l10n_eg_edi_pos_uuid Char
    copy=False readonly=True string='ETA UUID'
Public methods (3)
  • action_l10n_eg_edi_pos_resend(self)
  • action_pos_order_paid(self)
  • download_l10n_eg_edi_pos_json_doc_file(self)

New fields (0)

No new fields.

Public methods (1)
  • order_receipt_generate_data(self, basic_receipt=False)

New fields (2)
  • country_code Char
    related='company_id.account_fiscal_country_id.code'
  • l10n_eg_edi_pos_payment_code Selection
    default='C' selection=[('C', 'Cash'), ('V', 'Visa'), ('P', 'Points'), ('CC', 'Cash with contractor'), ('VC', 'Visa with contractor'), ('VO', 'Vouchers'), ('PR', 'Promotion'), ('GC', 'Gift Card'), ('O', 'Others')] string='ETA Payment Code'
Public methods (0)

No public methods.

New fields (5)
  • pos_l10n_eg_edi_pos_client_id Char
    readonly=False related='pos_config_id.l10n_eg_edi_pos_client_id'
  • pos_l10n_eg_edi_pos_client_secret Char
    readonly=False related='pos_config_id.l10n_eg_edi_pos_client_secret'
  • pos_l10n_eg_edi_pos_enable Boolean
    readonly=False related='pos_config_id.l10n_eg_edi_pos_enable'
  • pos_l10n_eg_edi_pos_preprod Boolean
    readonly=False related='pos_config_id.l10n_eg_edi_pos_preprod'
  • pos_l10n_eg_edi_pos_serial_number Char
    readonly=False related='pos_config_id.l10n_eg_edi_pos_serial_number'
Public methods (0)

No public methods.