[REF] i18n/localization.rst: rework the entire localization tutorial

closes odoo/documentation#1334

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Co-authored-by: William Andre <wan@odoo.com>
Co-authored-by: Ivan Yelizariev <iel@odoo.com>
This commit is contained in:
wan
2021-11-30 16:24:42 +00:00
committed by william
parent c4b09dfbd9
commit 2da1f72389
22 changed files with 684 additions and 441 deletions
+1
View File
@@ -17,3 +17,4 @@ Backend
backend/testing
backend/http
backend/mixins
backend/standard_modules
@@ -0,0 +1,10 @@
:nosearch:
================
Standard modules
================
.. toctree::
:titlesonly:
standard_modules/account
@@ -0,0 +1,17 @@
:nosearch:
==========
Accounting
==========
.. toctree::
:titlesonly:
account/account_account_tag
account/account_account
account/account_chart_template
account/account_fiscal_position
account/account_group
account/account_tax_report_line
account/account_tax
account/account_tax_repartition
@@ -0,0 +1,19 @@
.. _reference/account_account:
=======
Account
=======
.. automodel:: odoo.addons.account.models.chart_template.AccountAccountTemplate
:main:
.. autofield:: name
.. autofield:: currency_id
.. autofield:: code
.. autofield:: user_type_id
.. autofield:: reconcile
.. autofield:: note
.. autofield:: tax_ids
.. autofield:: nocreate
.. autofield:: chart_template_id
.. autofield:: tag_ids
@@ -0,0 +1,16 @@
.. _reference/account_account_tag:
===========
Account Tag
===========
.. automodel:: odoo.addons.account.models.account_account_tag.AccountAccountTag
:main:
.. autofield:: name
.. autofield:: applicability
.. autofield:: color
.. autofield:: active
.. autofield:: tax_report_line_ids
.. autofield:: tax_negate
.. autofield:: country_id
@@ -0,0 +1,50 @@
.. _reference/account_chart_template:
==============
Chart Template
==============
.. automodel:: odoo.addons.account.models.chart_template.AccountChartTemplate
:main:
.. autofield:: name
.. autofield:: parent_id
.. autofield:: code_digits
.. autofield:: visible
.. autofield:: currency_id
.. autofield:: country_id
.. autofield:: use_anglo_saxon
.. autofield:: bank_account_code_prefix
.. autofield:: cash_account_code_prefix
.. autofield:: transfer_account_code_prefix
.. autofield:: account_ids
.. autofield:: income_currency_exchange_account_id
.. autofield:: expense_currency_exchange_account_id
.. autofield:: account_journal_suspense_account_id
.. autofield:: account_journal_payment_debit_account_id
.. autofield:: account_journal_payment_credit_account_id
.. autofield:: default_cash_difference_income_account_id
.. autofield:: default_cash_difference_expense_account_id
.. autofield:: default_pos_receivable_account_id
.. autofield:: property_account_receivable_id
.. autofield:: property_account_payable_id
.. autofield:: property_account_expense_categ_id
.. autofield:: property_account_income_categ_id
.. autofield:: property_account_expense_id
.. autofield:: property_account_income_id
.. autofield:: property_stock_account_input_categ_id
.. autofield:: property_stock_account_output_categ_id
.. autofield:: property_stock_valuation_account_id
.. autofield:: property_tax_payable_account_id
.. autofield:: property_tax_receivable_account_id
.. autofield:: property_advance_tax_payment_account_id
.. autofield:: property_cash_basis_base_account_id
.. automodel:: odoo.addons.l10n_multilang.models.account.AccountChartTemplate
Multi language support for Chart of Accounts, Taxes, Tax Codes, Journals,
Accounting Templates, Analytic Chart of Accounts and Analytic Journals.
.. autofield:: spoken_languages
@@ -0,0 +1,22 @@
.. _reference/account_fiscal_position:
===============
Fiscal Position
===============
.. automodel:: odoo.addons.account.models.chart_template.AccountFiscalPositionTemplate
:main:
.. autofield:: sequence
.. autofield:: name
.. autofield:: chart_template_id
.. autofield:: account_ids
.. autofield:: tax_ids
.. autofield:: note
.. autofield:: auto_apply
.. autofield:: vat_required
.. autofield:: country_id
.. autofield:: country_group_id
.. autofield:: state_ids
.. autofield:: zip_from
.. autofield:: zip_to
@@ -0,0 +1,14 @@
.. _reference/account_group:
=============
Account Group
=============
.. automodel:: odoo.addons.account.models.chart_template.AccountGroupTemplate
:main:
.. autofield:: parent_id
.. autofield:: name
.. autofield:: code_prefix_start
.. autofield:: code_prefix_end
.. autofield:: chart_template_id
@@ -0,0 +1,28 @@
.. _reference/account_tax:
=====
Taxes
=====
.. automodel:: odoo.addons.account.models.chart_template.AccountTaxTemplate
:main:
.. autofield:: chart_template_id
.. autofield:: name
.. autofield:: type_tax_use
.. autofield:: tax_scope
.. autofield:: amount_type
.. autofield:: active
.. autofield:: children_tax_ids
.. autofield:: sequence
.. autofield:: amount
.. autofield:: description
.. autofield:: price_include
.. autofield:: include_base_amount
.. autofield:: is_base_affected
.. autofield:: analytic
.. autofield:: invoice_repartition_line_ids
.. autofield:: refund_repartition_line_ids
.. autofield:: tax_group_id
.. autofield:: tax_exigibility
.. autofield:: cash_basis_transition_account_id
@@ -0,0 +1,16 @@
.. _reference/account_tax_repartition:
================
Tax Repartitions
================
.. automodel:: odoo.addons.account.models.chart_template.AccountTaxRepartitionLineTemplate
:main:
.. autofield:: factor_percent
.. autofield:: repartition_type
.. autofield:: account_id
.. autofield:: invoice_tax_id
.. autofield:: refund_tax_id
.. autofield:: tag_ids
.. autofield:: use_in_tax_closing
@@ -0,0 +1,24 @@
.. _reference/account_tax_report_line:
===============
Tax Report Line
===============
.. automodel:: odoo.addons.account.models.account_tax_report.AccountTaxReportLine
:main:
.. autofield:: name
.. autofield:: tag_ids
.. autofield:: report_action_id
.. autofield:: children_line_ids
.. autofield:: parent_id
.. autofield:: sequence
.. autofield:: report_id
.. autofield:: tag_name
.. autofield:: code
.. autofield:: formula
.. autofield:: carry_over_condition_method
.. autofield:: carry_over_destination_line_id
.. autofield:: carryover_line_ids
.. autofield:: is_carryover_persistent
.. autofield:: is_carryover_used_in_balance
@@ -1134,7 +1134,7 @@ to be translated. The way it currently works is the following:
is found.
Note that translations are explained in more details, from the server point of
view, in the document :doc:`/developer/misc/i18n/translations`.
view, in the document :doc:`/developer/howtos/translations`.
There are two important functions for the translations in javascript: *_t* and
*_lt*. The difference is that *_lt* is lazily evaluated.
@@ -2245,5 +2245,3 @@ For more information, look into the `control_panel_renderer.js <https://github.c
https://api.jquery.com/delegate/
.. _datepicker: https://github.com/Eonasdan/bootstrap-datetimepicker