[IMP] l10n_rs: translation and small modification

Ideally, we develop in English any localization (then translate to the domestic language, in this case Serbian) All the module has been translated in english and then a .po file has been create to translate back in Serbian

Added more info on the description of the module and activate storno by default.

closes odoo/odoo#107101

Task-id: 3086250
Related: odoo/enterprise#34608
Signed-off-by: Nicolas Viseur (vin) <vin@odoo.com>
This commit is contained in:
maximilien(malb)
2022-12-05 13:02:18 +01:00
parent 51e12ca394
commit 81a32cf3f9
5 changed files with 7751 additions and 2 deletions
+5
View File
@@ -2,3 +2,8 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
from odoo import api, SUPERUSER_ID
def load_translations(cr, registry):
env = api.Environment(cr, SUPERUSER_ID, {})
env.ref('l10n_rs.l10n_rs_chart_template').process_coa_translations()
+3 -1
View File
@@ -7,9 +7,11 @@
"category": "Accounting/Localizations/Account Charts",
"description": """
This is the base module of the Serbian localization. It manages chart of accounts and taxes.
This module is based on the official document "Pravilnik o kontnom okviru i sadržini računa u kontnom okviru za privredna društva, zadruge i preduzetnike ("Sl. glasnik RS", br. 89/2020)"
Source: https://www.paragraf.rs/propisi/pravilnik-o-kontnom-okviru-sadrzini-racuna-za-privredna-drustva-zadruge.html
""",
"author": "Modoolar, Odoo S.A.",
"depends": ["account", "base_vat"],
"depends": ["account", "base_vat", 'l10n_multilang'],
"data": [
"data/account_chart_template_data.xml",
"data/account.account.template.csv",
@@ -8,7 +8,7 @@
<field name="bank_account_code_prefix">241</field>
<field name="cash_account_code_prefix">243</field>
<field name="transfer_account_code_prefix">250</field>
<field name="use_storno_accounting" eval="True"/>
<field name="currency_id" ref="base.RSD"/>
<field name="country_id" ref="base.rs"/>
</record>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff