Repository
odoo/odoo · module folder
Module version
1.0
Category
Accounting/Localizations/EDI
Folder size
0.16 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-07 06:47:04
Authors
Odoo S.A., Smart Way Business Solutions
Maintainers
Odoo S.A., Smart Way Business Solutions
Committers
Odoo Translation Bot, Moens Alexandre, Andrea Grazioso (agr-odoo), Florian(flg), jbw-odoo, Gaetan Vanden Bergh (gavb), Maximilien (malb), Ali Alfie (alal), Dylan Kiss (dyki), khfa, Nicolas Viseur (vin), SaddemAmine, Louis Gobert, Khumam Alzagim, Claire (clbr), Antoine Dupuis, Hesham Saleh, elhayyany, Michaël Mattiello, Krzysztof Magusiak (krma), Laurent Smet (LAS)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_jo_edi_pos
Description
       Allows the users to integrate with JoFotara.
    

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
report_invoice report_invoice ir.ui.view qweb Inherits account.report_invoice
report_invoice_document report_invoice_document ir.ui.view qweb Inherits account.report_invoice_document
res_config_settings_view_form res.config.settings.view.form res.config.settings form Inherits account.res_config_settings_view_form
view_account_invoice_filter account.invoice.select account.move Inherits account.view_account_invoice_filter
view_move_form account.move.form account.move form Inherits account.view_move_form
view_out_credit_note_tree account.move.tree account.move tree Inherits account.view_out_credit_note_tree
view_out_invoice_tree account.move.tree account.move tree Inherits account.view_out_invoice_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (7)

New fields (0)

No new fields.

Public methods (1)
  • format_float(self, amount, precision_digits=3)

New fields (10)
  • l10n_jo_edi_computed_xml Binary
    compute='_compute_l10n_jo_edi_computed_xml' help='Jordan: technical field computing e-invoice XML data, useful at submission failure scenarios.' string='Jordan E-Invoice computed XML File'
  • l10n_jo_edi_error Text
    copy=False help='Jordan: Error details.' readonly=True string='JoFotara Error'
  • l10n_jo_edi_invoice_type Selection
    compute='_compute_l10n_jo_edi_invoice_type' help='Invoice Types as per the Income and Sales Tax Department for JoFotara' precompute=True readonly=False selection=[('local', 'Local'), ('export', 'Export'), ('development', 'Development Area'), ('transit', 'Transit'), ('foreign', 'Foreign Trade'), ('freezone', 'Free Zone Transfer')] store=True string='Invoice Type' tracking=True
  • l10n_jo_edi_is_needed Boolean
    compute='_compute_l10n_jo_edi_is_needed' help='Jordan: technical field to determine if this invoice is eligible to be e-invoiced.'
  • l10n_jo_edi_qr Char
    copy=False string='QR'
  • l10n_jo_edi_state Selection
    copy=False selection=[('to_send', 'To Send'), ('sent', 'Sent'), ('demo', 'Sent (Demo)')] string='JoFotara State' tracking=True
  • l10n_jo_edi_uuid Char
    compute='_compute_l10n_jo_edi_uuid' copy=False store=True string='Invoice UUID'
  • l10n_jo_edi_xml_attachment_file Binary
    attachment=True copy=False help='Jordan: technical field holding the e-invoice XML data.' string='Jordan E-Invoice XML File'
  • l10n_jo_edi_xml_attachment_id Many2one → ir.attachment
    comodel_name='ir.attachment' compute=<expr> depends=['l10n_jo_edi_xml_attachment_file'] help='Jordan: e-invoice XML.' string='Jordan E-Invoice XML'
  • reversed_entry_id Many2one
    tracking=True
Public methods (2)
  • button_draft(self)
  • download_l10n_jo_edi_computed_xml(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • l10n_jo_edi_client_identifier Char
    groups='base.group_system' string='JoFotara Client ID'
  • l10n_jo_edi_demo_mode Boolean
    string='JoFotara Demo Mode'
  • l10n_jo_edi_secret_key Char
    groups='base.group_system' string='JoFotara Secret Key'
  • l10n_jo_edi_sequence_income_source Char
    string='JoFotara Sequence of Income Source'
  • l10n_jo_edi_taxpayer_type Selection
    default='sales' selection=[('income', 'Unregistered in the sales tax'), ('sales', 'Registered in the sales tax'), ('special', 'Registered in the special sales tax')] string='JoFotara Taxpayer Type'
Public methods (0)

No public methods.

New fields (5)
  • l10n_jo_edi_client_identifier Char
    readonly=False related='company_id.l10n_jo_edi_client_identifier' string='JoFotara Client ID'
  • l10n_jo_edi_demo_mode Boolean
    readonly=False related='company_id.l10n_jo_edi_demo_mode' string='JoFotara Demo Mode'
  • l10n_jo_edi_secret_key Char
    readonly=False related='company_id.l10n_jo_edi_secret_key' string='JoFotara Secret Key'
  • l10n_jo_edi_sequence_income_source Char
    readonly=False related='company_id.l10n_jo_edi_sequence_income_source' string='JoFotara Sequence of Income Source'
  • l10n_jo_edi_taxpayer_type Selection
    readonly=False related='company_id.l10n_jo_edi_taxpayer_type' string='JoFotara Taxpayer Type'
Public methods (0)

No public methods.

Loading…

Loading…