TIP: You can type at any time to perform a new search.
Croatia - base
l10n_hr_base · OCA/l10n-croatia
- Repository
- OCA/l10n-croatia · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Croatia
- Folder size
- 0.03 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-croatia
- Last tracking update
- 2026-08-07 08:09:33
- Authors
- Odoo Community Association (OCA), DAJ MI 5
- Maintainers
- Odoo Community Association (OCA), DAJ MI 5
- Committers
- Davor Bojkić - Bole, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- tzlocal
- System dependencies
- None
- Required by
- l10n_hr_nkd
- Description
Code Analysis ⓘ
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.