Croatia - e-invoicing

l10n_hr_edi
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/l10n_hr_edi
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/Reporting
LICENSE
LICENSEOEEL-1
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSOdoo Translation Bot, Julien Castiaux, Thomas Becquevort (thbe), Gauthier Wala (gawa), Claire (clbr), nape-odoo, devp-odoo, bhra-odoo, Jugurtha, Laurent Smet (LAS), Kai Chang (kacha)
WEBSITE
WEBSITEhttps://www.odoo.com/app/accounting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_hr
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
    - account_edi_ubl_cii
    - account_peppol
    - account_edi_proxy_client
    - certificate
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES phonenumbers
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
e-invoicing for Croatia
    

Code Analysis

Views touched (14)
XML IDNameModelTypeStatus
account_journal_dashboard_kanban_view account.journal.dashboard.kanban account.journal xpath Inherits account.account_journal_dashboard_kanban_view
account_move_form_inherit account.move.form.inherit account.move xpath Inherits account.view_move_form
document_tax_totals_company_currency_template_inherit document_tax_totals_company_currency_template_inherit ir.ui.view qweb Inherits account.document_tax_totals_company_currency_template
l10n_hr_kpd_category_view_search l10n_hr.kpd.category.search l10n_hr.kpd.category search New
l10n_hr_kpd_category_view_tree l10n_hr.kpd.category.list l10n_hr.kpd.category list New
mojeracun_reject_wizard_form l10n_hr_edi.mojeracun_reject_wizard.form l10n_hr_edi.mojeracun_reject_wizard form New
product_template_form_view_inherit product.template.common.form.inherit.l10n_hr product.template field Inherits account.product_template_form_view
report_invoice_document_inherit report_invoice_document_inherit ir.ui.view qweb Inherits account.report_invoice_document
res_config_settings_view_form res.config.settings.view.form.inherit.proxy.user res.config.settings xpath Inherits account.res_config_settings_view_form
res_partner_view_form_inherit l10n_be_reports.res.partner.view.form.inherit res.partner xpath Inherits account.partner_view_buttons
view_account_invoice_filter_inherit account.invoice.select.inherit account.move xpath Inherits account.view_account_invoice_filter
view_account_journal_form_inherit account.journal.form.inherit account.journal xpath Inherits account.view_account_journal_form
view_invoice_tree_inherit account.invoice.list.inherit account.move xpath Inherits account.view_invoice_tree
view_tax_form_inherit account.tax.form.inherit account.tax field Inherits account.view_tax_form
Models touched (16)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • l10n_hr_business_premises_label Char
    default='1' help='Must contain at least one character and a maximum of 20 numeric (0-9) and/or alphabetic (a-z, A-Z) characters.' required=True size=20 string='Business premises label'
  • l10n_hr_business_premises_label_refund Char
    default='1' help='Must contain at least one character and a maximum of 20 numeric (0-9) and/or alphabetic (a-z, A-Z) characters.' required=True size=20 string='Business premises label (refund approval)'
  • l10n_hr_is_mer_journal Boolean
    compute='_compute_l10n_hr_is_mer_journal' string='Journal used for eRacun via MojEracun'
  • l10n_hr_issuing_device_label Char
    default='1' help='Must contain only numeric characters' required=True string='Issuing device label'
  • l10n_hr_issuing_device_label_refund Char
    default='2' help='Must contain only numeric characters' required=True string='Issuing device label (refund approval)'
  • l10n_hr_mer_connection_state Selection
    related='company_id.l10n_hr_mer_connection_state'
Public methods (3)
  • l10n_hr_mer_get_message_status(self)
  • l10n_hr_mer_get_new_documents(self)
  • l10n_hr_mer_get_new_documents_all(self)

