Compare commits
merge into: OCA:13.0
OCA:10.0
OCA:11.0
OCA:12.0
OCA:12.0-mis_builder_analytic_cash_flow
OCA:13.0
OCA:13.0-ocabot-merge-pr-804-by-JordiBForgeFlow-bump-patch
OCA:14.0
OCA:6.0
OCA:6.1
OCA:7.0
OCA:8.0
OCA:9.0
pull from: OCA:14.0
OCA:10.0
OCA:11.0
OCA:12.0
OCA:12.0-mis_builder_analytic_cash_flow
OCA:13.0
OCA:13.0-ocabot-merge-pr-804-by-JordiBForgeFlow-bump-patch
OCA:14.0
OCA:6.0
OCA:6.1
OCA:7.0
OCA:8.0
OCA:9.0
No commits in common. '13.0' and '14.0' have entirely different histories.
183 changed files with 7041 additions and 15550 deletions
-
13.copier-answers.yml
-
4.flake8
-
13.github/workflows/pre-commit.yml
-
18.gitignore
-
1.isort.cfg
-
120.pre-commit-config.yaml
-
2.prettierrc.yml
-
6.pylintrc
-
4.pylintrc-mandatory
-
15.travis.yml
-
10CONTRIBUTING.md
-
12LICENSE
-
49README.md
-
12account_financial_report/README.rst
-
6account_financial_report/__manifest__.py
-
55account_financial_report/i18n/account_financial_report.pot
-
51account_financial_report/i18n/ar.po
-
51account_financial_report/i18n/ca.po
-
75account_financial_report/i18n/de.po
-
133account_financial_report/i18n/es.po
-
113account_financial_report/i18n/es_AR.po
-
1796account_financial_report/i18n/es_MX.po
-
250account_financial_report/i18n/fr.po
-
72account_financial_report/i18n/fr_CH.po
-
1834account_financial_report/i18n/fr_FR.po
-
51account_financial_report/i18n/hr.po
-
51account_financial_report/i18n/hr_HR.po
-
54account_financial_report/i18n/it.po
-
51account_financial_report/i18n/ja.po
-
89account_financial_report/i18n/nl.po
-
51account_financial_report/i18n/nl_NL.po
-
549account_financial_report/i18n/pt.po
-
72account_financial_report/i18n/pt_BR.po
-
81account_financial_report/i18n/ro.po
-
2account_financial_report/models/__init__.py
-
12account_financial_report/models/account_group.py
-
2account_financial_report/readme/CONTRIBUTORS.rst
-
1account_financial_report/report/__init__.py
-
126account_financial_report/report/abstract_report.py
-
607account_financial_report/report/abstract_report_xlsx.py
-
107account_financial_report/report/aged_partner_balance.py
-
78account_financial_report/report/aged_partner_balance_xlsx.py
-
41account_financial_report/report/general_ledger.py
-
60account_financial_report/report/general_ledger_xlsx.py
-
2account_financial_report/report/journal_ledger.py
-
71account_financial_report/report/journal_ledger_xlsx.py
-
147account_financial_report/report/open_items.py
-
43account_financial_report/report/open_items_xlsx.py
-
222account_financial_report/report/templates/aged_partner_balance.xml
-
104account_financial_report/report/templates/general_ledger.xml
-
56account_financial_report/report/templates/journal_ledger.xml
-
73account_financial_report/report/templates/open_items.xml
-
106account_financial_report/report/templates/trial_balance.xml
-
24account_financial_report/report/templates/vat_report.xml
-
106account_financial_report/report/trial_balance.py
-
72account_financial_report/report/trial_balance_xlsx.py
-
12account_financial_report/report/vat_report.py
-
9account_financial_report/report/vat_report_xlsx.py
-
199account_financial_report/reports.xml
-
7account_financial_report/security/ir.model.access.csv
-
8account_financial_report/static/description/index.html
-
6account_financial_report/static/src/js/action_manager_report.js
-
17account_financial_report/static/src/js/client_action.js
-
6account_financial_report/static/src/js/report.js
-
51account_financial_report/tests/test_general_ledger.py
-
175account_financial_report/tests/test_journal_ledger.py
-
8account_financial_report/tests/test_open_items.py
-
135account_financial_report/tests/test_trial_balance.py
-
180account_financial_report/tests/test_vat_report.py
-
25account_financial_report/wizard/abstract_wizard.py
-
21account_financial_report/wizard/aged_partner_balance_wizard.py
-
19account_financial_report/wizard/aged_partner_balance_wizard_view.xml
-
49account_financial_report/wizard/general_ledger_wizard.py
-
60account_financial_report/wizard/general_ledger_wizard_view.xml
-
26account_financial_report/wizard/journal_ledger_wizard.py
-
15account_financial_report/wizard/journal_ledger_wizard_view.xml
-
26account_financial_report/wizard/open_items_wizard.py
-
49account_financial_report/wizard/open_items_wizard_view.xml
-
30account_financial_report/wizard/trial_balance_wizard.py
-
21account_financial_report/wizard/trial_balance_wizard_view.xml
-
22account_financial_report/wizard/vat_report_wizard.py
-
15account_financial_report/wizard/vat_report_wizard_view.xml
-
11account_tax_balance/README.rst
-
3account_tax_balance/__manifest__.py
-
22account_tax_balance/hooks.py
-
25account_tax_balance/i18n/account_tax_balance.pot
-
17account_tax_balance/i18n/es.po
-
266account_tax_balance/i18n/fr_FR.po
-
27account_tax_balance/i18n/pt.po
-
31account_tax_balance/migrations/14.0.1.0.0/pre-migration.py
-
20account_tax_balance/models/account_move.py
-
42account_tax_balance/models/account_tax.py
-
1account_tax_balance/readme/CONTRIBUTORS.rst
-
3account_tax_balance/security/ir.model.access.csv
-
7account_tax_balance/static/description/index.html
-
30account_tax_balance/tests/test_account_tax_balance.py
-
8account_tax_balance/views/account_move_view.xml
-
12account_tax_balance/views/account_tax_view.xml
-
2account_tax_balance/wizard/open_tax_balances.py
-
8account_tax_balance/wizard/open_tax_balances_view.xml
@ -0,0 +1,13 @@ |
|||||
|
# Do NOT update manually; changes here will be overwritten by Copier |
||||
|
_commit: v1.1.4 |
||||
|
_src_path: gh:oca/oca-addons-repo-template |
||||
|
dependency_installation_mode: PIP |
||||
|
generate_requirements_txt: true |
||||
|
include_wkhtmltopdf: false |
||||
|
odoo_version: 14.0 |
||||
|
rebel_module_groups: [] |
||||
|
repo_description: "TODO: add repo description." |
||||
|
repo_name: account-financial-reporting |
||||
|
repo_slug: account-financial-reporting |
||||
|
travis_apt_packages: [] |
||||
|
travis_apt_sources: [] |
@ -0,0 +1,13 @@ |
|||||
|
name: pre-commit |
||||
|
|
||||
|
on: |
||||
|
pull_request: |
||||
|
push: |
||||
|
|
||||
|
jobs: |
||||
|
pre-commit: |
||||
|
runs-on: ubuntu-latest |
||||
|
steps: |
||||
|
- uses: actions/checkout@v2 |
||||
|
- uses: actions/setup-python@v2 |
||||
|
- uses: pre-commit/action@v2.0.0 |
@ -0,0 +1,10 @@ |
|||||
|
# OCA Guidelines |
||||
|
|
||||
|
Please follow the official guide from the |
||||
|
[OCA Guidelines page](https://odoo-community.org/page/contributing). |
||||
|
|
||||
|
## Project Specific Guidelines |
||||
|
|
||||
|
<!-- /!\ do not modify above this line --> |
||||
|
|
||||
|
This project does not have specific coding guidelines. |
@ -1,14 +1,41 @@ |
|||||
[![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/91/13.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-account-financial-reporting-91) |
|
||||
[![Build Status](https://travis-ci.org/OCA/account-financial-reporting.svg?branch=13.0)](https://travis-ci.org/OCA/account-financial-reporting) |
|
||||
[![Coverage Status](https://coveralls.io/repos/OCA/account-financial-reporting/badge.png?branch=13.0)](https://coveralls.io/r/OCA/account-financial-reporting?branch=13.0) |
|
||||
|
[![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/91/14.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-account-financial-reporting-91) |
||||
|
[![Build Status](https://travis-ci.com/OCA/account-financial-reporting.svg?branch=14.0)](https://travis-ci.com/OCA/account-financial-reporting) |
||||
|
[![codecov](https://codecov.io/gh/OCA/account-financial-reporting/branch/14.0/graph/badge.svg)](https://codecov.io/gh/OCA/account-financial-reporting) |
||||
|
[![Translation Status](https://translation.odoo-community.org/widgets/account-financial-reporting-14-0/-/svg-badge.svg)](https://translation.odoo-community.org/engage/account-financial-reporting-14-0/?utm_source=widget) |
||||
|
|
||||
Odoo account financial reports |
|
||||
============================== |
|
||||
|
<!-- /!\ do not modify above this line --> |
||||
|
|
||||
This project aims to deal with modules related to financial reports. You'll |
|
||||
find modules that print legal and official reports. This includes, among |
|
||||
others: |
|
||||
|
# account-financial-reporting |
||||
|
|
||||
* One module based on webkit and totally rewritten by camptocamp, for standard |
|
||||
financial reports. |
|
||||
* Another based on RML completely improved by Vauxoo. |
|
||||
|
TODO: add repo description. |
||||
|
|
||||
|
<!-- /!\ do not modify below this line --> |
||||
|
|
||||
|
<!-- prettier-ignore-start --> |
||||
|
|
||||
|
[//]: # (addons) |
||||
|
|
||||
|
Available addons |
||||
|
---------------- |
||||
|
addon | version | maintainers | summary |
||||
|
--- | --- | --- | --- |
||||
|
[account_financial_report](account_financial_report/) | 14.0.1.3.1 | | OCA Financial Reports |
||||
|
[account_tax_balance](account_tax_balance/) | 14.0.1.1.0 | | Compute tax balances based on date range |
||||
|
|
||||
|
[//]: # (end addons) |
||||
|
|
||||
|
<!-- prettier-ignore-end --> |
||||
|
|
||||
|
## Licenses |
||||
|
|
||||
|
This repository is licensed under [AGPL-3.0](LICENSE). |
||||
|
|
||||
|
However, each module can have a totally different license, as long as they adhere to OCA |
||||
|
policy. Consult each module's `__manifest__.py` file, which contains a `license` key |
||||
|
that explains its license. |
||||
|
|
||||
|
---- |
||||
|
|
||||
|
OCA, or the [Odoo Community Association](http://odoo-community.org/), is a nonprofit |
||||
|
organization whose mission is to support the collaborative development of Odoo features |
||||
|
and promote its widespread use. |
1796
account_financial_report/i18n/es_MX.po
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
1834
account_financial_report/i18n/fr_FR.po
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
549
account_financial_report/i18n/pt.po
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,4 +1,4 @@ |
|||||
from . import account |
|
||||
from . import account_group |
from . import account_group |
||||
|
from . import account |
||||
from . import account_move_line |
from . import account_move_line |
||||
from . import ir_actions_report |
from . import ir_actions_report |
@ -1,126 +0,0 @@ |
|||||
# Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com) |
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|
||||
|
|
||||
from odoo import api, models |
|
||||
|
|
||||
|
|
||||
class AgedPartnerBalanceReport(models.AbstractModel): |
|
||||
_name = "report.account_financial_report.abstract_report" |
|
||||
_description = "Abstract Report" |
|
||||
|
|
||||
@api.model |
|
||||
def _get_move_lines_domain_not_reconciled( |
|
||||
self, company_id, account_ids, partner_ids, only_posted_moves, date_from |
|
||||
): |
|
||||
domain = [ |
|
||||
("account_id", "in", account_ids), |
|
||||
("company_id", "=", company_id), |
|
||||
("reconciled", "=", False), |
|
||||
] |
|
||||
if partner_ids: |
|
||||
domain += [("partner_id", "in", partner_ids)] |
|
||||
if only_posted_moves: |
|
||||
domain += [("move_id.state", "=", "posted")] |
|
||||
else: |
|
||||
domain += [("move_id.state", "in", ["posted", "draft"])] |
|
||||
if date_from: |
|
||||
domain += [("date", ">", date_from)] |
|
||||
return domain |
|
||||
|
|
||||
@api.model |
|
||||
def _get_new_move_lines_domain( |
|
||||
self, new_ml_ids, account_ids, company_id, partner_ids, only_posted_moves |
|
||||
): |
|
||||
domain = [ |
|
||||
("account_id", "in", account_ids), |
|
||||
("company_id", "=", company_id), |
|
||||
("id", "in", new_ml_ids), |
|
||||
] |
|
||||
if partner_ids: |
|
||||
domain += [("partner_id", "in", partner_ids)] |
|
||||
if only_posted_moves: |
|
||||
domain += [("move_id.state", "=", "posted")] |
|
||||
else: |
|
||||
domain += [("move_id.state", "in", ["posted", "draft"])] |
|
||||
return domain |
|
||||
|
|
||||
def _recalculate_move_lines( |
|
||||
self, |
|
||||
move_lines, |
|
||||
debit_ids, |
|
||||
credit_ids, |
|
||||
debit_amount, |
|
||||
credit_amount, |
|
||||
ml_ids, |
|
||||
account_ids, |
|
||||
company_id, |
|
||||
partner_ids, |
|
||||
only_posted_moves, |
|
||||
): |
|
||||
debit_ids = set(debit_ids) |
|
||||
credit_ids = set(credit_ids) |
|
||||
in_credit_but_not_in_debit = credit_ids - debit_ids |
|
||||
reconciled_ids = list(debit_ids) + list(in_credit_but_not_in_debit) |
|
||||
reconciled_ids = set(reconciled_ids) |
|
||||
ml_ids = set(ml_ids) |
|
||||
new_ml_ids = reconciled_ids - ml_ids |
|
||||
new_ml_ids = list(new_ml_ids) |
|
||||
new_domain = self._get_new_move_lines_domain( |
|
||||
new_ml_ids, account_ids, company_id, partner_ids, only_posted_moves |
|
||||
) |
|
||||
ml_fields = [ |
|
||||
"id", |
|
||||
"name", |
|
||||
"date", |
|
||||
"move_id", |
|
||||
"journal_id", |
|
||||
"account_id", |
|
||||
"partner_id", |
|
||||
"amount_residual", |
|
||||
"date_maturity", |
|
||||
"ref", |
|
||||
"debit", |
|
||||
"credit", |
|
||||
"reconciled", |
|
||||
"currency_id", |
|
||||
"amount_currency", |
|
||||
"amount_residual_currency", |
|
||||
] |
|
||||
new_move_lines = self.env["account.move.line"].search_read( |
|
||||
domain=new_domain, fields=ml_fields |
|
||||
) |
|
||||
move_lines = move_lines + new_move_lines |
|
||||
for move_line in move_lines: |
|
||||
ml_id = move_line["id"] |
|
||||
if ml_id in debit_ids: |
|
||||
move_line["amount_residual"] += debit_amount[ml_id] |
|
||||
if ml_id in credit_ids: |
|
||||
move_line["amount_residual"] -= credit_amount[ml_id] |
|
||||
return move_lines |
|
||||
|
|
||||
def _get_accounts_data(self, accounts_ids): |
|
||||
accounts = self.env["account.account"].browse(accounts_ids) |
|
||||
accounts_data = {} |
|
||||
for account in accounts: |
|
||||
accounts_data.update( |
|
||||
{ |
|
||||
account.id: { |
|
||||
"id": account.id, |
|
||||
"code": account.code, |
|
||||
"name": account.name, |
|
||||
"hide_account": False, |
|
||||
"group_id": account.group_id.id, |
|
||||
"currency_id": account.currency_id or False, |
|
||||
"currency_name": account.currency_id.name, |
|
||||
"centralized": account.centralized, |
|
||||
} |
|
||||
} |
|
||||
) |
|
||||
return accounts_data |
|
||||
|
|
||||
def _get_journals_data(self, journals_ids): |
|
||||
journals = self.env["account.journal"].browse(journals_ids) |
|
||||
journals_data = {} |
|
||||
for journal in journals: |
|
||||
journals_data.update({journal.id: {"id": journal.id, "code": journal.code}}) |
|
||||
return journals_data |
|
@ -0,0 +1,7 @@ |
|||||
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
||||
|
access_aged_partner_balance_report_wizard,access_aged_partner_balance_report_wizard,model_aged_partner_balance_report_wizard,base.group_user,1,1,1,1 |
||||
|
access_general_ledger_report_wizard,access_general_ledger_report_wizard,model_general_ledger_report_wizard,base.group_user,1,1,1,1 |
||||
|
access_journal_ledger_report_wizard,access_journal_ledger_report_wizard,model_journal_ledger_report_wizard,base.group_user,1,1,1,1 |
||||
|
access_open_items_report_wizard,access_open_items_report_wizard,model_open_items_report_wizard,base.group_user,1,1,1,1 |
||||
|
access_trial_balance_report_wizard,access_trial_balance_report_wizard,model_trial_balance_report_wizard,base.group_user,1,1,1,1 |
||||
|
access_vat_report_wizard,access_vat_report_wizard,model_vat_report_wizard,base.group_user,1,1,1,1 |
@ -0,0 +1,266 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * account_tax_balance |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 14.0\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"PO-Revision-Date: 2021-04-10 15:46+0000\n" |
||||
|
"Last-Translator: Yves Le Doeuff <yld@alliasys.fr>\n" |
||||
|
"Language-Team: none\n" |
||||
|
"Language: fr_FR\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
||||
|
"X-Generator: Weblate 4.3.2\n" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: code:addons/account_tax_balance/wizard/open_tax_balances.py:0 |
||||
|
#, python-format |
||||
|
msgid "%(name)s: %(target)s from %(from)s to %(to)s" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance |
||||
|
msgid "Account Tax" |
||||
|
msgstr "Impot de Compte" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields.selection,name:account_tax_balance.selection__wizard_open_tax_balances__target_move__all |
||||
|
msgid "All Entries" |
||||
|
msgstr "Écritures comptabilisées + non-comptabilisées" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields.selection,name:account_tax_balance.selection__wizard_open_tax_balances__target_move__posted |
||||
|
msgid "All Posted Entries" |
||||
|
msgstr "Écritures comptabilisées seulement" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__balance_regular |
||||
|
msgid "Balance" |
||||
|
msgstr "Solde" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__balance_refund |
||||
|
msgid "Balance Refund" |
||||
|
msgstr "Solde Rembourse" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__base_balance_regular |
||||
|
msgid "Base Balance" |
||||
|
msgstr "Solde de Base" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__base_balance_refund |
||||
|
msgid "Base Balance Refund" |
||||
|
msgstr "Remboursement de Solde de Base" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance |
||||
|
msgid "Base Total" |
||||
|
msgstr "Solde Total de Base" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances |
||||
|
msgid "Cancel" |
||||
|
msgstr "Annuler" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__company_ids |
||||
|
msgid "Companies" |
||||
|
msgstr "Société" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__create_uid |
||||
|
msgid "Created by" |
||||
|
msgstr "Créé par" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__create_date |
||||
|
msgid "Created on" |
||||
|
msgstr "Créé le" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__date_range_id |
||||
|
msgid "Date Range" |
||||
|
msgstr "Plage de date" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__display_name |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line__display_name |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__display_name |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__display_name |
||||
|
msgid "Display Name" |
||||
|
msgstr "Nom affiché" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_bank_statement_line__financial_type |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__financial_type |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_payment__financial_type |
||||
|
msgid "Financial Type" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__from_date |
||||
|
msgid "From Date" |
||||
|
msgstr "A partir de la date" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance |
||||
|
msgid "Group By" |
||||
|
msgstr "Groupe de" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__has_moves |
||||
|
msgid "Has balance in period" |
||||
|
msgstr "Le Solde de la Periode" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__id |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line__id |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__id |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__id |
||||
|
msgid "ID" |
||||
|
msgstr "ID" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model,name:account_tax_balance.model_account_move |
||||
|
msgid "Journal Entry" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model,name:account_tax_balance.model_account_move_line |
||||
|
msgid "Journal Item" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move____last_update |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line____last_update |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax____last_update |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances____last_update |
||||
|
msgid "Last Modified on" |
||||
|
msgstr "Dernière modification le" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__write_uid |
||||
|
msgid "Last Updated by" |
||||
|
msgstr "Dernière mise à jour par" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__write_date |
||||
|
msgid "Last Updated on" |
||||
|
msgstr "Dernière mise à jour le" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_account_move_filter |
||||
|
msgid "Move type" |
||||
|
msgstr "Type change" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances |
||||
|
msgid "Open Taxes" |
||||
|
msgstr "Taxes Ouverts" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance |
||||
|
msgid "Short Name" |
||||
|
msgstr "Nom Court" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__target_move |
||||
|
msgid "Target Moves" |
||||
|
msgstr "Écritures ciblées" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model,name:account_tax_balance.model_account_tax |
||||
|
msgid "Tax" |
||||
|
msgstr "Impot" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance |
||||
|
msgid "Tax Group" |
||||
|
msgstr "Groupe de Taxes" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance |
||||
|
msgid "Tax Scope" |
||||
|
msgstr "But du Taxe" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.actions.act_window,name:account_tax_balance.action_open_tax_balances |
||||
|
#: model:ir.actions.act_window,name:account_tax_balance.action_tax_balances_tree |
||||
|
#: model:ir.ui.menu,name:account_tax_balance.menu_action_open_tax_balances |
||||
|
#: model:ir.ui.menu,name:account_tax_balance.menu_tax_balances |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances |
||||
|
msgid "Taxes Balance" |
||||
|
msgstr "Taxes Totaux" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__to_date |
||||
|
msgid "To Date" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance |
||||
|
msgid "Total" |
||||
|
msgstr "Total" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__balance |
||||
|
msgid "Total Balance" |
||||
|
msgstr "Solde Total" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__base_balance |
||||
|
msgid "Total Base Balance" |
||||
|
msgstr "Solde de Base Total" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: code:addons/account_tax_balance/models/account_tax.py:0 |
||||
|
#, python-format |
||||
|
msgid "Unsupported search operator" |
||||
|
msgstr "Gestionnaire de Recherche Non-appuye" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance |
||||
|
msgid "View base lines" |
||||
|
msgstr "Voir lignes de base" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance |
||||
|
msgid "View base refund lines" |
||||
|
msgstr "Voir les lignes de base de la somme remboursee" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance |
||||
|
msgid "View base regular lines" |
||||
|
msgstr "Voir lignes de bases regulieres" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance |
||||
|
msgid "View tax lines" |
||||
|
msgstr "Visualiser les lignes d'impots" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance |
||||
|
msgid "View tax refund lines" |
||||
|
msgstr "Visualiser les lignes des taxes remboursees" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance |
||||
|
msgid "View tax regular lines" |
||||
|
msgstr "Voir lignes des taxes de la somme remboursee" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model:ir.model,name:account_tax_balance.model_wizard_open_tax_balances |
||||
|
msgid "Wizard Open Tax Balances" |
||||
|
msgstr "Mage Soldes de Taxes Ouverts" |
||||
|
|
||||
|
#. module: account_tax_balance |
||||
|
#: model_terms:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances |
||||
|
msgid "or" |
||||
|
msgstr "ou" |
@ -0,0 +1,31 @@ |
|||||
|
# Copyright 2020 Ozono Multimedia S.L.L. |
||||
|
# Copyright 2021 Simone Rubino - Agile Business Group |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
||||
|
from openupgradelib import openupgrade |
||||
|
|
||||
|
|
||||
|
@openupgrade.migrate() |
||||
|
def migrate(env, version): |
||||
|
""" |
||||
|
Column `move_type` of table `account_move` has been renamed to `financial_type` |
||||
|
because `move_type` is now used by the core, |
||||
|
so the column is moved during migration of module `account` in the core. |
||||
|
Enterprise renames it to `move_type_custom`; |
||||
|
OpenUpgrade renames it to its legacy name. |
||||
|
Move data from the renamed column to the new `financial_type` column. |
||||
|
""" |
||||
|
old_move_type_column = "move_type" |
||||
|
new_move_type_column = "financial_type" |
||||
|
move_table_name = "account_move" |
||||
|
enterprise_move_type_rename = "move_type_custom" |
||||
|
ou_move_type_rename = openupgrade.get_legacy_name(old_move_type_column) |
||||
|
|
||||
|
for move_type_rename in (enterprise_move_type_rename, ou_move_type_rename): |
||||
|
if openupgrade.column_exists(env.cr, move_table_name, move_type_rename): |
||||
|
openupgrade.rename_columns( |
||||
|
env.cr, |
||||
|
{ |
||||
|
move_table_name: [(move_type_rename, new_move_type_column)], |
||||
|
}, |
||||
|
) |
||||
|
break |
@ -0,0 +1,3 @@ |
|||||
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
||||
|
access_wizard_open_tax_balances_user,access_wizard_open_tax_balances,model_wizard_open_tax_balances,account.group_account_user,1,1,1,1 |
||||
|
access_wizard_open_tax_balances_manager,access_wizard_open_tax_balances,model_wizard_open_tax_balances,account.group_account_manager,1,1,1,1 |
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue