Skip to content
Health
45/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 47 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 16.0

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

Security findings
Grave / minor (static analysis)
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.03 MB
Module directory on disk
Code analysis 0 migration notes 3 models 1 view 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
odoo/odoo:
Python dependencies
tzlocal
System dependencies
None
Required by
l10n_hr_nkd

Code analysis

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

Views touched 1

XML IDNameModelTypeStatus
view_l10n_hr_base_company_data view.l10n.hr.base.company res.company form Inherits base.view_company_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (5)
  • check_valid_phone(self, phone)
    Za PDV obrazac: Broj telefona, počinje sa znakom + nakon kojeg slijedi 8-13 brojeva, npr +38514445555
  • get_company_data(self, report_type)
  • get_xml_metadata(self, xml_naslov, xml_autor, xml_conforms)
    Used n : JOPPD, ... :return: XML common metadata object for all xml-s defined by Institutions
  • get_xml_string(self, xml_object, deannotate=False, pretty=False, encoding='unicode', replace=False)
    :param xml_object: etree xml object :param deannotate: True to remove annotations :param pretty: pretty_print :param encoding: :param replace: list of tuples to replace in xlm string :return: xml string
  • validate_xml(self, xml_string, xsd_path, xsd_file)
    :param xml_string: :param xsd_path: absolute path to schema folder (put schema folders in module) :param xsd_file: xsd file name for vaidating :return: False , or Error description if error occurs

New fields (4)
  • l10n_hr_maticni_broj Char
    string='Registration number'
  • l10n_hr_mirovinsko Char
    help='Regstration Number for payments in pension fund' string='Pension fund'
  • l10n_hr_nkd Char
    help='Main company activity classified by NKD-2007' string='NKD'
  • l10n_hr_zdravstveno Char
    help='Registration number for payments to health insurance' string='Health insurance'
Public methods (1)
  • get_l10n_hr_time_formatted(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.