New fields (19)
  • l10n_hr_business_document_status Selection
    related='l10n_hr_edi_addendum_id.business_document_status'
  • l10n_hr_business_status_reason Char
    related='l10n_hr_edi_addendum_id.business_status_reason'
  • l10n_hr_customer_defined_process_name Char
    help='Required when Process Type is P99. Specify the name of your custom business process. This will appear in the UBL as P99:YourProcessName' string='Custom Process Name'
  • l10n_hr_edi_addendum_id One2many → l10n_hr_edi.addendum
    comodel_name='l10n_hr_edi.addendum' copy=False inverse_name='move_id' string='HR EDI Addendum'
  • l10n_hr_fiscal_user_id Many2one → res.partner
    comodel_name='res.partner' domain=<expr> string='Fiscal User'
  • l10n_hr_fiscalization_channel_type Selection
    related='l10n_hr_edi_addendum_id.fiscalization_channel_type'
  • l10n_hr_fiscalization_error Char
    related='l10n_hr_edi_addendum_id.fiscalization_error'
  • l10n_hr_fiscalization_number Char
    related='l10n_hr_edi_addendum_id.fiscalization_number'
  • l10n_hr_fiscalization_request Char
    related='l10n_hr_edi_addendum_id.fiscalization_request'
  • l10n_hr_fiscalization_status Selection
    related='l10n_hr_edi_addendum_id.fiscalization_status'
  • l10n_hr_invoice_sending_time Datetime
    related='l10n_hr_edi_addendum_id.invoice_sending_time'
  • l10n_hr_mer_document_eid Char
    related='l10n_hr_edi_addendum_id.mer_document_eid'
  • l10n_hr_mer_document_status Selection
    related='l10n_hr_edi_addendum_id.mer_document_status'
  • l10n_hr_operator_name Char
    related='l10n_hr_fiscal_user_id.name' string='Operator Label'
  • l10n_hr_operator_oib Char
    related='l10n_hr_fiscal_user_id.l10n_hr_personal_oib' string='Operator OIB'
  • l10n_hr_payment_method_type Selection
    readonly=False related='l10n_hr_edi_addendum_id.payment_method_type'
  • l10n_hr_payment_reported_amount Monetary
    currency_field='currency_id' related='l10n_hr_edi_addendum_id.payment_reported_amount'
  • l10n_hr_payment_unreported Boolean
    compute='_compute_l10n_hr_payment_unreported' search='_search_l10n_hr_payment_unreported'
  • l10n_hr_process_type Selection
    compute='_compute_l10n_hr_process_type' copy=False readonly=False store=True string='Business Process Type' args: [('P1', 'P1: Issuing invoices for deliveries of goods and services according to purchase orders, based on contracts'), ('P2', 'P2: Periodic invoicing for deliveries of goods and services based on contracts'), ('P3', 'P3: Issuing invoices for delivery according to an independent purchase order'), ('P4', 'P4: Prepayment (advance payment)'), ('P5', 'P5: Payment on the spot (Sport payment)'), ('P6', 'P6: Payment before delivery, based on purchase order'), ('P7', 'P7: Issuing invoices with references to the delivery note'), ('P8', 'P8: Issuing invoices with references to the shipping and receipt notes'), ('P9', 'P9: Credits or invoices with negative amounts, issued for various reasons, including empty returns packaging'), ('P10', 'P10: Issuing a corrective invoice (reversal/correction of invoice)'), ('P11', 'P11: Issuing partial and final invoices'), ('P12', 'P12: Self-issuance of invoice'), ('P99', 'P99: Customer-defined process')]
Public methods (4)
  • UNUSED_get_ubl_cii_builder_from_xml_tree(self, tree)
    @api.model
  • l10n_hr_edi_mer_action_fetch_status(self)
    Fetch and update the status of a single document on MojEracun.
  • l10n_hr_edi_mer_action_reject(self)
  • l10n_hr_edi_mer_action_report_paid(self)

New fields (1)
  • l10n_hr_kpd_category_id Many2one → l10n_hr.kpd.category
    comodel_name='l10n_hr.kpd.category' compute='_compute_l10n_hr_product_id_kpd' readonly=False store=True string='KPD category'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • l10n_hr_tax_category_id Many2one → l10n.hr.tax.category
    string='Croatian Tax Expence Category' args: 'l10n.hr.tax.category'
Public methods (0)

No public methods.

