Skip to content

Commit

Permalink
Debug tax
Browse files Browse the repository at this point in the history
  • Loading branch information
Katulos committed Jan 18, 2025
1 parent 74f61da commit 4f892cb
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 30 deletions.
2 changes: 1 addition & 1 deletion l10n_ru/data/template/account.account-ru.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"id","code","name","name@ru","reconcile","account_type"
"id","code","name","name@ru_RU","reconcile","account_type"
"ru_acc_000","000","Auxiliary account","Вспомогательный счет","True","expense"
"ru_acc_001","001","Leased fixed assets","Арендованные основные средства","True","expense"
"ru_acc_002","002","Inventory accepted for safekeeping","Товарно-материальные ценности, принятые на ответственное хранение","True","expense"
Expand Down
1 change: 1 addition & 0 deletions l10n_ru/data/template/account.group-ru.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"id","code_prefix_start","code_prefix_end","name","name@ru_RU"
50 changes: 25 additions & 25 deletions l10n_ru/data/template/account.tax-ru.csv
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
"id","tax_group_id","name","name@ru","description","description@ru","invoice_label","invoice_label@ru","type_tax_use","amount","amount_type","sequence","price_include","active"
"purchase_vat_0", "tax_group_vat_0","VAT 0%","НДС 0%","","","VAT 0%","НДС 0%","purchase","0.0","percent","","True","False"
"sale_vat_0", "tax_group_vat_0","VAT 0%","НДС 0%","","","VAT 0%","НДС 0%","sale","0.0","percent","","True","False"
"purchase_vat_5", "tax_group_vat_5","VAT 5%","НДС 5%","","","VAT 5%","НДС 5%","purchase","5.0","percent","","True","False"
"sale_vat_5", "tax_group_vat_5","VAT 5%","НДС 5%","","","VAT 5%","НДС 5%","sale","5.0","percent","","True","False"
"purchase_vat_10", "tax_group_vat_10","VAT 10%","НДС 10%","","","VAT 10%","НДС 10%","purchase","10.0","percent","","True","False"
"sale_vat_10", "tax_group_vat_10","VAT 10%","НДС 10%","","","VAT 10%","НДС 10%","sale","10.0","percent","","True","False"
"purchase_vat_15", "tax_group_vat_15","VAT 15%","НДС 15%","","","VAT 15%","НДС 15%","purchase","15.0","percent","","True","False"
"sale_vat_15", "tax_group_vat_15","VAT 15%","НДС 15%","","","VAT 15%","НДС 15%","sale","15.0","percent","","True","False"
"purchase_vat_20", "tax_group_vat_20","VAT 20%","НДС 20%","","","VAT 20%","НДС 20%","purchase","20.0","percent","","True","True"
"sale_vat_20", "tax_group_vat_20","VAT 20%","НДС 20%","","","VAT 20%","НДС 20%","sale","20.0","percent","","True","True"
"sale_asts_8","tax_group_asts_8","ASTS 8%","АУСН 8%","","","ASTS 8%","АУСН 8%","sale", "8.0","division","","True","False"
"sale_asts_20","tax_group_asts_20","ASTS 20%","АУСН 20%","","","ASTS 20%","АУСН 20%","sale", "20.0","division","","True","False"
"sale_sts_6","tax_group_asts_6","STS 6%","УСН 6%","","","STS 6%","УСН 6%","sale", "6.0","division","","True","True"
"sale_sts_15","tax_group_asts_15","STS 15%","УСН 15%","","","STS 15%","УСН 15%","sale", "15.0","division","","True","False"
"sale_uat_0","tax_group_uat_0","UAT 0%","ЕСХН 0%","","","UAT 0%","ЕСХН 0%","sale", "0.0","division","","True","False"
"sale_uat_1","tax_group_uat_1","UAT 1%","ЕСХН 1%","","","UAT 1%","ЕСХН 1%","sale", "1.0","division","","True","False"
"sale_uat_2","tax_group_uat_2","UAT 2%","ЕСХН 2%","","","UAT 2%","ЕСХН 2%","sale", "2.0","division","","True","False"
"sale_uat_3","tax_group_uat_3","UAT 3%","ЕСХН 3%","","","UAT 3%","ЕСХН 3%","sale", "3.0","division","","True","False"
"sale_uat_4","tax_group_uat_4","UAT 4%","ЕСХН 4%","","","UAT 4%","ЕСХН 4%","sale", "4.0","division","","True","False"
"sale_uat_5","tax_group_uat_5","UAT 5%","ЕСХН 5%","","","UAT 5%","ЕСХН 5%","sale", "5.0","division","","True","False"
"sale_uat_6","tax_group_uat_6","UAT 6%","ЕСХН 6%","","","UAT 6%","ЕСХН 6%","sale", "6.0","division","","True","False"
"sale_pts_0","tax_group_pts_0","PTS 0%","ПСН 0%","","","PTS 0%","ПСН 0%","sale", "0.0","division","","True","False"
"sale_set_4","tax_group_set_4","SET 4%","НПД 4%","","","SET 4%","НПД 4%","sale", "4.0","division","","True","False"
"sale_set_6","tax_group_set_6","SET 6%","НПД 6%","","","SET 6%","НПД 6%","sale", "6.0","division","","True","False"
"id","tax_group_id","name","name@ru_RU","description","description@ru_RU","invoice_label","invoice_label@ru_RU","type_tax_use","amount","amount_type","sequence","price_include","active"
"purchase_vat_0","tax_group_vat_0","VAT 0%","НДС 0%","","","VAT 0%","НДС 0%","purchase","0.0","percent","","True","False"
"sale_vat_0","tax_group_vat_0","VAT 0%","НДС 0%","","","VAT 0%","НДС 0%","sale","0.0","percent","","True","False"
"purchase_vat_5","tax_group_vat_5","VAT 5%","НДС 5%","","","VAT 5%","НДС 5%","purchase","5.0","percent","","True","False"
"sale_vat_5","tax_group_vat_5","VAT 5%","НДС 5%","","","VAT 5%","НДС 5%","sale","5.0","percent","","True","False"
"purchase_vat_10","tax_group_vat_10","VAT 10%","НДС 10%","","","VAT 10%","НДС 10%","purchase","10.0","percent","","True","False"
"sale_vat_10","tax_group_vat_10","VAT 10%","НДС 10%","","","VAT 10%","НДС 10%","sale","10.0","percent","","True","False"
"purchase_vat_15","tax_group_vat_15","VAT 15%","НДС 15%","","","VAT 15%","НДС 15%","purchase","15.0","percent","","True","False"
"sale_vat_15","tax_group_vat_15","VAT 15%","НДС 15%","","","VAT 15%","НДС 15%","sale","15.0","percent","","True","False"
"purchase_vat_20","tax_group_vat_20","VAT 20%","НДС 20%","","","VAT 20%","НДС 20%","purchase","20.0","percent","","True","True"
"sale_vat_20","tax_group_vat_20","VAT 20%","НДС 20%","","","VAT 20%","НДС 20%","sale","20.0","percent","","True","True"
"sale_asts_8","tax_group_asts_8","ASTS 8%","АУСН 8%","","","ASTS 8%","АУСН 8%","sale","8.0","division","","True","False"
"sale_asts_20","tax_group_asts_20","ASTS 20%","АУСН 20%","","","ASTS 20%","АУСН 20%","sale","20.0","division","","True","False"
"sale_sts_6","tax_group_sts_6","STS 6%","УСН 6%","","","STS 6%","УСН 6%","sale","6.0","division","","True","False"
"sale_sts_15","tax_group_sts_15","STS 15%","УСН 15%","","","STS 15%","УСН 15%","sale","15.0","division","","True","False"
"sale_uat_0","tax_group_uat_0","UAT 0%","ЕСХН 0%","","","UAT 0%","ЕСХН 0%","sale","0.0","division","","True","False"
"sale_uat_1","tax_group_uat_1","UAT 1%","ЕСХН 1%","","","UAT 1%","ЕСХН 1%","sale","1.0","division","","True","False"
"sale_uat_2","tax_group_uat_2","UAT 2%","ЕСХН 2%","","","UAT 2%","ЕСХН 2%","sale","2.0","division","","True","False"
"sale_uat_3","tax_group_uat_3","UAT 3%","ЕСХН 3%","","","UAT 3%","ЕСХН 3%","sale","3.0","division","","True","False"
"sale_uat_4","tax_group_uat_4","UAT 4%","ЕСХН 4%","","","UAT 4%","ЕСХН 4%","sale","4.0","division","","True","False"
"sale_uat_5","tax_group_uat_5","UAT 5%","ЕСХН 5%","","","UAT 5%","ЕСХН 5%","sale","5.0","division","","True","False"
"sale_uat_6","tax_group_uat_6","UAT 6%","ЕСХН 6%","","","UAT 6%","ЕСХН 6%","sale","6.0","division","","True","False"
"sale_pts_0","tax_group_pts_0","PTS 0%","ПСН 0%","","","PTS 0%","ПСН 0%","sale","0.0","division","","True","False"
"sale_set_4","tax_group_set_4","SET 4%","НПД 4%","","","SET 4%","НПД 4%","sale","4.0","division","","True","False"
"sale_set_6","tax_group_set_6","SET 6%","НПД 6%","","","SET 6%","НПД 6%","sale","6.0","division","","True","False"
2 changes: 1 addition & 1 deletion l10n_ru/data/template/account.tax.group-ru.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"id","name","country_id","name@ru"
"id","name","country_id","name@ru_RU"
"tax_group_vat_0","VAT 0%","base.ru","НДС 0%"
"tax_group_vat_5","VAT 5%","base.ru","НДС 5%"
"tax_group_vat_5","VAT 7%","base.ru","НДС 7%"
Expand Down
11 changes: 10 additions & 1 deletion l10n_ru/i18n/l10n_ru.pot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
Expand All @@ -12,3 +12,12 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: l10n_ru
#: model:ir.model,name:l10n_ru.model_account_chart_template
msgid "Account Chart Template"
msgstr ""

#. module: l10n_ru
#: model:account.account.tag,name:l10n_ru.acc_tag_vat
msgid "VAT"
msgstr ""
2 changes: 1 addition & 1 deletion l10n_ru/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from . import template_ru
from . import chart_template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from odoo import models
from odoo import _, models

from odoo.addons.account.models.chart_template import template

Expand All @@ -9,6 +9,7 @@ class AccountChartTemplate(models.AbstractModel):
@template("ru")
def _get_ru_template_data(self):
return {
"name": _("Chart of Accounts"),
"code_digits": "1",
"use_storno_accounting": True,
"display_invoice_amount_total_words": True,
Expand Down

0 comments on commit 4f892cb

Please sign in to comment.