Croatia - base
l10n_hr_base · OCA/l10n-croatia
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 47 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 16.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.03 MB
Module directory on disk
Code analysis
0 migration notes
3 models
1 view
0 HTTP endpoints
Description
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_brojCharstring='Registration number' -
l10n_hr_mirovinskoCharhelp='Regstration Number for payments in pension fund'string='Pension fund' -
l10n_hr_nkdCharhelp='Main company activity classified by NKD-2007'string='NKD' -
l10n_hr_zdravstvenoCharhelp='Registration number for payments to health insurance'string='Health insurance'
-
get_l10n_hr_time_formatted(self)
New fields (0)
No new fields.
Public methods (0)No public methods.