New fields (6)
  • category_name Char
    args: 'Categody code name'
  • code_hr Char
    args: 'HR tax category code'
  • code_tax_scheme Char
    args: 'UNTDID tax scheme code'
  • code_untdid Char
    args: 'UNTDID code'
  • description Char
    args: 'Description'
  • name Char
    required=True args: 'Name/Mark'
Public methods (0)

No public methods.

New fields (3)
  • description Char
    args: 'Description'
  • name Char
    required=True args: 'Code'
  • sector Char
    args: 'Industry'
Public methods (0)

No public methods.

New fields (15)
  • business_document_status Selection
    selection=[('0', 'APPROVED'), ('1', 'REJECTED'), ('2', 'PAYMENT_FULFILLED'), ('3', 'PAYMENT_PARTIALLY_FULLFILLED'), ('4', 'RECEIVING_CONFIRMED'), ('99', 'RECEIVED'), ('None', 'None')] string='Business document status'
  • business_status_reason Char
    default='None' string='Document rejection reason'
  • currency_id Many2one
    related='move_id.currency_id'
  • fiscalization_channel_type Selection
    help='If delivery via EDI fails, the invoice is reported to tax authorities but has to be delivered to the client via other means (ex. e-mail).' selection=[('0', 'Delivered via EDI'), ('1', 'Not delivered via EDI')] string='Delivery channel type'
  • fiscalization_error Char
    default='None' string='Error reported for fiscalization'
  • fiscalization_number Char
    string='Invoice fiscalization number'
  • fiscalization_request Char
    string='Fiscalization request ID'
  • fiscalization_status Selection
    selection=[('0', 'Successful'), ('1', 'Unsuccessful'), ('2', 'Pending')] string='Fiscalization status'
  • invoice_sending_time Datetime
    string='Time of invoicing'
  • mer_document_eid Char
    string='MojEracun document ElectronicId'
  • mer_document_status Selection
    help='MojEracun internal document status - to be validated and received by the customer.' selection=[('20', 'In validation'), ('30', 'Sent'), ('40', 'Delivered'), ('45', 'Canceled'), ('50', 'Unsuccessful'), ('70', 'Delivered (eReporting)')] string='MojEracun document status'
  • mer_signed_xml_archived Boolean
    string='Signed XML archived'
  • move_id Many2one → account.move
    index=True ondelete='cascade' required=True args: 'account.move'
  • payment_method_type Selection
    default='T' selection=[('T', 'Transakcijski račun'), ('O', 'Obračunsko plaćanje'), ('Z', 'Ostalo')] string='Payment Method Type'
  • payment_reported_amount Monetary
    currency_field='currency_id' default=0.0 string='Payment amount already reported to Tax Authority'
Public methods (0)

No public methods.

New fields (3)
  • move_id Many2one → account.move
    comodel_name='account.move' required=True
  • rejection_description Char
    required=True string='Rejection reason description'
  • rejection_type Selection
    required=True selection=[('N', "'N' - Data discrepancy that does not affect tax calculation"), ('U', "'U' - Data discrepancy that affects tax calculation"), ('O', "'O' - Other")] string='Rejection reason type'
Public methods (2)
  • button_reject_invoice(self)
  • default_get(self, fields_list)
    @api.model

New fields (1)
  • l10n_hr_kpd_category_id Many2one → l10n_hr.kpd.category
    comodel_name='l10n_hr.kpd.category' string='KPD category'
Public methods (0)

No public methods.

New fields (7)
  • l10n_hr_mer_company_ident Char
    groups='account.group_account_manager' args: 'MojEracun CompanyId'
  • l10n_hr_mer_connection_mode Selection
    default='test' selection=[('prod', 'Production'), ('test', 'Test'), ('demo', 'Demo')] string='MojEracun Operating mode'
  • l10n_hr_mer_connection_state Selection
    compute='_compute_l10n_hr_mojeracun_state' default='inactive' required=True selection=[('inactive', 'Inactive'), ('active', 'Active')] store=True string='MojEracun connection status'
  • l10n_hr_mer_password Char
    groups='account.group_account_manager' args: 'MojEracun password'
  • l10n_hr_mer_purchase_journal_id Many2one → account.journal
    comodel_name='account.journal' compute='_compute_l10n_hr_mer_purchase_journal_id' domain=[('type', '=', 'purchase')] readonly=False store=True string='eracun Purchase Journal'
  • l10n_hr_mer_software_ident Char
    default='Saodoo-001' help="Default SoftwareID for Odoo is 'Saodoo-001'" args: 'MojEracun SoftwareId'
  • l10n_hr_mer_username Char
    groups='account.group_account_manager' args: 'MojEracun username'
Public methods (0)

No public methods.

New fields (8)
  • l10n_hr_mer_company_bu Char
    readonly=False related='company_id.partner_id.l10n_hr_business_unit_code'
  • l10n_hr_mer_company_ident Char
    readonly=False related='company_id.l10n_hr_mer_company_ident'
  • l10n_hr_mer_connection_mode Selection
    readonly=False related='company_id.l10n_hr_mer_connection_mode'
  • l10n_hr_mer_connection_state Selection
    related='company_id.l10n_hr_mer_connection_state'
  • l10n_hr_mer_password Char
    readonly=False related='company_id.l10n_hr_mer_password'
  • l10n_hr_mer_purchase_journal_id Many2one
    readonly=False related='company_id.l10n_hr_mer_purchase_journal_id'
  • l10n_hr_mer_software_ident Char
    readonly=False related='company_id.l10n_hr_mer_software_ident'
  • l10n_hr_mer_username Char
    readonly=False related='company_id.l10n_hr_mer_username'
Public methods (2)
  • button_l10n_hr_activate_mojeracun(self)
  • button_l10n_hr_deactivate_mojeracun(self)

New fields (4)
  • invoice_edi_format Selection
    selection_add=[('ubl_hr', 'CIUS HR')]
  • invoice_sending_method Selection
    selection_add=[('mojeracun', 'by MojEracun')]
  • l10n_hr_business_unit_code Char
    default=None args: 'Business Unit Code'
  • l10n_hr_personal_oib Char
    string='Personal OIB'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/l10n_hr_edi
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/Reporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, GitHub, Julien Castiaux, Thomas Becquevort (thbe), Gauthier Wala (gawa), Xavier Bol (xbo), Claire (clbr), Antoine Dupuis, nape-odoo, bhra-odoo, Laurent Smet (LAS)
WEBSITE
WEBSITEhttps://www.odoo.com/app/accounting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_hr
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
    - account_edi_ubl_cii
    - account_peppol
    - account_edi_proxy_client
    - certificate
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES phonenumbers
cryptography
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
e-invoicing for Croatia
    

Code Analysis

Views touched (14)
XML IDNameModelTypeStatus
account_journal_dashboard_kanban_view account.journal.dashboard.kanban account.journal xpath Inherits account.account_journal_dashboard_kanban_view
account_move_form_inherit account.move.form.inherit account.move xpath Inherits account.view_move_form
document_tax_totals_company_currency_template_inherit document_tax_totals_company_currency_template_inherit ir.ui.view qweb Inherits account.document_tax_totals_company_currency_template
l10n_hr_kpd_category_view_search l10n_hr.kpd.category.search l10n_hr.kpd.category search New
l10n_hr_kpd_category_view_tree l10n_hr.kpd.category.list l10n_hr.kpd.category list New
mojeracun_reject_wizard_form l10n_hr_edi.mojeracun_reject_wizard.form l10n_hr_edi.mojeracun_reject_wizard form New
product_template_form_view_inherit product.template.common.form.inherit.l10n_hr product.template field Inherits account.product_template_form_view
report_invoice_document_inherit report_invoice_document_inherit ir.ui.view qweb Inherits account.report_invoice_document
res_config_settings_view_form res.config.settings.view.form.inherit.proxy.user res.config.settings xpath Inherits account.res_config_settings_view_form
res_partner_view_form_inherit l10n_be_reports.res.partner.view.form.inherit res.partner xpath Inherits account.partner_view_buttons
view_account_invoice_filter_inherit account.invoice.select.inherit account.move xpath Inherits account.view_account_invoice_filter
view_account_journal_form_inherit account.journal.form.inherit account.journal xpath Inherits account.view_account_journal_form
view_invoice_tree_inherit account.invoice.list.inherit account.move xpath Inherits account.view_invoice_tree
view_tax_form_inherit account.tax.form.inherit account.tax field Inherits account.view_tax_form
Models touched (16)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • l10n_hr_business_premises_label Char
    default='1' help='Must contain at least one character and a maximum of 20 numeric (0-9) and/or alphabetic (a-z, A-Z) characters.' required=True size=20 string='Business premises label'
  • l10n_hr_business_premises_label_refund Char
    default='1' help='Must contain at least one character and a maximum of 20 numeric (0-9) and/or alphabetic (a-z, A-Z) characters.' required=True size=20 string='Business premises label (refund approval)'
  • l10n_hr_is_mer_journal Boolean
    compute='_compute_l10n_hr_is_mer_journal' string='Journal used for eRacun via MojEracun'
  • l10n_hr_issuing_device_label Char
    default='1' help='Must contain only numeric characters' required=True string='Issuing device label'
  • l10n_hr_issuing_device_label_refund Char
    default='2' help='Must contain only numeric characters' required=True string='Issuing device label (refund approval)'
  • l10n_hr_mer_connection_state Selection
    related='company_id.l10n_hr_mer_connection_state'
Public methods (3)
  • l10n_hr_mer_get_message_status(self)
  • l10n_hr_mer_get_new_documents(self)
  • l10n_hr_mer_get_new_documents_all(self)

New fields (19)
  • l10n_hr_business_document_status Selection
    related='l10n_hr_edi_addendum_id.business_document_status'
  • l10n_hr_business_status_reason Char
    related='l10n_hr_edi_addendum_id.business_status_reason'
  • l10n_hr_customer_defined_process_name Char
    help='Required when Process Type is P99. Specify the name of your custom business process. This will appear in the UBL as P99:YourProcessName' string='Custom Process Name'
  • l10n_hr_edi_addendum_id One2many → l10n_hr_edi.addendum
    comodel_name='l10n_hr_edi.addendum' copy=False inverse_name='move_id' string='HR EDI Addendum'
  • l10n_hr_fiscal_user_id Many2one → res.partner
    comodel_name='res.partner' domain=<expr> string='Fiscal User'
  • l10n_hr_fiscalization_channel_type Selection
    related='l10n_hr_edi_addendum_id.fiscalization_channel_type'
  • l10n_hr_fiscalization_error Char
    related='l10n_hr_edi_addendum_id.fiscalization_error'
  • l10n_hr_fiscalization_number Char
    related='l10n_hr_edi_addendum_id.fiscalization_number'
  • l10n_hr_fiscalization_request Char
    related='l10n_hr_edi_addendum_id.fiscalization_request'
  • l10n_hr_fiscalization_status Selection
    related='l10n_hr_edi_addendum_id.fiscalization_status'
  • l10n_hr_invoice_sending_time Datetime
    related='l10n_hr_edi_addendum_id.invoice_sending_time'
  • l10n_hr_mer_document_eid Char
    related='l10n_hr_edi_addendum_id.mer_document_eid'
  • l10n_hr_mer_document_status Selection
    related='l10n_hr_edi_addendum_id.mer_document_status'
  • l10n_hr_operator_name Char
    related='l10n_hr_fiscal_user_id.name' string='Operator Label'
  • l10n_hr_operator_oib Char
    related='l10n_hr_fiscal_user_id.l10n_hr_personal_oib' string='Operator OIB'
  • l10n_hr_payment_method_type Selection
    readonly=False related='l10n_hr_edi_addendum_id.payment_method_type'
  • l10n_hr_payment_reported_amount Monetary
    currency_field='currency_id' related='l10n_hr_edi_addendum_id.payment_reported_amount'
  • l10n_hr_payment_unreported Boolean
    compute='_compute_l10n_hr_payment_unreported' search='_search_l10n_hr_payment_unreported'
  • l10n_hr_process_type Selection
    compute='_compute_l10n_hr_process_type' copy=False readonly=False store=True string='Business Process Type' args: [('P1', 'P1: Issuing invoices for deliveries of goods and services according to purchase orders, based on contracts'), ('P2', 'P2: Periodic invoicing for deliveries of goods and services based on contracts'), ('P3', 'P3: Issuing invoices for delivery according to an independent purchase order'), ('P4', 'P4: Prepayment (advance payment)'), ('P5', 'P5: Payment on the spot (Sport payment)'), ('P6', 'P6: Payment before delivery, based on purchase order'), ('P7', 'P7: Issuing invoices with references to the delivery note'), ('P8', 'P8: Issuing invoices with references to the shipping and receipt notes'), ('P9', 'P9: Credits or invoices with negative amounts, issued for various reasons, including empty returns packaging'), ('P10', 'P10: Issuing a corrective invoice (reversal/correction of invoice)'), ('P11', 'P11: Issuing partial and final invoices'), ('P12', 'P12: Self-issuance of invoice'), ('P99', 'P99: Customer-defined process')]
Public methods (3)
  • l10n_hr_edi_mer_action_fetch_status(self)
    Fetch and update the status of a single document on MojEracun.
  • l10n_hr_edi_mer_action_reject(self)
  • l10n_hr_edi_mer_action_report_paid(self)

New fields (1)
  • l10n_hr_kpd_category_id Many2one → l10n_hr.kpd.category
    comodel_name='l10n_hr.kpd.category' compute='_compute_l10n_hr_product_id_kpd' readonly=False store=True string='KPD category'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • l10n_hr_tax_category_id Many2one → l10n.hr.tax.category
    string='Croatian Tax Expence Category' args: 'l10n.hr.tax.category'
Public methods (0)

No public methods.

New fields (6)
  • category_name Char
    args: 'Categody code name'
  • code_hr Char
    args: 'HR tax category code'
  • code_tax_scheme Char
    args: 'UNTDID tax scheme code'
  • code_untdid Char
    args: 'UNTDID code'
  • description Char
    args: 'Description'
  • name Char
    required=True args: 'Name/Mark'
Public methods (0)

No public methods.

New fields (3)
  • description Char
    args: 'Description'
  • name Char
    required=True args: 'Code'
  • sector Char
    args: 'Industry'
Public methods (0)

No public methods.

New fields (15)
  • business_document_status Selection
    selection=[('0', 'APPROVED'), ('1', 'REJECTED'), ('2', 'PAYMENT_FULFILLED'), ('3', 'PAYMENT_PARTIALLY_FULLFILLED'), ('4', 'RECEIVING_CONFIRMED'), ('99', 'RECEIVED'), ('None', 'None')] string='Business document status'
  • business_status_reason Char
    default='None' string='Document rejection reason'
  • currency_id Many2one
    related='move_id.currency_id'
  • fiscalization_channel_type Selection
    help='If delivery via EDI fails, the invoice is reported to tax authorities but has to be delivered to the client via other means (ex. e-mail).' selection=[('0', 'Delivered via EDI'), ('1', 'Not delivered via EDI')] string='Delivery channel type'
  • fiscalization_error Char
    default='None' string='Error reported for fiscalization'
  • fiscalization_number Char
    string='Invoice fiscalization number'
  • fiscalization_request Char
    string='Fiscalization request ID'
  • fiscalization_status Selection
    selection=[('0', 'Successful'), ('1', 'Unsuccessful'), ('2', 'Pending')] string='Fiscalization status'
  • invoice_sending_time Datetime
    string='Time of invoicing'
  • mer_document_eid Char
    string='MojEracun document ElectronicId'
  • mer_document_status Selection
    help='MojEracun internal document status - to be validated and received by the customer.' selection=[('20', 'In validation'), ('30', 'Sent'), ('40', 'Delivered'), ('45', 'Canceled'), ('50', 'Unsuccessful'), ('70', 'Delivered (eReporting)')] string='MojEracun document status'
  • mer_signed_xml_archived Boolean
    string='Signed XML archived'
  • move_id Many2one → account.move
    index=True ondelete='cascade' required=True args: 'account.move'
  • payment_method_type Selection
    default='T' selection=[('T', 'Transakcijski račun'), ('O', 'Obračunsko plaćanje'), ('Z', 'Ostalo')] string='Payment Method Type'
  • payment_reported_amount Monetary
    currency_field='currency_id' default=0.0 string='Payment amount already reported to Tax Authority'
