TIP: You can type at any time to perform a new search.
Bulgaria localization Configuration
l10n_bg_config · OCA/l10n-bulgaria
- Repository
- OCA/l10n-bulgaria · module folder · Try on Runboat
- Module version
- 8.0.5
- Category
- Localization
- Folder size
- 0.85 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://github.com/OCA/l10n-bulgaria
- Last tracking update
- 2026-08-07 08:43:06
- Authors
- Odoo Community Association (OCA), Rosen Vladimirov
- Maintainers
- Odoo Community Association (OCA), Rosen Vladimirov
- Committers
- Weblate, OCA-git-bot, oca-ci, rosenvladimirov
- Odoo dependencies
- Python dependencies
- xmltodict
- System dependencies
- None
- Required by
- None
- Description
The **l10n_bg_config** module in Odoo simplifies the setup of Bulgarian localization by automatically installing all necessary modules, such as **l10n_bg**, **l10n_bg_reports_audit**, and **l10n_bg_report_theme**. It ensures a quick and seamless configuration, making the system ready for compliance with Bulgarian accounting and legal standards.
Code Analysis ⓘ
Views touched (11)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_tag_view_form_code |
account.tag.view.form.code | account.account.tag | form | Inherits account.account_tag_view_form |
account_tag_view_tree_code |
account.tag.view.tree.code | account.account.tag | tree | Inherits account.account_tag_view_tree |
l10n_bg_move_view_form |
account.move.form | account.move | form | Inherits l10n_bg_ledger.l10n_bg_move_view_form |
res_config_settings_view_form |
res.config.settings.view.form.inherit.account | res.config.settings | form | Inherits base.res_config_settings_view_form |
view_account_plugins_wizard_form |
account.plugins.wizard.form | account.plugins.wizard | form | New |
view_account_settings_preview_xml_file_form |
account.settings.preview.xml.file.form | account.settings.preview.xml.file | form | New |
view_account_settings_xml_file_form |
account.settings.xml.file.form | account.settings.xml.file | form | New |
view_company_form |
res.company.form.inherit.l10n_bg | res.company | form | Inherits base.view_company_form |
view_move_form |
account.move.form | account.move | form | Inherits account.view_move_form |
view_partner_form |
res.partner.property.form.l10n_bg | res.partner | form | Inherits base.view_partner_form |
view_res_partner_form_api_key |
res.partner.form.api_key | res.partner | form | Inherits base.view_partner_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (13)
New fields (1)
-
descriptionTexttranslate=True
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (5)
-
l10n_bg_dateDatecopy=False args: 'Date of locale document' -
l10n_bg_deal_dateDatecompute='_compute_l10n_bg_deal_date'copy=Falsestore=True args: 'Date of deal' -
l10n_bg_document_numberCharcompute='_compute_l10n_bg_document_number'copy=Falseindex='trigram'inverse='_inverse_l10n_bg_document_number'search='_search_l10n_bg_document_number'store=Truestring='Document Number (BG)'tracking=True -
l10n_bg_nameCharreadonly=Falserelated='l10n_bg_document_number'store=Truestring='Number of locale document' -
l10n_bg_name_valueCharcopy=False args: 'Number of locale document (stored)'
No public methods.
New fields (3)
-
company_idMany2one → res.companydefault=<expr> args: 'res.company', 'Company' -
force_updateBooleanhelp='Force update of plugins even if they are already installed' -
plugin_line_idsOne2many → account.plugins.wizard.linestring='Plugins' args: 'account.plugins.wizard.line', 'wizard_id'
-
action_apply(self)Processes the installation and uninstallation of plugins based on the user's selection. The method identifies plugins marked for installation, as well as plugins marked for uninstallation and processes them accordingly. It performs the installation or uninstallation actions immediately. If force updating is enabled, it reloads the template settings. The method ensures at least one plugin is selected for installation or uninstallation. If no plugins are selected, an exception is raised. It returns an action to reload the client interface upon successful execution. :raises UserError: If no plugins are selected for installation or uninstallation or if an error occurs during processing. :return: A dictionary containing the action of type 'ir.actions.client' with a 'reload' tag. :rtype: dict -
default_get(self, fields_list)@api.model
New fields (6)
-
nameTextreadonly=True -
plugin_idMany2one → ir.module.modulereadonly=Truestring='Plugin' args: 'ir.module.module' -
stateSelectionreadonly=True args: [('uninstalled', 'Not installed'), ('installed', 'Installed'), ('to install', 'For installation'), ('to remove', 'To remove')] -
to_installBooleanhelp='Mark for installation'string='Install' -
to_uninstallBooleanhelp='Mark for uninstallation'string='Uninstall' -
wizard_idMany2one → account.plugins.wizardstring='Wizard' args: 'account.plugins.wizard'
No public methods.
New fields (2)
-
l10n_bg_config_fileBinarystring='Config xml File' -
l10n_bg_config_file_previewHtmlsanitize=Truesanitize_tags=Truestring='XML Preview'
-
default_get(self, fields_list)@api.model -
save_xml(self)Save formatted XML as a downloadable file
New fields (1)
-
l10n_bg_config_fileBinarystring='Config xml File'
-
action_process_config_file(self)Process the uploaded XML config file from the binary field.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
is_l10n_bg_recordBooleancompute='_compute_is_l10n_bg_record'readonly=Falsestring='Is Bulgaria Record'
-
get_view(self, view_id=None, view_type='form', **options)@api.model
New fields (10)
-
is_l10n_bg_multilanguageJsoncompute='_compute_is_l10n_bg_multilanguage'help='Allows to set multilanguage in Bulgaria accounting'inverse='_inverse_is_l10n_bg_multilanguage'store=Truestring='Bulgaria - Multilanguage' -
is_l10n_bg_recordBooleancompute='_compute_is_l10n_bg_record'default=Trueinverse='_inverse_is_l10n_bg_record'store=Truestring='Bulgaria - Use Bulgaria Accounting' -
is_l10n_bg_tax_reportBooleanhelp='Allows to set tax report in Bulgaria accounting'string='Bulgaria - Tax Report' -
is_l10n_bg_tax_report_with_vatBooleanstring='Bulgaria - Tax Report with VAT' -
l10n_bg_config_templateBinaryattachment=False args: 'Config Template' -
l10n_bg_departament_codeIntegerargs: 'Departament code' -
l10n_bg_keyCharreadonly=Falserelated='partner_id.l10n_bg_key' -
l10n_bg_represent_contact_idMany2one → res.partnercompute='_compute_l10n_bg_represent_contact_id'inverse='_inverse_l10n_bg_represent_contact_id'store=Truestring='Representative' args: 'res.partner' -
l10n_bg_uicCharreadonly=Truerelated='partner_id.l10n_bg_uic' -
l10n_bg_uic_typeSelectionreadonly=Truerelated='partner_id.l10n_bg_uic_type'
-
action_process_config_file(self) -
xml_to_dict(self, xml_text)
New fields (20)
-
is_l10n_bg_multilanguageJsonreadonly=Falserelated='company_id.is_l10n_bg_multilanguage' -
is_l10n_bg_multilanguage_textTextcompute='_compute_multilanguage_text'string='Multilanguage Settings' -
is_l10n_bg_recordBooleanreadonly=Falserelated='company_id.is_l10n_bg_record' -
l10n_bg_config_templateBinaryreadonly=Falserelated='company_id.l10n_bg_config_template' -
l10n_bg_keyCharreadonly=Falserelated='company_id.partner_id.l10n_bg_key' -
module_currency_rate_live_fixBooleanhelp='Live Currency Rate Fix for Bulgaria (EE) module' args: 'Live Currency Rate Fix (EE)' -
module_currency_rate_update_bg_bnbBooleanhelp='Central currency rates downloaded from National Bank of Bulgaria' args: 'Download currency rates from Bulgaria National Bank (OCA)' -
module_l10n_bg_address_extendedBooleanhelp='Additional data in address like ' args: 'Additional data in address' -
module_l10n_bg_assetsBooleanhelp='Add rules for tax desperation base Bulgarian law (EE)' args: 'Bulgaria - Assets' -
module_l10n_bg_cityBooleanhelp='Upload cites, municipalities, states, villages and manastiries' args: 'Upload Bulgaria city' -
module_l10n_bg_intrastatBooleanhelp='Generate XML files for Bulgaria intrastat (EE)' args: 'Bulgaria - Intrastat' -
module_l10n_bg_intrastat_productBooleanhelp='Provide Intrastat Product Declaration. (OCA)' args: 'Bulgaria - Intrastat Product Declaration' -
module_l10n_bg_multilangBooleanhelp='Change to multilingual support for fields without native configurations' args: 'Switch on multilanguage support' -
module_l10n_bg_report_themeBooleanhelp='Add theme for Bulgaria reports' args: 'Bulgaria - Report Theme' -
module_l10n_bg_report_vatBooleanhelp='Add tax reports and exports files for Bulgaria base on OCA report engine' args: 'Bulgaria - Tax Report export files (OCA)' -
module_l10n_bg_reports_auditBooleanhelp='Provide base for Accounting TAX Audit reports for Bulgarian - NRA.' args: 'Bulgaria - Accounting TAX Audit reports' -
module_l10n_bg_tax_officesBooleanhelp='Address and department of NRA Bulgaria added like partners to use when make a payment ot taxes.' args: 'NRA Bulgaria, tax offices and departments' -
module_l10n_bg_uic_id_numberBooleanhelp='Bulgarian registration codes base on OCA module partner_identification' args: 'Bulgarian multi register codes' -
module_l10n_bg_vat_reportsBooleanhelp='Add VAT reports and exports files for Bulgaria base on EE report engine' args: 'Bulgaria - VAT Reports export files (EE)' -
module_partner_multilangBooleanhelp='Transliterate partner, city, street names ISO9 and other' args: 'Partner transliterate names'
No public methods.
New fields (1)
-
title_formatTextdefault='%(title)s %(partner)s %(academic_title_display)s'help="Display format to use for partner belonging to this country.\n\nYou can use python-style string pattern with all the fields of the title (for example, use '%(title)s' to display the field 'title') plus\n%(partner)s: use the partner name\n%(academic_title_display)s: the code of the academic_title_display"string='Layout in Name views'
-
get_title_fields(self)
New fields (6)
-
l10n_bg_crypt_keyBinaryattachment=Falsehelp='Enter the key to decrypt the data. If not entered, a random key will be generated.' args: 'Crypt Key' -
l10n_bg_keyCharhelp='Enter the key to encrypt the data. If not entered, a random key will be generated.' args: 'Api Key' -
l10n_bg_represent_contact_idMany2one → res.partnercompute='_compute_l10n_bg_represent_contact_id'inverse='_inverse_l10n_bg_represent_contact_id'store=Truestring='Representative' args: 'res.partner' -
l10n_bg_uicCharhelp='Unique identification code for the Bulgaria received from trade registry'string='Unique identification code' -
l10n_bg_uic_typeSelectionhelp='Choice type of Bulgaria UID.'selection=_l10n_bg_uic_type()string='Type of Bulgaria UID' -
typeSelectionondelete={'represent': 'set null', 'agent': 'set null', 'tax': 'set null'}selection_add=[('represent', 'Company represent/manager'), ('agent', 'Company agent'), ('tax', 'Tax agent')]
-
get_api_key(self) -
write(self, values)