Romania - eFactura Account EDI UBL
l10n_ro_account_edi_ubl · OCA/l10n-romania
Health
78/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.29 MB
Module directory on disk
Code analysis
5 migration notes
11 models
7 views
0 HTTP endpoints
Migration considerations
ir_cron_res_company_einvoice_download_every_day— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · sourceproduct_template_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceres_config_settings_view_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_move_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_partner_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cius_InvoiceLineType |
cius_InvoiceLineType | ir.ui.view | qweb | Inherits account_edi_ubl_cii.ubl_20_InvoiceLineType |
cius_InvoiceType |
cius_InvoiceType | ir.ui.view | qweb | Inherits account_edi_ubl_cii.ubl_20_InvoiceType |
product_template_form_view |
product.normal.form.inherit.stock | product.template | form | Inherits product.product_template_form_view |
res_config_settings_view_form |
res.config.settings.view.form.inherit | res.config.settings | form | Inherits l10n_ro_config.res_config_settings_view_form |
ubl_20_TaxTotalType |
ubl_20_TaxTotalType | ir.ui.view | qweb | Inherits account_edi_ubl_cii.ubl_20_TaxTotalType |
view_move_form |
account.move.form | account.move | form | Inherits account.view_move_form |
view_partner_form |
res.partner.form | res.partner | form | Inherits l10n_ro_config.view_partner_create_by_vat |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 11
New fields (0)
No new fields.
Public methods (1)-
l10n_ro_edi_post_message(self, invoice, message, res)@api.model
New fields (0)
No new fields.
Public methods (3)-
l10n_ro_addPDF_from_att(self, invoice, pdf) -
l10n_ro_renderAnafPdf(self, invoice) -
split_string(self, string)
New fields (6)
-
l10n_ro_edi_downloadCharcopy=Falsehelp='ID used to download the ZIP file from ANAF.' args: 'ID Download ANAF (RO)' -
l10n_ro_edi_fields_readonlyBooleancompute='_compute_l10n_ro_show_edi_fields'string='Make ANAF EDI Fields readonly' -
l10n_ro_edi_previous_transactionCharcopy=Falsehelp="Technical field used to track previous transactions or download ID's received from ANAF. Useful in case the invoice was sent and had errors, we could find the invoice based on old data, since on reset to draft they are removed." args: 'Previous Transactions or Download (RO)' -
l10n_ro_edi_transactionCharcopy=Falsehelp='Technical field used to track the status of a submission.' args: 'Transaction ID (RO)' -
l10n_ro_show_anaf_download_edi_butonBooleancompute='_compute_l10n_ro_show_anaf_download_edi_buton'string='Show ANAF Download EDI Button' -
l10n_ro_show_edi_fieldsBooleancompute='_compute_l10n_ro_show_edi_fields'string='Show ANAF EDI Fields'
-
action_post(self) -
attach_ubl_xml_file_button(self) -
button_cancel_posted_moves(self) -
button_draft(self) -
button_process_edi_web_services(self) -
get_l10n_ro_edi_invoice_needed(self) -
get_l10n_ro_high_risk_nc_codes(self) -
l10n_ro_check_anaf_error_xml(self, zip_content) -
l10n_ro_complete_old_transaction(self, old_transaction) -
l10n_ro_download_zip_anaf(self, anaf_config=False, return_error=False) -
l10n_ro_get_xml_file(self, zip_ref) -
l10n_ro_process_anaf_xml_file(self, attachment=None) -
l10n_ro_process_anaf_zip_file(self, zip_content) -
l10n_ro_save_anaf_xml_file(self, zip_content)Process a ZIP containing the sending and official XML signed document. This will only be available for invoices that have been successfully validated by ANAF and the government. -
l10n_ro_save_file(self, file_name, file_content, mimetype='application/xml') -
write(self, vals)
New fields (1)
-
l10n_ro_vendor_codeCharcopy=Falsestring='Vendor Code'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
l10n_ro_add_pdf_to_xml(self, invoice, stream_data, tree, anchor_elements, edi_attachment)@api.model
New fields (1)
-
scopeSelectionselection_add=[('e-factura', 'E-factura')]
No public methods.
New fields (1)
-
l10n_ro_nc_codeCharcompute='_compute_l10n_ro_nc_code'index=Truereadonly=Falsestore=True args: 'Romania - NC Code'
No public methods.
New fields (1)
-
l10n_ro_nc_codeCharcompute='_compute_l10n_ro_nc_code'inverse='_inverse_l10n_ro_nc_code'store=True args: 'Romania - NC Code'
No public methods.
New fields (9)
-
l10n_ro_default_cius_pdf_reportMany2one → ir.actions.reporthelp='Default PDF report to be attached to xml e-invoice.'string='Default PDF Report' args: 'ir.actions.report' -
l10n_ro_download_einvoicesBooleandefault=Falsestring='Download e-invoices from ANAF' -
l10n_ro_download_einvoices_daysIntegerdefault=10string='Maximum number of days to download e-invoices.' -
l10n_ro_download_einvoices_start_dateDatestring='Start date to download e-invoices' -
l10n_ro_edi_cius_embed_pdfBooleandefault=Falsestring='Embed PDF in CIUS' -
l10n_ro_edi_error_notify_usersMany2many → res.usershelp='Add users to receive EDI Error messages'relation='res_company_res_users_edi_notify_rel'string='EDI Error Notify Users' args: 'res.users' -
l10n_ro_edi_residenceIntegerdefault=5string='Period of Residence' -
l10n_ro_render_anaf_pdfBooleandefault=Falsestring='Render Anaf PDF' -
l10n_ro_store_einvoicesBooleandefault=Falsestring='Store E-Invoice signed by Anaf.'
No public methods.
New fields (9)
-
l10n_ro_default_cius_pdf_reportMany2onehelp='Default PDF report to be attached to xml e-invoice.'readonly=Falserelated='company_id.l10n_ro_default_cius_pdf_report'string='Default PDF Report' -
l10n_ro_download_einvoicesBooleanreadonly=Falserelated='company_id.l10n_ro_download_einvoices'string='Download e-invoices from ANAF' -
l10n_ro_download_einvoices_daysIntegerreadonly=Falserelated='company_id.l10n_ro_download_einvoices_days'string='Maximum number of days to download e-invoices.' -
l10n_ro_download_einvoices_start_dateDatereadonly=Falserelated='company_id.l10n_ro_download_einvoices_start_date'string='Start date to download e-invoices' -
l10n_ro_edi_cius_embed_pdfBooleanreadonly=Falserelated='company_id.l10n_ro_edi_cius_embed_pdf'string='Embed PDF in CIUS' -
l10n_ro_edi_error_notify_usersMany2manyreadonly=Falserelated='company_id.l10n_ro_edi_error_notify_users'string='EDI Error Notify Users' -
l10n_ro_edi_residenceIntegerreadonly=Falserelated='company_id.l10n_ro_edi_residence'string='Residence' -
l10n_ro_render_anaf_pdfBooleanreadonly=Falserelated='company_id.l10n_ro_render_anaf_pdf'string='Render Anaf PDF' -
l10n_ro_store_einvoicesBooleanreadonly=Falserelated='company_id.l10n_ro_store_einvoices'string='Store E-Invoice signed by Anaf.'
No public methods.
New fields (3)
-
l10n_ro_edi_ubl_no_sendBooleanhelp='Check this if the partner should not receive UBL invoices.' args: 'Romania - No send UBL' -
l10n_ro_edi_ubl_no_send_cnpBooleanhelp='Check this if the partner should not receive UBL invoices on their CNP.' args: 'Romania - No send CNP UBL' -
l10n_ro_is_government_institutionBooleanhelp='Check this if the partner is a government institution.Will be used to calculate the sending of the invoice to the e-invoice system.' args: 'Romania - Is government institution'
-
create(self, vals_list)@api.model_create_multi
Loading…
Loading…