Public methods (0)

No public methods.

New fields (3)
  • move_id Many2one → account.move
    comodel_name='account.move' required=True
  • rejection_description Char
    required=True string='Rejection reason description'
  • rejection_type Selection
    required=True selection=[('N', "'N' - Data discrepancy that does not affect tax calculation"), ('U', "'U' - Data discrepancy that affects tax calculation"), ('O', "'O' - Other")] string='Rejection reason type'
Public methods (2)
  • button_reject_invoice(self)
  • default_get(self, fields_list)
    @api.model

New fields (1)
  • l10n_hr_kpd_category_id Many2one → l10n_hr.kpd.category
    comodel_name='l10n_hr.kpd.category' string='KPD category'
Public methods (0)

No public methods.

New fields (7)
  • l10n_hr_mer_company_ident Char
    groups='account.group_account_manager' args: 'MojEracun CompanyId'
  • l10n_hr_mer_connection_mode Selection
    default='test' selection=[('prod', 'Production'), ('test', 'Test'), ('demo', 'Demo')] string='MojEracun Operating mode'
  • l10n_hr_mer_connection_state Selection
    compute='_compute_l10n_hr_mojeracun_state' default='inactive' required=True selection=[('inactive', 'Inactive'), ('active', 'Active')] store=True string='MojEracun connection status'
  • l10n_hr_mer_password Char
    groups='account.group_account_manager' args: 'MojEracun password'
  • l10n_hr_mer_purchase_journal_id Many2one → account.journal
    comodel_name='account.journal' compute='_compute_l10n_hr_mer_purchase_journal_id' domain=[('type', '=', 'purchase')] readonly=False store=True string='eracun Purchase Journal'
  • l10n_hr_mer_software_ident Char
    default='Saodoo-001' help="Default SoftwareID for Odoo is 'Saodoo-001'" args: 'MojEracun SoftwareId'
  • l10n_hr_mer_username Char
    groups='account.group_account_manager' args: 'MojEracun username'
Public methods (0)

No public methods.

New fields (8)
  • l10n_hr_mer_company_bu Char
    readonly=False related='company_id.partner_id.l10n_hr_business_unit_code'
  • l10n_hr_mer_company_ident Char
    readonly=False related='company_id.l10n_hr_mer_company_ident'
  • l10n_hr_mer_connection_mode Selection
    readonly=False related='company_id.l10n_hr_mer_connection_mode'
  • l10n_hr_mer_connection_state Selection
    related='company_id.l10n_hr_mer_connection_state'
  • l10n_hr_mer_password Char
    readonly=False related='company_id.l10n_hr_mer_password'
  • l10n_hr_mer_purchase_journal_id Many2one
    readonly=False related='company_id.l10n_hr_mer_purchase_journal_id'
  • l10n_hr_mer_software_ident Char
    readonly=False related='company_id.l10n_hr_mer_software_ident'
  • l10n_hr_mer_username Char
    readonly=False related='company_id.l10n_hr_mer_username'
Public methods (2)
  • button_l10n_hr_activate_mojeracun(self)
  • button_l10n_hr_deactivate_mojeracun(self)

New fields (4)
  • invoice_edi_format Selection
    selection_add=[('ubl_hr', 'CIUS HR')]
  • invoice_sending_method Selection
    selection_add=[('mojeracun', 'by MojEracun')]
  • l10n_hr_business_unit_code Char
    default=None args: 'Business Unit Code'
  • l10n_hr_personal_oib Char
    string='Personal OIB'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.