Croatia - base

l10n_hr_base
REPOSITORY
REPOSITORYOCA/l10n-croatia
GIT
GIThttps://github.com/OCA/l10n-croatia.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-croatia/tree/16.0/l10n_hr_base
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYCroatia
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), DAJ MI 5
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), DAJ MI 5
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Davor Bojkić - Bole
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-croatia
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:54:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES tzlocal
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_l10n_hr_base_company_data view.l10n.hr.base.company res.company notebook Inherits base.view_company_form
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.