From e71508c428ff7b7f822db6a8a9f5918076e64999 Mon Sep 17 00:00:00 2001 From: mreficent Date: Fri, 19 Jul 2019 12:53:47 +0200 Subject: [PATCH 01/16] [DEL] account_fiscal_year --- account_fiscal_year/README.rst | 89 ---- account_fiscal_year/__init__.py | 1 - account_fiscal_year/__manifest__.py | 24 - .../i18n/account_fiscal_year.pot | 40 -- account_fiscal_year/i18n/it.po | 42 -- account_fiscal_year/readme/CONTRIBUTORS.rst | 3 - account_fiscal_year/readme/DESCRIPTION.rst | 6 - .../static/description/icon.png | Bin 9455 -> 0 bytes .../static/description/index.html | 427 ------------------ account_fiscal_year/views/account_views.xml | 13 - 10 files changed, 645 deletions(-) delete mode 100644 account_fiscal_year/README.rst delete mode 100644 account_fiscal_year/__init__.py delete mode 100644 account_fiscal_year/__manifest__.py delete mode 100644 account_fiscal_year/i18n/account_fiscal_year.pot delete mode 100644 account_fiscal_year/i18n/it.po delete mode 100644 account_fiscal_year/readme/CONTRIBUTORS.rst delete mode 100644 account_fiscal_year/readme/DESCRIPTION.rst delete mode 100644 account_fiscal_year/static/description/icon.png delete mode 100644 account_fiscal_year/static/description/index.html delete mode 100644 account_fiscal_year/views/account_views.xml diff --git a/account_fiscal_year/README.rst b/account_fiscal_year/README.rst deleted file mode 100644 index 5c026ad8e..000000000 --- a/account_fiscal_year/README.rst +++ /dev/null @@ -1,89 +0,0 @@ -=================== -Account Fiscal Year -=================== - -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png - :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html - :alt: License: LGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github - :target: https://github.com/OCA/account-financial-tools/tree/12.0/account_fiscal_year - :alt: OCA/account-financial-tools -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_fiscal_year - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/92/12.0 - :alt: Try me on Runbot - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module just adds the menu - -Invoicing > Configuration > Accounting > Fiscal Years - -This is totally refactored compared to 11 version, because odoo 12 introduced `account.fiscal.year` object. -See https://github.com/OCA/account-financial-tools/pull/706 - -**Table of contents** - -.. contents:: - :local: - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Agile Business Group -* Camptocamp SA - -Contributors -~~~~~~~~~~~~ - -* Damien Crier -* Laurent Mignon -* Lorenzo Battistini - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -.. |maintainer-eLBati| image:: https://github.com/eLBati.png?size=40px - :target: https://github.com/eLBati - :alt: eLBati - -Current `maintainer `__: - -|maintainer-eLBati| - -This module is part of the `OCA/account-financial-tools `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_fiscal_year/__init__.py b/account_fiscal_year/__init__.py deleted file mode 100644 index d6e7b2e6c..000000000 --- a/account_fiscal_year/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). diff --git a/account_fiscal_year/__manifest__.py b/account_fiscal_year/__manifest__.py deleted file mode 100644 index 9efe49945..000000000 --- a/account_fiscal_year/__manifest__.py +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2016 Camptocamp SA -# Copyright 2018 Lorenzo Battistini -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). -{ - "name": "Account Fiscal Year", - "summary": "Create a menu for Account Fiscal Year", - "version": "12.0.1.0.0", - "development_status": "Beta", - "category": "Accounting", - "website": "https://github.com/OCA/account-financial-tools", - "author": "Agile Business Group, Camptocamp SA, " - "Odoo Community Association (OCA)", - "maintainers": ["eLBati"], - "license": "LGPL-3", - "application": False, - "installable": True, - "depends": [ - "account", - "date_range", - ], - "data": [ - "views/account_views.xml" - ], -} diff --git a/account_fiscal_year/i18n/account_fiscal_year.pot b/account_fiscal_year/i18n/account_fiscal_year.pot deleted file mode 100644 index 9e6563362..000000000 --- a/account_fiscal_year/i18n/account_fiscal_year.pot +++ /dev/null @@ -1,40 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_actions_account_fiscal_year -msgid "Fiscal Years" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_generator_action -msgid "Generate Date Ranges" -msgstr "" - diff --git a/account_fiscal_year/i18n/it.po b/account_fiscal_year/i18n/it.po deleted file mode 100644 index ff9d76872..000000000 --- a/account_fiscal_year/i18n/it.po +++ /dev/null @@ -1,42 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2018-12-24 16:58+0000\n" -"Last-Translator: Sergio Zanchetta \n" -"Language-Team: none\n" -"Language: it\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 3.3\n" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "Tipi di intervallo data" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "Intervalli data" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "Intervalli data" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_actions_account_fiscal_year -msgid "Fiscal Years" -msgstr "Anni fiscali" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_generator_action -msgid "Generate Date Ranges" -msgstr "Generazione intervalli data" diff --git a/account_fiscal_year/readme/CONTRIBUTORS.rst b/account_fiscal_year/readme/CONTRIBUTORS.rst deleted file mode 100644 index d157ae523..000000000 --- a/account_fiscal_year/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,3 +0,0 @@ -* Damien Crier -* Laurent Mignon -* Lorenzo Battistini diff --git a/account_fiscal_year/readme/DESCRIPTION.rst b/account_fiscal_year/readme/DESCRIPTION.rst deleted file mode 100644 index 0fc5d7ab9..000000000 --- a/account_fiscal_year/readme/DESCRIPTION.rst +++ /dev/null @@ -1,6 +0,0 @@ -This module just adds the menu - -Invoicing > Configuration > Accounting > Fiscal Years - -This is totally refactored compared to 11 version, because odoo 12 introduced `account.fiscal.year` object. -See https://github.com/OCA/account-financial-tools/pull/706 diff --git a/account_fiscal_year/static/description/icon.png b/account_fiscal_year/static/description/icon.png deleted file mode 100644 index 3a0328b516c4980e8e44cdb63fd945757ddd132d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH zG%WWW>3ml$Yez?i%)2pbKPI7?5o?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kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I diff --git a/account_fiscal_year/static/description/index.html b/account_fiscal_year/static/description/index.html deleted file mode 100644 index 782b61f08..000000000 --- a/account_fiscal_year/static/description/index.html +++ /dev/null @@ -1,427 +0,0 @@ - - - - - - -Account Fiscal Year - - - -
-

Account Fiscal Year

- - -

Beta License: LGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runbot

-

This module just adds the menu

-

Invoicing > Configuration > Accounting > Fiscal Years

-

This is totally refactored compared to 11 version, because odoo 12 introduced account.fiscal.year object. -See https://github.com/OCA/account-financial-tools/pull/706

-

Table of contents

- -
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Agile Business Group
  • -
  • Camptocamp SA
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

Current maintainer:

-

eLBati

-

This module is part of the OCA/account-financial-tools project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/account_fiscal_year/views/account_views.xml b/account_fiscal_year/views/account_views.xml deleted file mode 100644 index ad1a385a0..000000000 --- a/account_fiscal_year/views/account_views.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - From 0da2a0023bb2a76c9d22488e0b4232405b04f8cf Mon Sep 17 00:00:00 2001 From: Damien Crier Date: Wed, 27 Apr 2016 15:32:36 +0200 Subject: [PATCH 02/16] [ADD] add module "account_fiscal_year" --- account_fiscal_year/README.rst | 78 +++++++++++++++++++ account_fiscal_year/__init__.py | 6 ++ account_fiscal_year/__openerp__.py | 30 +++++++ account_fiscal_year/data/date_range_type.xml | 10 +++ account_fiscal_year/models/__init__.py | 8 ++ account_fiscal_year/models/date_range.py | 25 ++++++ account_fiscal_year/models/date_range_type.py | 12 +++ account_fiscal_year/models/res_company.py | 45 +++++++++++ account_fiscal_year/tests/__init__.py | 6 ++ .../tests/test_account_fiscal_year.py | 54 +++++++++++++ account_fiscal_year/views/date_range_type.xml | 27 +++++++ 11 files changed, 301 insertions(+) create mode 100644 account_fiscal_year/README.rst create mode 100644 account_fiscal_year/__init__.py create mode 100644 account_fiscal_year/__openerp__.py create mode 100644 account_fiscal_year/data/date_range_type.xml create mode 100644 account_fiscal_year/models/__init__.py create mode 100644 account_fiscal_year/models/date_range.py create mode 100644 account_fiscal_year/models/date_range_type.py create mode 100644 account_fiscal_year/models/res_company.py create mode 100644 account_fiscal_year/tests/__init__.py create mode 100644 account_fiscal_year/tests/test_account_fiscal_year.py create mode 100644 account_fiscal_year/views/date_range_type.xml diff --git a/account_fiscal_year/README.rst b/account_fiscal_year/README.rst new file mode 100644 index 000000000..e4cde7192 --- /dev/null +++ b/account_fiscal_year/README.rst @@ -0,0 +1,78 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +=================== +Account Fiscal Year +=================== + +This module extends date.range.type to add fiscal_year flag. + +Override official res_company.compute_fiscal_year_dates to get the +fiscal year date start / date end for any given date. +That methods first looks for a date range of type fiscal year that +encloses the give date. +If it does not find it, it falls back on the standard Odoo +technique based on the day/month of end of fiscal year. + +Installation +============ + +Just install it + +Configuration +============= + +Nothing + +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch} + +.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt +.. branch is "8.0" for example + +Known issues / Roadmap +====================== + +* ... + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed feedback. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Damien Crier +* ... + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/account_fiscal_year/__init__.py b/account_fiscal_year/__init__.py new file mode 100644 index 000000000..bf8a462ec --- /dev/null +++ b/account_fiscal_year/__init__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# Author: Damien Crier +# Copyright 2016 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import models diff --git a/account_fiscal_year/__openerp__.py b/account_fiscal_year/__openerp__.py new file mode 100644 index 000000000..48325cfba --- /dev/null +++ b/account_fiscal_year/__openerp__.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Author: Damien Crier +# Copyright 2016 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + 'name': 'Account Fiscal Year', + 'version': '9.0.0.1.0', + 'category': 'Accounting', + 'author': 'Camptocamp SA,' + 'Odoo Community Association (OCA)', + 'website': 'http://www.camptocamp.com', + 'depends': [ + 'account', + 'date_range' + ], + 'data': [ + 'data/date_range_type.xml', + 'views/date_range_type.xml', + ], + 'test': [ + ], + 'demo': [ + ], + 'qweb': [ + ], + 'installable': True, + 'application': True, + 'auto_install': False, + 'license': 'AGPL-3', +} diff --git a/account_fiscal_year/data/date_range_type.xml b/account_fiscal_year/data/date_range_type.xml new file mode 100644 index 000000000..40ec799a5 --- /dev/null +++ b/account_fiscal_year/data/date_range_type.xml @@ -0,0 +1,10 @@ + + + + + Fiscal Year + + + + + diff --git a/account_fiscal_year/models/__init__.py b/account_fiscal_year/models/__init__.py new file mode 100644 index 000000000..cd0d21426 --- /dev/null +++ b/account_fiscal_year/models/__init__.py @@ -0,0 +1,8 @@ +# -*- coding: utf-8 -*- +# Author: Damien Crier +# Copyright 2016 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import date_range +from . import date_range_type +from . import res_company diff --git a/account_fiscal_year/models/date_range.py b/account_fiscal_year/models/date_range.py new file mode 100644 index 000000000..45c72a592 --- /dev/null +++ b/account_fiscal_year/models/date_range.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Author: Damien Crier +# Copyright 2016 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openerp import models +from openerp.tools import (DEFAULT_SERVER_DATETIME_FORMAT) + + +class DateRange(models.Model): + _inherit = 'date.range' + + def find_daterange_fy_start(self, date): + """ + try to find a date range with type 'fiscalyear' + with @param:date <= date_start + """ + fy_id = self.env.ref('account_fiscal_year.fiscalyear') + date_str = date.strftime(DEFAULT_SERVER_DATETIME_FORMAT) + s_args = [ + ('type_id', '=', fy_id.id), + ('date_start', '<=', date_str), + ('company_id', '=', self.company_id.id), + ] + date_range = self.env['date.range'].search(s_args) + return date_range.date_start diff --git a/account_fiscal_year/models/date_range_type.py b/account_fiscal_year/models/date_range_type.py new file mode 100644 index 000000000..f621fd10e --- /dev/null +++ b/account_fiscal_year/models/date_range_type.py @@ -0,0 +1,12 @@ +# -*- coding: utf-8 -*- +# Author: Damien Crier +# Copyright 2016 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openerp import models, fields + + +class DateRangeType(models.Model): + _inherit = "date.range.type" + + fiscal_year = fields.Boolean(string='Is fiscal year ?', default=False) diff --git a/account_fiscal_year/models/res_company.py b/account_fiscal_year/models/res_company.py new file mode 100644 index 000000000..b7741b1d5 --- /dev/null +++ b/account_fiscal_year/models/res_company.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Author: Damien Crier +# Copyright 2016 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openerp import models, fields, api +from openerp.tools import (DEFAULT_SERVER_DATETIME_FORMAT) + + +class ResCompany(models.Model): + _inherit = 'res.company' + + def find_daterange_fy(self, date): + """ + try to find a date range with type 'fiscalyear' + with @param:date contained in its date_start/date_end interval + """ + fy_id = self.env.ref('account_fiscal_year.fiscalyear') + date_str = date.strftime(DEFAULT_SERVER_DATETIME_FORMAT) + s_args = [ + ('type_id', '=', fy_id.id), + ('date_start', '<=', date_str), + ('date_end', '>=', date_str), + ('company_id', '=', self.id), + ] + date_range = self.env['date.range'].search(s_args) + return date_range + + @api.multi + def compute_fiscalyear_dates(self, date): + """ Computes the start and end dates of the fiscalyear where the given + 'date' belongs to + @param date: a datetime object + @returns: a dictionary with date_from and date_to + """ + self = self[0] + date_range = self.find_daterange_fy(date) + if date_range: + # do stuff and override 'normal' behaviour + return { + 'date_from': fields.Date.from_string(date_range[0].date_start), + 'date_to': fields.Date.from_string(date_range[0].date_end), + } + else: + # fall back to standard Odoo computation + return super(ResCompany, self).compute_fiscalyear_dates(date) diff --git a/account_fiscal_year/tests/__init__.py b/account_fiscal_year/tests/__init__.py new file mode 100644 index 000000000..a3ec533e5 --- /dev/null +++ b/account_fiscal_year/tests/__init__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# Author: Damien Crier +# Copyright 2016 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import test_account_fiscal_year diff --git a/account_fiscal_year/tests/test_account_fiscal_year.py b/account_fiscal_year/tests/test_account_fiscal_year.py new file mode 100644 index 000000000..ad7c1f5a8 --- /dev/null +++ b/account_fiscal_year/tests/test_account_fiscal_year.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- +# Author: Damien Crier +# Copyright 2016 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import openerp.tests.common as common +from openerp import fields +from openerp.tools import (DEFAULT_SERVER_DATE_FORMAT, + DEFAULT_SERVER_DATETIME_FORMAT) + + +def to_odoo_datetime(date): + return date.strftime(DEFAULT_SERVER_DATETIME_FORMAT) + + +def to_odoo_date(date): + return date.strftime(DEFAULT_SERVER_DATE_FORMAT) + + +class TestAccountFiscalYear(common.TransactionCase): + + def setUp(self): + super(TestAccountFiscalYear, self).setUp() + self.today_date = fields.Date.from_string(fields.Date.today()) + self.company = self.env.ref('base.main_company') + + def test_example(self): + demo_date_range = self.env['date.range'].create( + {'name': 'FY%s' % (self.today_date.year), + 'date_start': '%s-01-01' % self.today_date.year, + 'date_end': '%s-12-31' % self.today_date.year, + 'type_id': self.env.ref('account_fiscal_year.fiscalyear').id, + 'company_id': self.company.id, + 'active': True}) + result = self.company.compute_fiscalyear_dates(self.today_date) + self.assertEqual(to_odoo_datetime(result['date_from']), + demo_date_range.date_start) + self.assertEqual(to_odoo_datetime(result['date_to']), + demo_date_range.date_end) + + def test_example2(self): + demo_date_range = self.env['date.range'].create( + {'name': 'FY%s' % (self.today_date.year), + 'date_start': '%s-03-01' % self.today_date.year, + 'date_end': '%s-12-31' % self.today_date.year, + 'type_id': self.env.ref('account_fiscal_year.fiscalyear').id, + 'company_id': self.company.id, + 'active': True}) + result = self.company.compute_fiscalyear_dates(self.today_date) + if to_odoo_date(self.today_date) >= demo_date_range.date_start: + self.assertEqual(to_odoo_datetime(result['date_from']), + demo_date_range.date_start) + self.assertEqual(to_odoo_datetime(result['date_to']), + demo_date_range.date_end) diff --git a/account_fiscal_year/views/date_range_type.xml b/account_fiscal_year/views/date_range_type.xml new file mode 100644 index 000000000..2acc78048 --- /dev/null +++ b/account_fiscal_year/views/date_range_type.xml @@ -0,0 +1,27 @@ + + + + + + date.range.type.tree + date.range.type + + + + + + + + + date.range.type.form + date.range.type + + + + + + + + + + From 0a0cae277139890adae2bc8d6f795fb48151a622 Mon Sep 17 00:00:00 2001 From: Laurent Mignon Date: Thu, 28 Apr 2016 11:50:23 +0200 Subject: [PATCH 03/16] [FIX] Tests --- .../tests/test_account_fiscal_year.py | 62 ++++++++----------- 1 file changed, 27 insertions(+), 35 deletions(-) diff --git a/account_fiscal_year/tests/test_account_fiscal_year.py b/account_fiscal_year/tests/test_account_fiscal_year.py index ad7c1f5a8..0167437cb 100644 --- a/account_fiscal_year/tests/test_account_fiscal_year.py +++ b/account_fiscal_year/tests/test_account_fiscal_year.py @@ -2,53 +2,45 @@ # Author: Damien Crier # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +import datetime +from dateutil.relativedelta import relativedelta -import openerp.tests.common as common from openerp import fields -from openerp.tools import (DEFAULT_SERVER_DATE_FORMAT, - DEFAULT_SERVER_DATETIME_FORMAT) - - -def to_odoo_datetime(date): - return date.strftime(DEFAULT_SERVER_DATETIME_FORMAT) - - -def to_odoo_date(date): - return date.strftime(DEFAULT_SERVER_DATE_FORMAT) +import openerp.tests.common as common class TestAccountFiscalYear(common.TransactionCase): def setUp(self): super(TestAccountFiscalYear, self).setUp() - self.today_date = fields.Date.from_string(fields.Date.today()) + self.today_date = datetime.date.today() + relativedelta(years=100) self.company = self.env.ref('base.main_company') - def test_example(self): + def test_compute_fiscalyear(self): + """Check that a call to that Odoo's method returns the dates from + a fiscal year date range if one exists for the given date + """ + # check that the result by default from 1/1 31/12 + result = self.company.compute_fiscalyear_dates(self.today_date) + self.assertEquals( + result['date_from'], + datetime.date(self.today_date.year, 1, 1)) + self.assertEquals( + result['date_to'], + datetime.date(self.today_date.year, 12, 31)) + # create a fiscal year with different limits demo_date_range = self.env['date.range'].create( {'name': 'FY%s' % (self.today_date.year), - 'date_start': '%s-01-01' % self.today_date.year, - 'date_end': '%s-12-31' % self.today_date.year, + 'date_start': '%s-04-01' % self.today_date.year, + 'date_end': '%s-11-30' % self.today_date.year, 'type_id': self.env.ref('account_fiscal_year.fiscalyear').id, 'company_id': self.company.id, 'active': True}) - result = self.company.compute_fiscalyear_dates(self.today_date) - self.assertEqual(to_odoo_datetime(result['date_from']), - demo_date_range.date_start) - self.assertEqual(to_odoo_datetime(result['date_to']), - demo_date_range.date_end) - - def test_example2(self): - demo_date_range = self.env['date.range'].create( - {'name': 'FY%s' % (self.today_date.year), - 'date_start': '%s-03-01' % self.today_date.year, - 'date_end': '%s-12-31' % self.today_date.year, - 'type_id': self.env.ref('account_fiscal_year.fiscalyear').id, - 'company_id': self.company.id, - 'active': True}) - result = self.company.compute_fiscalyear_dates(self.today_date) - if to_odoo_date(self.today_date) >= demo_date_range.date_start: - self.assertEqual(to_odoo_datetime(result['date_from']), - demo_date_range.date_start) - self.assertEqual(to_odoo_datetime(result['date_to']), - demo_date_range.date_end) + result = self.company.compute_fiscalyear_dates( + datetime.date(self.today_date.year, 5, 4)) + self.assertEqual( + result['date_from'], + fields.Date.from_string(demo_date_range.date_start)) + self.assertEqual( + result['date_to'], + fields.Date.from_string(demo_date_range.date_end)) From 234d5a9816103ee08ac05a3a4181b99a6c8770fa Mon Sep 17 00:00:00 2001 From: Damien Crier Date: Thu, 28 Apr 2016 22:59:54 +0200 Subject: [PATCH 04/16] [FIX*IMP] account_fiscal_year * Add contributors to README * try to find a FY start date according to the start date from choosen period * Unable to unlink a date_range with type fiscal_year * `fiscal_year` flag readonly * add menu to date_range under accounting section * remove method on object because it's the same as in file * unable to delete with flag 'fiscal_year' but can delete * clean __openerp__.py * account_fiscal_year version number --- account_fiscal_year/README.rst | 16 ++++-------- account_fiscal_year/__openerp__.py | 8 +----- account_fiscal_year/models/__init__.py | 1 - account_fiscal_year/models/date_range.py | 25 ------------------- account_fiscal_year/models/date_range_type.py | 16 +++++++++++- account_fiscal_year/views/date_range_type.xml | 10 ++++++-- 6 files changed, 29 insertions(+), 47 deletions(-) delete mode 100644 account_fiscal_year/models/date_range.py diff --git a/account_fiscal_year/README.rst b/account_fiscal_year/README.rst index e4cde7192..8142bb409 100644 --- a/account_fiscal_year/README.rst +++ b/account_fiscal_year/README.rst @@ -6,9 +6,9 @@ Account Fiscal Year =================== -This module extends date.range.type to add fiscal_year flag. +This module extends `date.range.type` to add `fiscal_year` flag. -Override official res_company.compute_fiscal_year_dates to get the +Override official `res_company.compute_fiscal_year_dates` to get the fiscal year date start / date end for any given date. That methods first looks for a date range of type fiscal year that encloses the give date. @@ -30,15 +30,8 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch} + :target: https://runbot.odoo-community.org/runbot/92/9.0 -.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt -.. branch is "8.0" for example - -Known issues / Roadmap -====================== - -* ... Bug Tracker =========== @@ -60,7 +53,8 @@ Contributors ------------ * Damien Crier -* ... +* Laurent Mignon +* Lorenzo Battistini Maintainer ---------- diff --git a/account_fiscal_year/__openerp__.py b/account_fiscal_year/__openerp__.py index 48325cfba..dd5a290e7 100644 --- a/account_fiscal_year/__openerp__.py +++ b/account_fiscal_year/__openerp__.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'Account Fiscal Year', - 'version': '9.0.0.1.0', + 'version': '9.0.1.0.0', 'category': 'Accounting', 'author': 'Camptocamp SA,' 'Odoo Community Association (OCA)', @@ -17,12 +17,6 @@ 'data/date_range_type.xml', 'views/date_range_type.xml', ], - 'test': [ - ], - 'demo': [ - ], - 'qweb': [ - ], 'installable': True, 'application': True, 'auto_install': False, diff --git a/account_fiscal_year/models/__init__.py b/account_fiscal_year/models/__init__.py index cd0d21426..27d10cd58 100644 --- a/account_fiscal_year/models/__init__.py +++ b/account_fiscal_year/models/__init__.py @@ -3,6 +3,5 @@ # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from . import date_range from . import date_range_type from . import res_company diff --git a/account_fiscal_year/models/date_range.py b/account_fiscal_year/models/date_range.py deleted file mode 100644 index 45c72a592..000000000 --- a/account_fiscal_year/models/date_range.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -# Author: Damien Crier -# Copyright 2016 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models -from openerp.tools import (DEFAULT_SERVER_DATETIME_FORMAT) - - -class DateRange(models.Model): - _inherit = 'date.range' - - def find_daterange_fy_start(self, date): - """ - try to find a date range with type 'fiscalyear' - with @param:date <= date_start - """ - fy_id = self.env.ref('account_fiscal_year.fiscalyear') - date_str = date.strftime(DEFAULT_SERVER_DATETIME_FORMAT) - s_args = [ - ('type_id', '=', fy_id.id), - ('date_start', '<=', date_str), - ('company_id', '=', self.company_id.id), - ] - date_range = self.env['date.range'].search(s_args) - return date_range.date_start diff --git a/account_fiscal_year/models/date_range_type.py b/account_fiscal_year/models/date_range_type.py index f621fd10e..34dd8dfcc 100644 --- a/account_fiscal_year/models/date_range_type.py +++ b/account_fiscal_year/models/date_range_type.py @@ -3,10 +3,24 @@ # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, fields +from openerp import models, fields, api, _, exceptions class DateRangeType(models.Model): _inherit = "date.range.type" fiscal_year = fields.Boolean(string='Is fiscal year ?', default=False) + + @api.multi + def unlink(self): + """ + Cannot delete a date_range_type with 'fiscal_year' flag = True + """ + for rec in self: + if rec.fiscal_year: + raise exceptions.ValidationError( + _('You cannot delete a date range type with ' + 'flag "fiscal_year"') + ) + else: + super(DateRangeType, rec).unlink() diff --git a/account_fiscal_year/views/date_range_type.xml b/account_fiscal_year/views/date_range_type.xml index 2acc78048..4be9569ac 100644 --- a/account_fiscal_year/views/date_range_type.xml +++ b/account_fiscal_year/views/date_range_type.xml @@ -8,7 +8,7 @@ - + @@ -18,10 +18,16 @@ - + + + + + From dc8b30b35bf04d38bc324474c7e3a8db268bcc0e Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Fri, 13 May 2016 21:00:32 -0400 Subject: [PATCH 05/16] OCA Transbot updated translations from Transifex --- account_fiscal_year/i18n/de.po | 60 +++++++++++++++++++++++++++++++ account_fiscal_year/i18n/fr.po | 59 ++++++++++++++++++++++++++++++ account_fiscal_year/i18n/hr_HR.po | 60 +++++++++++++++++++++++++++++++ account_fiscal_year/i18n/pt_BR.po | 60 +++++++++++++++++++++++++++++++ account_fiscal_year/i18n/sl.po | 59 ++++++++++++++++++++++++++++++ 5 files changed, 298 insertions(+) create mode 100644 account_fiscal_year/i18n/de.po create mode 100644 account_fiscal_year/i18n/fr.po create mode 100644 account_fiscal_year/i18n/hr_HR.po create mode 100644 account_fiscal_year/i18n/pt_BR.po create mode 100644 account_fiscal_year/i18n/sl.po diff --git a/account_fiscal_year/i18n/de.po b/account_fiscal_year/i18n/de.po new file mode 100644 index 000000000..9ce69d719 --- /dev/null +++ b/account_fiscal_year/i18n/de.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# Rudolf Schnapka , 2016 +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-27 02:44+0000\n" +"PO-Revision-Date: 2016-05-23 07:25+0000\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German (http://www.transifex.com/oca/OCA-account-financial-tools-9-0/language/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Unternehmen" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Arten von Zeiträumen" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Zeiträume" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Zeiträume" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "Geschäftsjahr" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year ?" +msgstr "Ist Geschäftsjahr?" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "Sie dürfen eine Zeitraumart mit Kennzeichen \"Geschäftsjahr\" nicht löschen" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/fr.po b/account_fiscal_year/i18n/fr.po new file mode 100644 index 000000000..2bb3ca6f3 --- /dev/null +++ b/account_fiscal_year/i18n/fr.po @@ -0,0 +1,59 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-01 02:44+0000\n" +"PO-Revision-Date: 2016-05-09 17:06+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-account-financial-tools-9-0/language/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year ?" +msgstr "" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" diff --git a/account_fiscal_year/i18n/hr_HR.po b/account_fiscal_year/i18n/hr_HR.po new file mode 100644 index 000000000..69d84672a --- /dev/null +++ b/account_fiscal_year/i18n/hr_HR.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# Bole , 2016 +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-28 01:06+0000\n" +"PO-Revision-Date: 2016-05-31 15:31+0000\n" +"Last-Translator: Bole \n" +"Language-Team: Croatian (Croatia) (http://www.transifex.com/oca/OCA-account-financial-tools-9-0/language/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_HR\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Poduzeća" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Tipovi raspona datuma" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Rasponi datuma" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Rasponi datuma" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "Fiskalna godina" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year ?" +msgstr "Je fiskalna godina?" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "Nije moguće brisanje raspona datuma sa oznakom \"fiskalna godina\"" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/pt_BR.po b/account_fiscal_year/i18n/pt_BR.po new file mode 100644 index 000000000..62548a45e --- /dev/null +++ b/account_fiscal_year/i18n/pt_BR.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# Cezar , 2016 +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-10 02:45+0000\n" +"PO-Revision-Date: 2016-09-16 01:30+0000\n" +"Last-Translator: Cezar \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-financial-tools-9-0/language/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Empresas" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Tipos de períodos" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Períodos" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Períodos" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "Ano Fiscal" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year ?" +msgstr "É ano fiscal?" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "Você não pode apagar um tipo de período marcado como \"ano_fiscal\"" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/sl.po b/account_fiscal_year/i18n/sl.po new file mode 100644 index 000000000..b7eea8c45 --- /dev/null +++ b/account_fiscal_year/i18n/sl.po @@ -0,0 +1,59 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-01 02:44+0000\n" +"PO-Revision-Date: 2016-05-09 17:06+0000\n" +"Last-Translator: <>\n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-account-financial-tools-9-0/language/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Družbe" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year ?" +msgstr "" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" From c5e208c5fbbedc4508d3282ff7e13fc25edc4c74 Mon Sep 17 00:00:00 2001 From: Antonio Esposito Date: Tue, 11 Oct 2016 10:16:41 +0200 Subject: [PATCH 06/16] [10.0][MIGRATION] Migrated module 'account_fiscal_year' to V10 (#407) [MIG] Migrated module 'account_fiscal_year' to V10 --- account_fiscal_year/README.rst | 4 +- .../{__openerp__.py => __manifest__.py} | 2 +- account_fiscal_year/data/date_range_type.xml | 6 +- account_fiscal_year/i18n/de.po | 2 +- account_fiscal_year/i18n/fr.po | 2 +- account_fiscal_year/i18n/hr_HR.po | 2 +- account_fiscal_year/i18n/it.po | 58 +++++++++++++++++++ account_fiscal_year/i18n/pt_BR.po | 2 +- account_fiscal_year/i18n/sl.po | 2 +- account_fiscal_year/models/date_range_type.py | 4 +- account_fiscal_year/models/res_company.py | 5 +- .../tests/test_account_fiscal_year.py | 6 +- account_fiscal_year/views/date_range_type.xml | 6 +- 13 files changed, 77 insertions(+), 24 deletions(-) rename account_fiscal_year/{__openerp__.py => __manifest__.py} (95%) create mode 100644 account_fiscal_year/i18n/it.po diff --git a/account_fiscal_year/README.rst b/account_fiscal_year/README.rst index 8142bb409..88b788cc7 100644 --- a/account_fiscal_year/README.rst +++ b/account_fiscal_year/README.rst @@ -30,14 +30,14 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/92/9.0 + :target: https://runbot.odoo-community.org/runbot/92/10.0 Bug Tracker =========== Bugs are tracked on `GitHub Issues -`_. In case of trouble, please +`_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback. diff --git a/account_fiscal_year/__openerp__.py b/account_fiscal_year/__manifest__.py similarity index 95% rename from account_fiscal_year/__openerp__.py rename to account_fiscal_year/__manifest__.py index dd5a290e7..2aa2d5ddc 100644 --- a/account_fiscal_year/__openerp__.py +++ b/account_fiscal_year/__manifest__.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'Account Fiscal Year', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Accounting', 'author': 'Camptocamp SA,' 'Odoo Community Association (OCA)', diff --git a/account_fiscal_year/data/date_range_type.xml b/account_fiscal_year/data/date_range_type.xml index 40ec799a5..480afb3c5 100644 --- a/account_fiscal_year/data/date_range_type.xml +++ b/account_fiscal_year/data/date_range_type.xml @@ -1,10 +1,8 @@ - - + Fiscal Year - - + diff --git a/account_fiscal_year/i18n/de.po b/account_fiscal_year/i18n/de.po index 9ce69d719..9fd78b898 100644 --- a/account_fiscal_year/i18n/de.po +++ b/account_fiscal_year/i18n/de.po @@ -45,7 +45,7 @@ msgstr "Geschäftsjahr" #. module: account_fiscal_year #: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year ?" +msgid "Is fiscal year?" msgstr "Ist Geschäftsjahr?" #. module: account_fiscal_year diff --git a/account_fiscal_year/i18n/fr.po b/account_fiscal_year/i18n/fr.po index 2bb3ca6f3..429b8f491 100644 --- a/account_fiscal_year/i18n/fr.po +++ b/account_fiscal_year/i18n/fr.po @@ -44,7 +44,7 @@ msgstr "" #. module: account_fiscal_year #: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year ?" +msgid "Is fiscal year?" msgstr "" #. module: account_fiscal_year diff --git a/account_fiscal_year/i18n/hr_HR.po b/account_fiscal_year/i18n/hr_HR.po index 69d84672a..9313e99d5 100644 --- a/account_fiscal_year/i18n/hr_HR.po +++ b/account_fiscal_year/i18n/hr_HR.po @@ -45,7 +45,7 @@ msgstr "Fiskalna godina" #. module: account_fiscal_year #: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year ?" +msgid "Is fiscal year?" msgstr "Je fiskalna godina?" #. module: account_fiscal_year diff --git a/account_fiscal_year/i18n/it.po b/account_fiscal_year/i18n/it.po new file mode 100644 index 000000000..0c8f13ab3 --- /dev/null +++ b/account_fiscal_year/i18n/it.po @@ -0,0 +1,58 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0alpha1e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-10-10 07:16+0000\n" +"PO-Revision-Date: 2016-10-10 07:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Aziende" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Tipi di Intervalli di Date" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Intervalli di Date" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Intervalli di date" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "Anno Fiscale" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "Anno Fiscale?" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "Non è possibile rimuovere un intervallo di date con flag \"Anno Fiscale\"" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "date.range.type" + diff --git a/account_fiscal_year/i18n/pt_BR.po b/account_fiscal_year/i18n/pt_BR.po index 62548a45e..3bdbacea9 100644 --- a/account_fiscal_year/i18n/pt_BR.po +++ b/account_fiscal_year/i18n/pt_BR.po @@ -45,7 +45,7 @@ msgstr "Ano Fiscal" #. module: account_fiscal_year #: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year ?" +msgid "Is fiscal year?" msgstr "É ano fiscal?" #. module: account_fiscal_year diff --git a/account_fiscal_year/i18n/sl.po b/account_fiscal_year/i18n/sl.po index b7eea8c45..4cf7a8448 100644 --- a/account_fiscal_year/i18n/sl.po +++ b/account_fiscal_year/i18n/sl.po @@ -44,7 +44,7 @@ msgstr "" #. module: account_fiscal_year #: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year ?" +msgid "Is fiscal year?" msgstr "" #. module: account_fiscal_year diff --git a/account_fiscal_year/models/date_range_type.py b/account_fiscal_year/models/date_range_type.py index 34dd8dfcc..95b773c68 100644 --- a/account_fiscal_year/models/date_range_type.py +++ b/account_fiscal_year/models/date_range_type.py @@ -3,13 +3,13 @@ # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, fields, api, _, exceptions +from odoo import models, fields, api, _, exceptions class DateRangeType(models.Model): _inherit = "date.range.type" - fiscal_year = fields.Boolean(string='Is fiscal year ?', default=False) + fiscal_year = fields.Boolean(string='Is fiscal year?', default=False) @api.multi def unlink(self): diff --git a/account_fiscal_year/models/res_company.py b/account_fiscal_year/models/res_company.py index b7741b1d5..234517b23 100644 --- a/account_fiscal_year/models/res_company.py +++ b/account_fiscal_year/models/res_company.py @@ -2,8 +2,7 @@ # Author: Damien Crier # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, fields, api -from openerp.tools import (DEFAULT_SERVER_DATETIME_FORMAT) +from odoo import models, fields, api class ResCompany(models.Model): @@ -15,7 +14,7 @@ class ResCompany(models.Model): with @param:date contained in its date_start/date_end interval """ fy_id = self.env.ref('account_fiscal_year.fiscalyear') - date_str = date.strftime(DEFAULT_SERVER_DATETIME_FORMAT) + date_str = fields.Datetime.to_string(date) s_args = [ ('type_id', '=', fy_id.id), ('date_start', '<=', date_str), diff --git a/account_fiscal_year/tests/test_account_fiscal_year.py b/account_fiscal_year/tests/test_account_fiscal_year.py index 0167437cb..6f41c8ae7 100644 --- a/account_fiscal_year/tests/test_account_fiscal_year.py +++ b/account_fiscal_year/tests/test_account_fiscal_year.py @@ -5,11 +5,11 @@ import datetime from dateutil.relativedelta import relativedelta -from openerp import fields -import openerp.tests.common as common +from odoo import fields +from odoo.tests.common import TransactionCase -class TestAccountFiscalYear(common.TransactionCase): +class TestAccountFiscalYear(TransactionCase): def setUp(self): super(TestAccountFiscalYear, self).setUp() diff --git a/account_fiscal_year/views/date_range_type.xml b/account_fiscal_year/views/date_range_type.xml index 4be9569ac..ad2608445 100644 --- a/account_fiscal_year/views/date_range_type.xml +++ b/account_fiscal_year/views/date_range_type.xml @@ -1,6 +1,5 @@ - - + date.range.type.tree @@ -29,5 +28,4 @@ - - + From 248385838d576c8b6a53e751be42000c6608060c Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Thu, 24 Nov 2016 18:54:11 -0500 Subject: [PATCH 07/16] OCA Transbot updated translations from Transifex --- account_fiscal_year/i18n/el_GR.po | 60 +++++++++++++++++++++++++++++++ account_fiscal_year/i18n/es.po | 60 +++++++++++++++++++++++++++++++ account_fiscal_year/i18n/es_EC.po | 60 +++++++++++++++++++++++++++++++ account_fiscal_year/i18n/fi.po | 60 +++++++++++++++++++++++++++++++ account_fiscal_year/i18n/hr.po | 60 +++++++++++++++++++++++++++++++ account_fiscal_year/i18n/sk.po | 60 +++++++++++++++++++++++++++++++ account_fiscal_year/i18n/tr.po | 60 +++++++++++++++++++++++++++++++ account_fiscal_year/i18n/tr_TR.po | 60 +++++++++++++++++++++++++++++++ 8 files changed, 480 insertions(+) create mode 100644 account_fiscal_year/i18n/el_GR.po create mode 100644 account_fiscal_year/i18n/es.po create mode 100644 account_fiscal_year/i18n/es_EC.po create mode 100644 account_fiscal_year/i18n/fi.po create mode 100644 account_fiscal_year/i18n/hr.po create mode 100644 account_fiscal_year/i18n/sk.po create mode 100644 account_fiscal_year/i18n/tr.po create mode 100644 account_fiscal_year/i18n/tr_TR.po diff --git a/account_fiscal_year/i18n/el_GR.po b/account_fiscal_year/i18n/el_GR.po new file mode 100644 index 000000000..7f7900831 --- /dev/null +++ b/account_fiscal_year/i18n/el_GR.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-27 00:40+0000\n" +"PO-Revision-Date: 2017-04-27 00:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: el_GR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Εταιρείες" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" diff --git a/account_fiscal_year/i18n/es.po b/account_fiscal_year/i18n/es.po new file mode 100644 index 000000000..78c6b8e8f --- /dev/null +++ b/account_fiscal_year/i18n/es.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# Pedro M. Baeza , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 18:55+0000\n" +"PO-Revision-Date: 2016-11-01 18:55+0000\n" +"Last-Translator: Pedro M. Baeza , 2016\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Tipos de rangos de fechas" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Rangos de fechas" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Rangos de fechas" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "Ejercicio fiscal" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "¿Es un ejercicio fiscal?" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "No puede eliminar un rango de fecha marcado como \"ejercicio fiscal\"" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/es_EC.po b/account_fiscal_year/i18n/es_EC.po new file mode 100644 index 000000000..83892f424 --- /dev/null +++ b/account_fiscal_year/i18n/es_EC.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# Cristian Salamea , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: Cristian Salamea , 2017\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_EC\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" diff --git a/account_fiscal_year/i18n/fi.po b/account_fiscal_year/i18n/fi.po new file mode 100644 index 000000000..770d81de1 --- /dev/null +++ b/account_fiscal_year/i18n/fi.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-27 00:40+0000\n" +"PO-Revision-Date: 2017-04-27 00:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Yritykset" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" diff --git a/account_fiscal_year/i18n/hr.po b/account_fiscal_year/i18n/hr.po new file mode 100644 index 000000000..b1b8586ed --- /dev/null +++ b/account_fiscal_year/i18n/hr.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# Bole , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-28 20:57+0000\n" +"PO-Revision-Date: 2016-11-28 20:57+0000\n" +"Last-Translator: Bole , 2016\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Poduzeća" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Tipovi raspona datuma" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Rasponi datuma" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Rasponi datuma" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "Fiskalna godina" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "Je fiskalna godina?" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "Nije moguće brisanje raspona sa oznakom \"fiskalna_godina\"" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/sk.po b/account_fiscal_year/i18n/sk.po new file mode 100644 index 000000000..739955f0e --- /dev/null +++ b/account_fiscal_year/i18n/sk.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-27 00:40+0000\n" +"PO-Revision-Date: 2017-04-27 00:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Spoločnosti" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" diff --git a/account_fiscal_year/i18n/tr.po b/account_fiscal_year/i18n/tr.po new file mode 100644 index 000000000..755ac519c --- /dev/null +++ b/account_fiscal_year/i18n/tr.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# Ediz Duman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-27 00:40+0000\n" +"PO-Revision-Date: 2017-04-27 00:40+0000\n" +"Last-Translator: Ediz Duman , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Firmalar" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" diff --git a/account_fiscal_year/i18n/tr_TR.po b/account_fiscal_year/i18n/tr_TR.po new file mode 100644 index 000000000..f3d5dcbd1 --- /dev/null +++ b/account_fiscal_year/i18n/tr_TR.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# Ediz Duman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-27 00:40+0000\n" +"PO-Revision-Date: 2017-04-27 00:40+0000\n" +"Last-Translator: Ediz Duman , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr_TR\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Firmalar" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" From 554f46deafbbaf43b98ff6a57907b1a4fff22190 Mon Sep 17 00:00:00 2001 From: Thierry Ducrest Date: Mon, 13 Nov 2017 11:55:42 +0100 Subject: [PATCH 08/16] [MIG] account_fiscal_year: Migration to 11. --- account_fiscal_year/README.rst | 14 ++------------ account_fiscal_year/__init__.py | 4 ---- account_fiscal_year/__manifest__.py | 3 +-- account_fiscal_year/models/__init__.py | 4 ---- account_fiscal_year/models/date_range_type.py | 1 - account_fiscal_year/models/res_company.py | 1 - account_fiscal_year/tests/__init__.py | 4 ---- .../tests/test_account_fiscal_year.py | 1 - 8 files changed, 3 insertions(+), 29 deletions(-) diff --git a/account_fiscal_year/README.rst b/account_fiscal_year/README.rst index 88b788cc7..71c472624 100644 --- a/account_fiscal_year/README.rst +++ b/account_fiscal_year/README.rst @@ -1,5 +1,5 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 =================== @@ -15,22 +15,12 @@ encloses the give date. If it does not find it, it falls back on the standard Odoo technique based on the day/month of end of fiscal year. -Installation -============ - -Just install it - -Configuration -============= - -Nothing - Usage ===== .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/92/10.0 + :target: https://runbot.odoo-community.org/runbot/92/11.0 Bug Tracker diff --git a/account_fiscal_year/__init__.py b/account_fiscal_year/__init__.py index bf8a462ec..a9e337226 100644 --- a/account_fiscal_year/__init__.py +++ b/account_fiscal_year/__init__.py @@ -1,6 +1,2 @@ -# -*- coding: utf-8 -*- -# Author: Damien Crier -# Copyright 2016 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models diff --git a/account_fiscal_year/__manifest__.py b/account_fiscal_year/__manifest__.py index 2aa2d5ddc..4ffed7027 100644 --- a/account_fiscal_year/__manifest__.py +++ b/account_fiscal_year/__manifest__.py @@ -1,10 +1,9 @@ -# -*- coding: utf-8 -*- # Author: Damien Crier # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'Account Fiscal Year', - 'version': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'category': 'Accounting', 'author': 'Camptocamp SA,' 'Odoo Community Association (OCA)', diff --git a/account_fiscal_year/models/__init__.py b/account_fiscal_year/models/__init__.py index 27d10cd58..c15e81a0f 100644 --- a/account_fiscal_year/models/__init__.py +++ b/account_fiscal_year/models/__init__.py @@ -1,7 +1,3 @@ -# -*- coding: utf-8 -*- -# Author: Damien Crier -# Copyright 2016 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import date_range_type from . import res_company diff --git a/account_fiscal_year/models/date_range_type.py b/account_fiscal_year/models/date_range_type.py index 95b773c68..4f1977fd8 100644 --- a/account_fiscal_year/models/date_range_type.py +++ b/account_fiscal_year/models/date_range_type.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Author: Damien Crier # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/account_fiscal_year/models/res_company.py b/account_fiscal_year/models/res_company.py index 234517b23..05bba45dc 100644 --- a/account_fiscal_year/models/res_company.py +++ b/account_fiscal_year/models/res_company.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Author: Damien Crier # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/account_fiscal_year/tests/__init__.py b/account_fiscal_year/tests/__init__.py index a3ec533e5..76b825aca 100644 --- a/account_fiscal_year/tests/__init__.py +++ b/account_fiscal_year/tests/__init__.py @@ -1,6 +1,2 @@ -# -*- coding: utf-8 -*- -# Author: Damien Crier -# Copyright 2016 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import test_account_fiscal_year diff --git a/account_fiscal_year/tests/test_account_fiscal_year.py b/account_fiscal_year/tests/test_account_fiscal_year.py index 6f41c8ae7..f7db405a3 100644 --- a/account_fiscal_year/tests/test_account_fiscal_year.py +++ b/account_fiscal_year/tests/test_account_fiscal_year.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Author: Damien Crier # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). From 6ec5be34acddd7b591403f398b18f11841197c88 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 23 Dec 2017 00:17:30 +0100 Subject: [PATCH 09/16] OCA Transbot updated translations from Transifex [UPD] Update account_fiscal_year.pot --- .../i18n/account_fiscal_year.pot | 56 ++++++++++++++++ account_fiscal_year/i18n/de.po | 21 +++--- account_fiscal_year/i18n/el_GR.po | 9 +-- account_fiscal_year/i18n/es.po | 16 ++--- account_fiscal_year/i18n/es_CO.po | 64 +++++++++++++++++++ account_fiscal_year/i18n/es_EC.po | 9 +-- account_fiscal_year/i18n/fi.po | 6 +- account_fiscal_year/i18n/fr.po | 32 +++++----- account_fiscal_year/i18n/fr_FR.po | 63 ++++++++++++++++++ account_fiscal_year/i18n/hr.po | 19 +++--- account_fiscal_year/i18n/hr_HR.po | 22 ++++--- account_fiscal_year/i18n/it.po | 23 ++++--- account_fiscal_year/i18n/pt.po | 60 +++++++++++++++++ account_fiscal_year/i18n/pt_BR.po | 19 +++--- account_fiscal_year/i18n/sk.po | 6 +- account_fiscal_year/i18n/sl.po | 12 ++-- account_fiscal_year/i18n/tr.po | 6 +- account_fiscal_year/i18n/tr_TR.po | 9 +-- 18 files changed, 355 insertions(+), 97 deletions(-) create mode 100644 account_fiscal_year/i18n/account_fiscal_year.pot create mode 100644 account_fiscal_year/i18n/es_CO.po create mode 100644 account_fiscal_year/i18n/fr_FR.po create mode 100644 account_fiscal_year/i18n/pt.po diff --git a/account_fiscal_year/i18n/account_fiscal_year.pot b/account_fiscal_year/i18n/account_fiscal_year.pot new file mode 100644 index 000000000..b864b8918 --- /dev/null +++ b/account_fiscal_year/i18n/account_fiscal_year.pot @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:21 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" + diff --git a/account_fiscal_year/i18n/de.po b/account_fiscal_year/i18n/de.po index 9fd78b898..d55d2e401 100644 --- a/account_fiscal_year/i18n/de.po +++ b/account_fiscal_year/i18n/de.po @@ -1,21 +1,21 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: -# Rudolf Schnapka , 2016 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: account-financial-tools (9.0)\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-05-27 02:44+0000\n" -"PO-Revision-Date: 2016-05-23 07:25+0000\n" -"Last-Translator: Rudolf Schnapka \n" -"Language-Team: German (http://www.transifex.com/oca/OCA-account-financial-tools-9-0/language/de/)\n" +"POT-Creation-Date: 2017-12-22 15:55+0000\n" +"PO-Revision-Date: 2017-12-22 15:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_fiscal_year @@ -49,10 +49,11 @@ msgid "Is fiscal year?" msgstr "Ist Geschäftsjahr?" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "Sie dürfen eine Zeitraumart mit Kennzeichen \"Geschäftsjahr\" nicht löschen" +msgstr "" +"Sie dürfen eine Zeitraumart mit Kennzeichen \"Geschäftsjahr\" nicht löschen" #. module: account_fiscal_year #: model:ir.model,name:account_fiscal_year.model_date_range_type diff --git a/account_fiscal_year/i18n/el_GR.po b/account_fiscal_year/i18n/el_GR.po index 7f7900831..19c89c219 100644 --- a/account_fiscal_year/i18n/el_GR.po +++ b/account_fiscal_year/i18n/el_GR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-04-27 00:40+0000\n" "PO-Revision-Date: 2017-04-27 00:40+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: el_GR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_fiscal_year @@ -49,7 +50,7 @@ msgid "Is fiscal year?" msgstr "" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" diff --git a/account_fiscal_year/i18n/es.po b/account_fiscal_year/i18n/es.po index 78c6b8e8f..29988f265 100644 --- a/account_fiscal_year/i18n/es.po +++ b/account_fiscal_year/i18n/es.po @@ -1,21 +1,21 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: -# Pedro M. Baeza , 2016 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-01 18:55+0000\n" -"PO-Revision-Date: 2016-11-01 18:55+0000\n" -"Last-Translator: Pedro M. Baeza , 2016\n" +"POT-Creation-Date: 2017-12-22 15:55+0000\n" +"PO-Revision-Date: 2017-12-22 15:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_fiscal_year @@ -49,7 +49,7 @@ msgid "Is fiscal year?" msgstr "¿Es un ejercicio fiscal?" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "No puede eliminar un rango de fecha marcado como \"ejercicio fiscal\"" diff --git a/account_fiscal_year/i18n/es_CO.po b/account_fiscal_year/i18n/es_CO.po new file mode 100644 index 000000000..eb8426836 --- /dev/null +++ b/account_fiscal_year/i18n/es_CO.po @@ -0,0 +1,64 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# JOSE ALEJANDRO ECHEVERRI VALENCIA , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:40+0000\n" +"PO-Revision-Date: 2018-01-27 03:40+0000\n" +"Last-Translator: JOSE ALEJANDRO ECHEVERRI VALENCIA , 2018\n" +"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/" +"es_CO/)\n" +"Language: es_CO\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" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Tipo de Rangos de Fechas" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Rangos de Fechas" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Rangos de fecha" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "Periodo Fiscal" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "Es perido fiscal?" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:21 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" +"Tu no puedes eliminar un tipo de rangos de fechas con el indicador de " +"\"periodo_fiscal\"" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "tipo.rango.fecha" diff --git a/account_fiscal_year/i18n/es_EC.po b/account_fiscal_year/i18n/es_EC.po index 83892f424..155b84e82 100644 --- a/account_fiscal_year/i18n/es_EC.po +++ b/account_fiscal_year/i18n/es_EC.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: # Cristian Salamea , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: Cristian Salamea , 2017\n" -"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/" +"es_EC/)\n" +"Language: es_EC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_EC\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_fiscal_year @@ -49,7 +50,7 @@ msgid "Is fiscal year?" msgstr "" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" diff --git a/account_fiscal_year/i18n/fi.po b/account_fiscal_year/i18n/fi.po index 770d81de1..74aeafba2 100644 --- a/account_fiscal_year/i18n/fi.po +++ b/account_fiscal_year/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-04-27 00:40+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_fiscal_year @@ -49,7 +49,7 @@ msgid "Is fiscal year?" msgstr "" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" diff --git a/account_fiscal_year/i18n/fr.po b/account_fiscal_year/i18n/fr.po index 429b8f491..bde0a1669 100644 --- a/account_fiscal_year/i18n/fr.po +++ b/account_fiscal_year/i18n/fr.po @@ -1,20 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: +# OCA Transbot , 2017 +# Nicolas JEUDY , 2018 msgid "" msgstr "" -"Project-Id-Version: account-financial-tools (9.0)\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-07-01 02:44+0000\n" -"PO-Revision-Date: 2016-05-09 17:06+0000\n" -"Last-Translator: <>\n" -"Language-Team: French (http://www.transifex.com/oca/OCA-account-financial-tools-9-0/language/fr/)\n" +"POT-Creation-Date: 2018-02-09 23:25+0000\n" +"PO-Revision-Date: 2018-02-09 23:25+0000\n" +"Last-Translator: Nicolas JEUDY , 2018\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_fiscal_year @@ -25,35 +27,35 @@ msgstr "Sociétés" #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" -msgstr "" +msgstr "Types de période" #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting msgid "Date Ranges" -msgstr "" +msgstr "Périodes" #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting msgid "Date ranges" -msgstr "" +msgstr "Périodes" #. module: account_fiscal_year #: model:date.range.type,name:account_fiscal_year.fiscalyear msgid "Fiscal Year" -msgstr "" +msgstr "Année fiscale" #. module: account_fiscal_year #: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year msgid "Is fiscal year?" -msgstr "" +msgstr "Est une année fiscale ?" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" +msgstr "Impossible de supprimer une période cochée \"année fiscale\"" #. module: account_fiscal_year #: model:ir.model,name:account_fiscal_year.model_date_range_type msgid "date.range.type" -msgstr "" +msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/fr_FR.po b/account_fiscal_year/i18n/fr_FR.po new file mode 100644 index 000000000..cd34b3dc2 --- /dev/null +++ b/account_fiscal_year/i18n/fr_FR.po @@ -0,0 +1,63 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# Quentin THEURET , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-23 03:40+0000\n" +"PO-Revision-Date: 2017-12-23 03:40+0000\n" +"Last-Translator: Quentin THEURET , 2017\n" +"Language-Team: French (France) (https://www.transifex.com/oca/teams/23907/" +"fr_FR/)\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" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Types de période" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Périodes" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Périodes" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "Année fiscale" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "Est une année fiscale ?" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:21 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" +"Vous ne pouvez pas supprimer un type de période avec l'étiquette \"année " +"fiscale\"" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/hr.po b/account_fiscal_year/i18n/hr.po index b1b8586ed..800666f2b 100644 --- a/account_fiscal_year/i18n/hr.po +++ b/account_fiscal_year/i18n/hr.po @@ -1,22 +1,23 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: -# Bole , 2016 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-28 20:57+0000\n" -"PO-Revision-Date: 2016-11-28 20:57+0000\n" -"Last-Translator: Bole , 2016\n" +"POT-Creation-Date: 2017-12-22 15:55+0000\n" +"PO-Revision-Date: 2017-12-22 15:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_fiscal_year #: model:ir.model,name:account_fiscal_year.model_res_company @@ -49,7 +50,7 @@ msgid "Is fiscal year?" msgstr "Je fiskalna godina?" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "Nije moguće brisanje raspona sa oznakom \"fiskalna_godina\"" diff --git a/account_fiscal_year/i18n/hr_HR.po b/account_fiscal_year/i18n/hr_HR.po index 9313e99d5..18fe1d229 100644 --- a/account_fiscal_year/i18n/hr_HR.po +++ b/account_fiscal_year/i18n/hr_HR.po @@ -1,22 +1,24 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: -# Bole , 2016 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: account-financial-tools (9.0)\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-05-28 01:06+0000\n" -"PO-Revision-Date: 2016-05-31 15:31+0000\n" -"Last-Translator: Bole \n" -"Language-Team: Croatian (Croatia) (http://www.transifex.com/oca/OCA-account-financial-tools-9-0/language/hr_HR/)\n" +"POT-Creation-Date: 2017-12-22 15:55+0000\n" +"PO-Revision-Date: 2017-12-22 15:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr_HR\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_fiscal_year #: model:ir.model,name:account_fiscal_year.model_res_company @@ -49,7 +51,7 @@ msgid "Is fiscal year?" msgstr "Je fiskalna godina?" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "Nije moguće brisanje raspona datuma sa oznakom \"fiskalna godina\"" diff --git a/account_fiscal_year/i18n/it.po b/account_fiscal_year/i18n/it.po index 0c8f13ab3..32e32c94e 100644 --- a/account_fiscal_year/i18n/it.po +++ b/account_fiscal_year/i18n/it.po @@ -1,19 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * account_fiscal_year +# * account_fiscal_year # +# Translators: +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0alpha1e\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-10-10 07:16+0000\n" -"PO-Revision-Date: 2016-10-10 07:16+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" +"POT-Creation-Date: 2017-12-22 15:55+0000\n" +"PO-Revision-Date: 2017-12-22 15:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_fiscal_year #: model:ir.model,name:account_fiscal_year.model_res_company @@ -46,13 +49,13 @@ msgid "Is fiscal year?" msgstr "Anno Fiscale?" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "Non è possibile rimuovere un intervallo di date con flag \"Anno Fiscale\"" +msgstr "" +"Non è possibile rimuovere un intervallo di date con flag \"Anno Fiscale\"" #. module: account_fiscal_year #: model:ir.model,name:account_fiscal_year.model_date_range_type msgid "date.range.type" msgstr "date.range.type" - diff --git a/account_fiscal_year/i18n/pt.po b/account_fiscal_year/i18n/pt.po new file mode 100644 index 000000000..c5bf586eb --- /dev/null +++ b/account_fiscal_year/i18n/pt.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\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" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Empresas" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:21 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" diff --git a/account_fiscal_year/i18n/pt_BR.po b/account_fiscal_year/i18n/pt_BR.po index 3bdbacea9..62a4677f8 100644 --- a/account_fiscal_year/i18n/pt_BR.po +++ b/account_fiscal_year/i18n/pt_BR.po @@ -1,21 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: -# Cezar , 2016 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: account-financial-tools (9.0)\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-09-10 02:45+0000\n" -"PO-Revision-Date: 2016-09-16 01:30+0000\n" -"Last-Translator: Cezar \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-financial-tools-9-0/language/pt_BR/)\n" +"POT-Creation-Date: 2017-12-22 15:55+0000\n" +"PO-Revision-Date: 2017-12-22 15:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_fiscal_year @@ -49,7 +50,7 @@ msgid "Is fiscal year?" msgstr "É ano fiscal?" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "Você não pode apagar um tipo de período marcado como \"ano_fiscal\"" diff --git a/account_fiscal_year/i18n/sk.po b/account_fiscal_year/i18n/sk.po index 739955f0e..91ee3499a 100644 --- a/account_fiscal_year/i18n/sk.po +++ b/account_fiscal_year/i18n/sk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-04-27 00:40+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sk\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: account_fiscal_year @@ -49,7 +49,7 @@ msgid "Is fiscal year?" msgstr "" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" diff --git a/account_fiscal_year/i18n/sl.po b/account_fiscal_year/i18n/sl.po index 4cf7a8448..3cdf473c4 100644 --- a/account_fiscal_year/i18n/sl.po +++ b/account_fiscal_year/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: msgid "" msgstr "" @@ -10,12 +10,14 @@ msgstr "" "POT-Creation-Date: 2016-07-01 02:44+0000\n" "PO-Revision-Date: 2016-05-09 17:06+0000\n" "Last-Translator: <>\n" -"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-account-financial-tools-9-0/language/sl/)\n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-account-financial-" +"tools-9-0/language/sl/)\n" +"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: account_fiscal_year #: model:ir.model,name:account_fiscal_year.model_res_company @@ -48,7 +50,7 @@ msgid "Is fiscal year?" msgstr "" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" diff --git a/account_fiscal_year/i18n/tr.po b/account_fiscal_year/i18n/tr.po index 755ac519c..4e3d65d5f 100644 --- a/account_fiscal_year/i18n/tr.po +++ b/account_fiscal_year/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: # Ediz Duman , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-04-27 00:40+0000\n" "Last-Translator: Ediz Duman , 2017\n" "Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: tr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_fiscal_year @@ -49,7 +49,7 @@ msgid "Is fiscal year?" msgstr "" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" diff --git a/account_fiscal_year/i18n/tr_TR.po b/account_fiscal_year/i18n/tr_TR.po index f3d5dcbd1..9bc65ecc2 100644 --- a/account_fiscal_year/i18n/tr_TR.po +++ b/account_fiscal_year/i18n/tr_TR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_fiscal_year -# +# # Translators: # Ediz Duman , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-04-27 00:40+0000\n" "PO-Revision-Date: 2017-04-27 00:40+0000\n" "Last-Translator: Ediz Duman , 2017\n" -"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: tr_TR\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_fiscal_year @@ -49,7 +50,7 @@ msgid "Is fiscal year?" msgstr "" #. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:22 +#: code:addons/account_fiscal_year/models/date_range_type.py:21 #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" From 731e3322fce1ef5275774cbb15940e8f46c7bda3 Mon Sep 17 00:00:00 2001 From: Osoul Date: Fri, 29 Jun 2018 04:09:39 +0000 Subject: [PATCH 10/16] Added translation using Weblate (Arabic) --- account_fiscal_year/i18n/ar.po | 59 ++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 account_fiscal_year/i18n/ar.po diff --git a/account_fiscal_year/i18n/ar.po b/account_fiscal_year/i18n/ar.po new file mode 100644 index 000000000..518a2bcc7 --- /dev/null +++ b/account_fiscal_year/i18n/ar.po @@ -0,0 +1,59 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2018-06-29 04:11+0000\n" +"Last-Translator: Osoul \n" +"Language-Team: none\n" +"Language: ar\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" +"X-Generator: Weblate 3.0.1\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "المؤسسات" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "أنواع الفترات" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "الفترات" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "الفترات" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "السنة المالية" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "سنة مالية؟" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:21 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "لا يمكنك حذف فترة من نوع \"سنة مالية\"" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "نوع الفترة" From 45931d3329811d5fda8776e7f7740080f03c253d Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 2 Dec 2017 00:19:30 +0100 Subject: [PATCH 11/16] OCA Transbot updated translations from Transifex --- account_fiscal_year/i18n/fr.po | 1 - 1 file changed, 1 deletion(-) diff --git a/account_fiscal_year/i18n/fr.po b/account_fiscal_year/i18n/fr.po index bde0a1669..dc8a7ea2c 100644 --- a/account_fiscal_year/i18n/fr.po +++ b/account_fiscal_year/i18n/fr.po @@ -13,7 +13,6 @@ msgstr "" "PO-Revision-Date: 2018-02-09 23:25+0000\n" "Last-Translator: Nicolas JEUDY , 2018\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" -"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" From 6b219abe967b7a1039326d58caf16fca075916e7 Mon Sep 17 00:00:00 2001 From: Hans Henrik Gabelgaard Date: Wed, 5 Sep 2018 08:06:18 +0000 Subject: [PATCH 12/16] Added translation using Weblate (Danish) --- account_fiscal_year/i18n/da.po | 58 ++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 account_fiscal_year/i18n/da.po diff --git a/account_fiscal_year/i18n/da.po b/account_fiscal_year/i18n/da.po new file mode 100644 index 000000000..1ec102772 --- /dev/null +++ b/account_fiscal_year/i18n/da.po @@ -0,0 +1,58 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2018-09-06 08:12+0000\n" +"Last-Translator: Hans Henrik Gabelgaard \n" +"Language-Team: none\n" +"Language: da\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 3.1.1\n" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_res_company +msgid "Companies" +msgstr "Virksomheder" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Dato intervaltyper" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Dato intervaller" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Dato intervaller" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "Regnskabsår" + +#. module: account_fiscal_year +#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year +msgid "Is fiscal year?" +msgstr "Er regnskabsår?" + +#. module: account_fiscal_year +#: code:addons/account_fiscal_year/models/date_range_type.py:21 +#, python-format +msgid "You cannot delete a date range type with flag \"fiscal_year\"" +msgstr "Du kan ikke slette en intervaltype markeret som \"Regnskabsår\"" + +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "date.range.type" +msgstr "" From 8a8d6e65c4a8d15cc701cc77c7b21371b5f0693f Mon Sep 17 00:00:00 2001 From: oca-travis Date: Wed, 21 Nov 2018 19:50:12 +0000 Subject: [PATCH 13/16] [UPD] Update account_fiscal_year.pot Update translation files Updated by Update PO files to match POT (msgmerge) hook in Weblate. --- account_fiscal_year/i18n/account_fiscal_year.pot | 10 +++++----- account_fiscal_year/i18n/ar.po | 14 +++++++++----- account_fiscal_year/i18n/da.po | 13 +++++++------ account_fiscal_year/i18n/de.po | 12 ++++++++---- account_fiscal_year/i18n/el_GR.po | 10 +++++----- account_fiscal_year/i18n/es.po | 12 ++++++++---- account_fiscal_year/i18n/es_CO.po | 12 ++++++++---- account_fiscal_year/i18n/es_EC.po | 10 +++++----- account_fiscal_year/i18n/fi.po | 10 +++++----- account_fiscal_year/i18n/fr.po | 13 +++++++++---- account_fiscal_year/i18n/fr_FR.po | 12 ++++++++---- account_fiscal_year/i18n/hr.po | 12 ++++++++---- account_fiscal_year/i18n/hr_HR.po | 12 ++++++++---- account_fiscal_year/i18n/it.po | 12 ++++++++---- account_fiscal_year/i18n/pt.po | 10 +++++----- account_fiscal_year/i18n/pt_BR.po | 12 ++++++++---- account_fiscal_year/i18n/sk.po | 10 +++++----- account_fiscal_year/i18n/sl.po | 10 +++++----- account_fiscal_year/i18n/tr.po | 10 +++++----- account_fiscal_year/i18n/tr_TR.po | 10 +++++----- 20 files changed, 134 insertions(+), 92 deletions(-) diff --git a/account_fiscal_year/i18n/account_fiscal_year.pot b/account_fiscal_year/i18n/account_fiscal_year.pot index b864b8918..1e0467b0d 100644 --- a/account_fiscal_year/i18n/account_fiscal_year.pot +++ b/account_fiscal_year/i18n/account_fiscal_year.pot @@ -18,6 +18,11 @@ msgstr "" msgid "Companies" msgstr "" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "Date Range Type" +msgstr "" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -49,8 +54,3 @@ msgstr "" msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "" - diff --git a/account_fiscal_year/i18n/ar.po b/account_fiscal_year/i18n/ar.po index 518a2bcc7..cb20a3528 100644 --- a/account_fiscal_year/i18n/ar.po +++ b/account_fiscal_year/i18n/ar.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * account_fiscal_year +# * account_fiscal_year # msgid "" msgstr "" @@ -22,6 +22,12 @@ msgstr "" msgid "Companies" msgstr "المؤسسات" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "أنواع الفترات" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -53,7 +59,5 @@ msgstr "سنة مالية؟" msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "لا يمكنك حذف فترة من نوع \"سنة مالية\"" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "نوع الفترة" +#~ msgid "date.range.type" +#~ msgstr "نوع الفترة" diff --git a/account_fiscal_year/i18n/da.po b/account_fiscal_year/i18n/da.po index 1ec102772..edccbe0d0 100644 --- a/account_fiscal_year/i18n/da.po +++ b/account_fiscal_year/i18n/da.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * account_fiscal_year +# * account_fiscal_year # msgid "" msgstr "" @@ -21,6 +21,12 @@ msgstr "" msgid "Companies" msgstr "Virksomheder" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "Dato intervaltyper" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -51,8 +57,3 @@ msgstr "Er regnskabsår?" #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "Du kan ikke slette en intervaltype markeret som \"Regnskabsår\"" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "" diff --git a/account_fiscal_year/i18n/de.po b/account_fiscal_year/i18n/de.po index d55d2e401..fcab9ba67 100644 --- a/account_fiscal_year/i18n/de.po +++ b/account_fiscal_year/i18n/de.po @@ -23,6 +23,12 @@ msgstr "" msgid "Companies" msgstr "Unternehmen" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "Arten von Zeiträumen" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -55,7 +61,5 @@ msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" "Sie dürfen eine Zeitraumart mit Kennzeichen \"Geschäftsjahr\" nicht löschen" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "date.range.type" +#~ msgid "date.range.type" +#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/el_GR.po b/account_fiscal_year/i18n/el_GR.po index 19c89c219..4b9b029cc 100644 --- a/account_fiscal_year/i18n/el_GR.po +++ b/account_fiscal_year/i18n/el_GR.po @@ -24,6 +24,11 @@ msgstr "" msgid "Companies" msgstr "Εταιρείες" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "Date Range Type" +msgstr "" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -54,8 +59,3 @@ msgstr "" #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "" diff --git a/account_fiscal_year/i18n/es.po b/account_fiscal_year/i18n/es.po index 29988f265..a9302fc8f 100644 --- a/account_fiscal_year/i18n/es.po +++ b/account_fiscal_year/i18n/es.po @@ -23,6 +23,12 @@ msgstr "" msgid "Companies" msgstr "Compañías" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "Tipos de rangos de fechas" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -54,7 +60,5 @@ msgstr "¿Es un ejercicio fiscal?" msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "No puede eliminar un rango de fecha marcado como \"ejercicio fiscal\"" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "date.range.type" +#~ msgid "date.range.type" +#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/es_CO.po b/account_fiscal_year/i18n/es_CO.po index eb8426836..03547adf7 100644 --- a/account_fiscal_year/i18n/es_CO.po +++ b/account_fiscal_year/i18n/es_CO.po @@ -25,6 +25,12 @@ msgstr "" msgid "Companies" msgstr "Compañías" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "Tipo de Rangos de Fechas" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -58,7 +64,5 @@ msgstr "" "Tu no puedes eliminar un tipo de rangos de fechas con el indicador de " "\"periodo_fiscal\"" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "tipo.rango.fecha" +#~ msgid "date.range.type" +#~ msgstr "tipo.rango.fecha" diff --git a/account_fiscal_year/i18n/es_EC.po b/account_fiscal_year/i18n/es_EC.po index 155b84e82..ee33e2fdc 100644 --- a/account_fiscal_year/i18n/es_EC.po +++ b/account_fiscal_year/i18n/es_EC.po @@ -24,6 +24,11 @@ msgstr "" msgid "Companies" msgstr "Compañías" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "Date Range Type" +msgstr "" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -54,8 +59,3 @@ msgstr "" #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "" diff --git a/account_fiscal_year/i18n/fi.po b/account_fiscal_year/i18n/fi.po index 74aeafba2..547787944 100644 --- a/account_fiscal_year/i18n/fi.po +++ b/account_fiscal_year/i18n/fi.po @@ -23,6 +23,11 @@ msgstr "" msgid "Companies" msgstr "Yritykset" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "Date Range Type" +msgstr "" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -53,8 +58,3 @@ msgstr "" #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "" diff --git a/account_fiscal_year/i18n/fr.po b/account_fiscal_year/i18n/fr.po index dc8a7ea2c..3f298bc18 100644 --- a/account_fiscal_year/i18n/fr.po +++ b/account_fiscal_year/i18n/fr.po @@ -13,6 +13,7 @@ msgstr "" "PO-Revision-Date: 2018-02-09 23:25+0000\n" "Last-Translator: Nicolas JEUDY , 2018\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -23,6 +24,12 @@ msgstr "" msgid "Companies" msgstr "Sociétés" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "Types de période" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -54,7 +61,5 @@ msgstr "Est une année fiscale ?" msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "Impossible de supprimer une période cochée \"année fiscale\"" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "date.range.type" +#~ msgid "date.range.type" +#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/fr_FR.po b/account_fiscal_year/i18n/fr_FR.po index cd34b3dc2..416bd063c 100644 --- a/account_fiscal_year/i18n/fr_FR.po +++ b/account_fiscal_year/i18n/fr_FR.po @@ -24,6 +24,12 @@ msgstr "" msgid "Companies" msgstr "Sociétés" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "Types de période" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -57,7 +63,5 @@ msgstr "" "Vous ne pouvez pas supprimer un type de période avec l'étiquette \"année " "fiscale\"" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "date.range.type" +#~ msgid "date.range.type" +#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/hr.po b/account_fiscal_year/i18n/hr.po index 800666f2b..5f42e1cc2 100644 --- a/account_fiscal_year/i18n/hr.po +++ b/account_fiscal_year/i18n/hr.po @@ -24,6 +24,12 @@ msgstr "" msgid "Companies" msgstr "Poduzeća" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "Tipovi raspona datuma" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -55,7 +61,5 @@ msgstr "Je fiskalna godina?" msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "Nije moguće brisanje raspona sa oznakom \"fiskalna_godina\"" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "date.range.type" +#~ msgid "date.range.type" +#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/hr_HR.po b/account_fiscal_year/i18n/hr_HR.po index 18fe1d229..b53607e64 100644 --- a/account_fiscal_year/i18n/hr_HR.po +++ b/account_fiscal_year/i18n/hr_HR.po @@ -25,6 +25,12 @@ msgstr "" msgid "Companies" msgstr "Poduzeća" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "Tipovi raspona datuma" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -56,7 +62,5 @@ msgstr "Je fiskalna godina?" msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "Nije moguće brisanje raspona datuma sa oznakom \"fiskalna godina\"" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "date.range.type" +#~ msgid "date.range.type" +#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/it.po b/account_fiscal_year/i18n/it.po index 32e32c94e..e8d41b353 100644 --- a/account_fiscal_year/i18n/it.po +++ b/account_fiscal_year/i18n/it.po @@ -23,6 +23,12 @@ msgstr "" msgid "Companies" msgstr "Aziende" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "Tipi di Intervalli di Date" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -55,7 +61,5 @@ msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" "Non è possibile rimuovere un intervallo di date con flag \"Anno Fiscale\"" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "date.range.type" +#~ msgid "date.range.type" +#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/pt.po b/account_fiscal_year/i18n/pt.po index c5bf586eb..e9b9866c8 100644 --- a/account_fiscal_year/i18n/pt.po +++ b/account_fiscal_year/i18n/pt.po @@ -23,6 +23,11 @@ msgstr "" msgid "Companies" msgstr "Empresas" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "Date Range Type" +msgstr "" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -53,8 +58,3 @@ msgstr "" #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "" diff --git a/account_fiscal_year/i18n/pt_BR.po b/account_fiscal_year/i18n/pt_BR.po index 62a4677f8..c24d9118d 100644 --- a/account_fiscal_year/i18n/pt_BR.po +++ b/account_fiscal_year/i18n/pt_BR.po @@ -24,6 +24,12 @@ msgstr "" msgid "Companies" msgstr "Empresas" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +#, fuzzy +msgid "Date Range Type" +msgstr "Tipos de períodos" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -55,7 +61,5 @@ msgstr "É ano fiscal?" msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "Você não pode apagar um tipo de período marcado como \"ano_fiscal\"" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "date.range.type" +#~ msgid "date.range.type" +#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/sk.po b/account_fiscal_year/i18n/sk.po index 91ee3499a..49821b8fc 100644 --- a/account_fiscal_year/i18n/sk.po +++ b/account_fiscal_year/i18n/sk.po @@ -23,6 +23,11 @@ msgstr "" msgid "Companies" msgstr "Spoločnosti" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "Date Range Type" +msgstr "" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -53,8 +58,3 @@ msgstr "" #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "" diff --git a/account_fiscal_year/i18n/sl.po b/account_fiscal_year/i18n/sl.po index 3cdf473c4..8e01cedf2 100644 --- a/account_fiscal_year/i18n/sl.po +++ b/account_fiscal_year/i18n/sl.po @@ -24,6 +24,11 @@ msgstr "" msgid "Companies" msgstr "Družbe" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "Date Range Type" +msgstr "" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -54,8 +59,3 @@ msgstr "" #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "" diff --git a/account_fiscal_year/i18n/tr.po b/account_fiscal_year/i18n/tr.po index 4e3d65d5f..7930720a0 100644 --- a/account_fiscal_year/i18n/tr.po +++ b/account_fiscal_year/i18n/tr.po @@ -23,6 +23,11 @@ msgstr "" msgid "Companies" msgstr "Firmalar" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "Date Range Type" +msgstr "" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -53,8 +58,3 @@ msgstr "" #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "" diff --git a/account_fiscal_year/i18n/tr_TR.po b/account_fiscal_year/i18n/tr_TR.po index 9bc65ecc2..cb797bc7f 100644 --- a/account_fiscal_year/i18n/tr_TR.po +++ b/account_fiscal_year/i18n/tr_TR.po @@ -24,6 +24,11 @@ msgstr "" msgid "Companies" msgstr "Firmalar" +#. module: account_fiscal_year +#: model:ir.model,name:account_fiscal_year.model_date_range_type +msgid "Date Range Type" +msgstr "" + #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -54,8 +59,3 @@ msgstr "" #, python-format msgid "You cannot delete a date range type with flag \"fiscal_year\"" msgstr "" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "date.range.type" -msgstr "" From f20ef1f1d7e36d338662dc6767cdee3d369393fa Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 3 Apr 2019 02:33:21 +0000 Subject: [PATCH 14/16] [ADD] icon.png --- account_fiscal_year/static/description/icon.png | Bin 0 -> 9455 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 account_fiscal_year/static/description/icon.png diff --git a/account_fiscal_year/static/description/icon.png b/account_fiscal_year/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}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^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 From 77e105c519e60b8c9fd8b57e8f575778fba99a6e Mon Sep 17 00:00:00 2001 From: Lorenzo Battistini Date: Fri, 9 Nov 2018 16:22:30 +0100 Subject: [PATCH 15/16] ADD refactored account_fiscal_year --- account_fiscal_year/README.rst | 87 ++-- account_fiscal_year/__init__.py | 3 +- account_fiscal_year/__manifest__.py | 37 +- account_fiscal_year/data/date_range_type.xml | 8 - .../i18n/account_fiscal_year.pot | 26 +- account_fiscal_year/i18n/ar.po | 63 --- account_fiscal_year/i18n/da.po | 59 --- account_fiscal_year/i18n/de.po | 65 --- account_fiscal_year/i18n/el_GR.po | 61 --- account_fiscal_year/i18n/es.po | 64 --- account_fiscal_year/i18n/es_CO.po | 68 --- account_fiscal_year/i18n/es_EC.po | 61 --- account_fiscal_year/i18n/fi.po | 60 --- account_fiscal_year/i18n/fr.po | 65 --- account_fiscal_year/i18n/fr_FR.po | 67 --- account_fiscal_year/i18n/hr.po | 65 --- account_fiscal_year/i18n/hr_HR.po | 66 --- account_fiscal_year/i18n/it.po | 55 +-- account_fiscal_year/i18n/pt.po | 60 --- account_fiscal_year/i18n/pt_BR.po | 65 --- account_fiscal_year/i18n/sk.po | 60 --- account_fiscal_year/i18n/sl.po | 61 --- account_fiscal_year/i18n/tr.po | 60 --- account_fiscal_year/i18n/tr_TR.po | 61 --- account_fiscal_year/models/__init__.py | 3 - account_fiscal_year/models/date_range_type.py | 25 - account_fiscal_year/models/res_company.py | 43 -- account_fiscal_year/readme/CONTRIBUTORS.rst | 3 + account_fiscal_year/readme/DESCRIPTION.rst | 6 + .../static/description/index.html | 427 ++++++++++++++++++ account_fiscal_year/tests/__init__.py | 2 - .../tests/test_account_fiscal_year.py | 45 -- account_fiscal_year/views/account_views.xml | 13 + account_fiscal_year/views/date_range_type.xml | 31 -- 34 files changed, 547 insertions(+), 1398 deletions(-) delete mode 100644 account_fiscal_year/data/date_range_type.xml delete mode 100644 account_fiscal_year/i18n/ar.po delete mode 100644 account_fiscal_year/i18n/da.po delete mode 100644 account_fiscal_year/i18n/de.po delete mode 100644 account_fiscal_year/i18n/el_GR.po delete mode 100644 account_fiscal_year/i18n/es.po delete mode 100644 account_fiscal_year/i18n/es_CO.po delete mode 100644 account_fiscal_year/i18n/es_EC.po delete mode 100644 account_fiscal_year/i18n/fi.po delete mode 100644 account_fiscal_year/i18n/fr.po delete mode 100644 account_fiscal_year/i18n/fr_FR.po delete mode 100644 account_fiscal_year/i18n/hr.po delete mode 100644 account_fiscal_year/i18n/hr_HR.po delete mode 100644 account_fiscal_year/i18n/pt.po delete mode 100644 account_fiscal_year/i18n/pt_BR.po delete mode 100644 account_fiscal_year/i18n/sk.po delete mode 100644 account_fiscal_year/i18n/sl.po delete mode 100644 account_fiscal_year/i18n/tr.po delete mode 100644 account_fiscal_year/i18n/tr_TR.po delete mode 100644 account_fiscal_year/models/__init__.py delete mode 100644 account_fiscal_year/models/date_range_type.py delete mode 100644 account_fiscal_year/models/res_company.py create mode 100644 account_fiscal_year/readme/CONTRIBUTORS.rst create mode 100644 account_fiscal_year/readme/DESCRIPTION.rst create mode 100644 account_fiscal_year/static/description/index.html delete mode 100644 account_fiscal_year/tests/__init__.py delete mode 100644 account_fiscal_year/tests/test_account_fiscal_year.py create mode 100644 account_fiscal_year/views/account_views.xml delete mode 100644 account_fiscal_year/views/date_range_type.xml diff --git a/account_fiscal_year/README.rst b/account_fiscal_year/README.rst index 71c472624..5c026ad8e 100644 --- a/account_fiscal_year/README.rst +++ b/account_fiscal_year/README.rst @@ -1,62 +1,89 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - =================== Account Fiscal Year =================== -This module extends `date.range.type` to add `fiscal_year` flag. +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -Override official `res_company.compute_fiscal_year_dates` to get the -fiscal year date start / date end for any given date. -That methods first looks for a date range of type fiscal year that -encloses the give date. -If it does not find it, it falls back on the standard Odoo -technique based on the day/month of end of fiscal year. +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github + :target: https://github.com/OCA/account-financial-tools/tree/12.0/account_fiscal_year + :alt: OCA/account-financial-tools +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_fiscal_year + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/92/12.0 + :alt: Try me on Runbot -Usage -===== +|badge1| |badge2| |badge3| |badge4| |badge5| -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/92/11.0 +This module just adds the menu +Invoicing > Configuration > Accounting > Fiscal Years + +This is totally refactored compared to 11 version, because odoo 12 introduced `account.fiscal.year` object. +See https://github.com/OCA/account-financial-tools/pull/706 + +**Table of contents** + +.. contents:: + :local: Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* Agile Business Group +* Camptocamp SA Contributors ------------- +~~~~~~~~~~~~ * Damien Crier * Laurent Mignon -* Lorenzo Battistini +* Lorenzo Battistini -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit https://odoo-community.org. +.. |maintainer-eLBati| image:: https://github.com/eLBati.png?size=40px + :target: https://github.com/eLBati + :alt: eLBati + +Current `maintainer `__: + +|maintainer-eLBati| + +This module is part of the `OCA/account-financial-tools `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_fiscal_year/__init__.py b/account_fiscal_year/__init__.py index a9e337226..d6e7b2e6c 100644 --- a/account_fiscal_year/__init__.py +++ b/account_fiscal_year/__init__.py @@ -1,2 +1 @@ - -from . import models +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). diff --git a/account_fiscal_year/__manifest__.py b/account_fiscal_year/__manifest__.py index 4ffed7027..9efe49945 100644 --- a/account_fiscal_year/__manifest__.py +++ b/account_fiscal_year/__manifest__.py @@ -1,23 +1,24 @@ -# Author: Damien Crier # Copyright 2016 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2018 Lorenzo Battistini +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). { - 'name': 'Account Fiscal Year', - 'version': '11.0.1.0.0', - 'category': 'Accounting', - 'author': 'Camptocamp SA,' - 'Odoo Community Association (OCA)', - 'website': 'http://www.camptocamp.com', - 'depends': [ - 'account', - 'date_range' + "name": "Account Fiscal Year", + "summary": "Create a menu for Account Fiscal Year", + "version": "12.0.1.0.0", + "development_status": "Beta", + "category": "Accounting", + "website": "https://github.com/OCA/account-financial-tools", + "author": "Agile Business Group, Camptocamp SA, " + "Odoo Community Association (OCA)", + "maintainers": ["eLBati"], + "license": "LGPL-3", + "application": False, + "installable": True, + "depends": [ + "account", + "date_range", ], - 'data': [ - 'data/date_range_type.xml', - 'views/date_range_type.xml', + "data": [ + "views/account_views.xml" ], - 'installable': True, - 'application': True, - 'auto_install': False, - 'license': 'AGPL-3', } diff --git a/account_fiscal_year/data/date_range_type.xml b/account_fiscal_year/data/date_range_type.xml deleted file mode 100644 index 480afb3c5..000000000 --- a/account_fiscal_year/data/date_range_type.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - Fiscal Year - - - - diff --git a/account_fiscal_year/i18n/account_fiscal_year.pot b/account_fiscal_year/i18n/account_fiscal_year.pot index 1e0467b0d..9e6563362 100644 --- a/account_fiscal_year/i18n/account_fiscal_year.pot +++ b/account_fiscal_year/i18n/account_fiscal_year.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -13,16 +13,6 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "Date Range Type" -msgstr "" - #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" @@ -39,18 +29,12 @@ msgid "Date ranges" msgstr "" #. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" +#: model:ir.ui.menu,name:account_fiscal_year.menu_actions_account_fiscal_year +msgid "Fiscal Years" msgstr "" #. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_generator_action +msgid "Generate Date Ranges" msgstr "" diff --git a/account_fiscal_year/i18n/ar.po b/account_fiscal_year/i18n/ar.po deleted file mode 100644 index cb20a3528..000000000 --- a/account_fiscal_year/i18n/ar.po +++ /dev/null @@ -1,63 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2018-06-29 04:11+0000\n" -"Last-Translator: Osoul \n" -"Language-Team: none\n" -"Language: ar\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " -"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" -"X-Generator: Weblate 3.0.1\n" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "المؤسسات" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "أنواع الفترات" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "أنواع الفترات" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "الفترات" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "الفترات" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "السنة المالية" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "سنة مالية؟" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "لا يمكنك حذف فترة من نوع \"سنة مالية\"" - -#~ msgid "date.range.type" -#~ msgstr "نوع الفترة" diff --git a/account_fiscal_year/i18n/da.po b/account_fiscal_year/i18n/da.po deleted file mode 100644 index edccbe0d0..000000000 --- a/account_fiscal_year/i18n/da.po +++ /dev/null @@ -1,59 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2018-09-06 08:12+0000\n" -"Last-Translator: Hans Henrik Gabelgaard \n" -"Language-Team: none\n" -"Language: da\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 3.1.1\n" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Virksomheder" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "Dato intervaltyper" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "Dato intervaltyper" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "Dato intervaller" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "Dato intervaller" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "Regnskabsår" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "Er regnskabsår?" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "Du kan ikke slette en intervaltype markeret som \"Regnskabsår\"" diff --git a/account_fiscal_year/i18n/de.po b/account_fiscal_year/i18n/de.po deleted file mode 100644 index fcab9ba67..000000000 --- a/account_fiscal_year/i18n/de.po +++ /dev/null @@ -1,65 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-22 15:55+0000\n" -"PO-Revision-Date: 2017-12-22 15:55+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" -"Language: de\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Unternehmen" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "Arten von Zeiträumen" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "Arten von Zeiträumen" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "Zeiträume" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "Zeiträume" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "Geschäftsjahr" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "Ist Geschäftsjahr?" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" -"Sie dürfen eine Zeitraumart mit Kennzeichen \"Geschäftsjahr\" nicht löschen" - -#~ msgid "date.range.type" -#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/el_GR.po b/account_fiscal_year/i18n/el_GR.po deleted file mode 100644 index 4b9b029cc..000000000 --- a/account_fiscal_year/i18n/el_GR.po +++ /dev/null @@ -1,61 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-27 00:40+0000\n" -"PO-Revision-Date: 2017-04-27 00:40+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" -"el_GR/)\n" -"Language: el_GR\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Εταιρείες" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "Date Range Type" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" diff --git a/account_fiscal_year/i18n/es.po b/account_fiscal_year/i18n/es.po deleted file mode 100644 index a9302fc8f..000000000 --- a/account_fiscal_year/i18n/es.po +++ /dev/null @@ -1,64 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-22 15:55+0000\n" -"PO-Revision-Date: 2017-12-22 15:55+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" -"Language: es\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Compañías" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "Tipos de rangos de fechas" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "Tipos de rangos de fechas" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "Rangos de fechas" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "Rangos de fechas" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "Ejercicio fiscal" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "¿Es un ejercicio fiscal?" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "No puede eliminar un rango de fecha marcado como \"ejercicio fiscal\"" - -#~ msgid "date.range.type" -#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/es_CO.po b/account_fiscal_year/i18n/es_CO.po deleted file mode 100644 index 03547adf7..000000000 --- a/account_fiscal_year/i18n/es_CO.po +++ /dev/null @@ -1,68 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# JOSE ALEJANDRO ECHEVERRI VALENCIA , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-27 03:40+0000\n" -"PO-Revision-Date: 2018-01-27 03:40+0000\n" -"Last-Translator: JOSE ALEJANDRO ECHEVERRI VALENCIA , 2018\n" -"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/" -"es_CO/)\n" -"Language: es_CO\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Compañías" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "Tipo de Rangos de Fechas" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "Tipo de Rangos de Fechas" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "Rangos de Fechas" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "Rangos de fecha" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "Periodo Fiscal" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "Es perido fiscal?" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" -"Tu no puedes eliminar un tipo de rangos de fechas con el indicador de " -"\"periodo_fiscal\"" - -#~ msgid "date.range.type" -#~ msgstr "tipo.rango.fecha" diff --git a/account_fiscal_year/i18n/es_EC.po b/account_fiscal_year/i18n/es_EC.po deleted file mode 100644 index ee33e2fdc..000000000 --- a/account_fiscal_year/i18n/es_EC.po +++ /dev/null @@ -1,61 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# Cristian Salamea , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-30 00:47+0000\n" -"PO-Revision-Date: 2017-05-30 00:47+0000\n" -"Last-Translator: Cristian Salamea , 2017\n" -"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/" -"es_EC/)\n" -"Language: es_EC\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Compañías" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "Date Range Type" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" diff --git a/account_fiscal_year/i18n/fi.po b/account_fiscal_year/i18n/fi.po deleted file mode 100644 index 547787944..000000000 --- a/account_fiscal_year/i18n/fi.po +++ /dev/null @@ -1,60 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-27 00:40+0000\n" -"PO-Revision-Date: 2017-04-27 00:40+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" -"Language: fi\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Yritykset" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "Date Range Type" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" diff --git a/account_fiscal_year/i18n/fr.po b/account_fiscal_year/i18n/fr.po deleted file mode 100644 index 3f298bc18..000000000 --- a/account_fiscal_year/i18n/fr.po +++ /dev/null @@ -1,65 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# OCA Transbot , 2017 -# Nicolas JEUDY , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-02-09 23:25+0000\n" -"PO-Revision-Date: 2018-02-09 23:25+0000\n" -"Last-Translator: Nicolas JEUDY , 2018\n" -"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" -"Language: 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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Sociétés" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "Types de période" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "Types de période" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "Périodes" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "Périodes" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "Année fiscale" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "Est une année fiscale ?" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "Impossible de supprimer une période cochée \"année fiscale\"" - -#~ msgid "date.range.type" -#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/fr_FR.po b/account_fiscal_year/i18n/fr_FR.po deleted file mode 100644 index 416bd063c..000000000 --- a/account_fiscal_year/i18n/fr_FR.po +++ /dev/null @@ -1,67 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# Quentin THEURET , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-23 03:40+0000\n" -"PO-Revision-Date: 2017-12-23 03:40+0000\n" -"Last-Translator: Quentin THEURET , 2017\n" -"Language-Team: French (France) (https://www.transifex.com/oca/teams/23907/" -"fr_FR/)\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Sociétés" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "Types de période" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "Types de période" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "Périodes" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "Périodes" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "Année fiscale" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "Est une année fiscale ?" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" -"Vous ne pouvez pas supprimer un type de période avec l'étiquette \"année " -"fiscale\"" - -#~ msgid "date.range.type" -#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/hr.po b/account_fiscal_year/i18n/hr.po deleted file mode 100644 index 5f42e1cc2..000000000 --- a/account_fiscal_year/i18n/hr.po +++ /dev/null @@ -1,65 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-22 15:55+0000\n" -"PO-Revision-Date: 2017-12-22 15:55+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" -"Language: hr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Poduzeća" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "Tipovi raspona datuma" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "Tipovi raspona datuma" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "Rasponi datuma" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "Rasponi datuma" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "Fiskalna godina" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "Je fiskalna godina?" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "Nije moguće brisanje raspona sa oznakom \"fiskalna_godina\"" - -#~ msgid "date.range.type" -#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/hr_HR.po b/account_fiscal_year/i18n/hr_HR.po deleted file mode 100644 index b53607e64..000000000 --- a/account_fiscal_year/i18n/hr_HR.po +++ /dev/null @@ -1,66 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-22 15:55+0000\n" -"PO-Revision-Date: 2017-12-22 15:55+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" -"hr_HR/)\n" -"Language: hr_HR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Poduzeća" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "Tipovi raspona datuma" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "Tipovi raspona datuma" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "Rasponi datuma" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "Rasponi datuma" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "Fiskalna godina" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "Je fiskalna godina?" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "Nije moguće brisanje raspona datuma sa oznakom \"fiskalna godina\"" - -#~ msgid "date.range.type" -#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/it.po b/account_fiscal_year/i18n/it.po index e8d41b353..ff9d76872 100644 --- a/account_fiscal_year/i18n/it.po +++ b/account_fiscal_year/i18n/it.po @@ -1,65 +1,42 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * account_fiscal_year +# * account_fiscal_year # -# Translators: -# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-22 15:55+0000\n" -"PO-Revision-Date: 2017-12-22 15:55+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"PO-Revision-Date: 2018-12-24 16:58+0000\n" +"Last-Translator: Sergio Zanchetta \n" +"Language-Team: none\n" "Language: it\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Aziende" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "Tipi di Intervalli di Date" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.3\n" #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting msgid "Date Range Types" -msgstr "Tipi di Intervalli di Date" +msgstr "Tipi di intervallo data" #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting msgid "Date Ranges" -msgstr "Intervalli di Date" +msgstr "Intervalli data" #. module: account_fiscal_year #: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting msgid "Date ranges" -msgstr "Intervalli di date" +msgstr "Intervalli data" #. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "Anno Fiscale" +#: model:ir.ui.menu,name:account_fiscal_year.menu_actions_account_fiscal_year +msgid "Fiscal Years" +msgstr "Anni fiscali" #. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "Anno Fiscale?" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" -"Non è possibile rimuovere un intervallo di date con flag \"Anno Fiscale\"" - -#~ msgid "date.range.type" -#~ msgstr "date.range.type" +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_generator_action +msgid "Generate Date Ranges" +msgstr "Generazione intervalli data" diff --git a/account_fiscal_year/i18n/pt.po b/account_fiscal_year/i18n/pt.po deleted file mode 100644 index e9b9866c8..000000000 --- a/account_fiscal_year/i18n/pt.po +++ /dev/null @@ -1,60 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# OCA Transbot , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" -"PO-Revision-Date: 2018-03-30 02:39+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" -"Language: pt\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Empresas" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "Date Range Type" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" diff --git a/account_fiscal_year/i18n/pt_BR.po b/account_fiscal_year/i18n/pt_BR.po deleted file mode 100644 index c24d9118d..000000000 --- a/account_fiscal_year/i18n/pt_BR.po +++ /dev/null @@ -1,65 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-22 15:55+0000\n" -"PO-Revision-Date: 2017-12-22 15:55+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" -"teams/23907/pt_BR/)\n" -"Language: pt_BR\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Empresas" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -#, fuzzy -msgid "Date Range Type" -msgstr "Tipos de períodos" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "Tipos de períodos" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "Períodos" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "Períodos" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "Ano Fiscal" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "É ano fiscal?" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "Você não pode apagar um tipo de período marcado como \"ano_fiscal\"" - -#~ msgid "date.range.type" -#~ msgstr "date.range.type" diff --git a/account_fiscal_year/i18n/sk.po b/account_fiscal_year/i18n/sk.po deleted file mode 100644 index 49821b8fc..000000000 --- a/account_fiscal_year/i18n/sk.po +++ /dev/null @@ -1,60 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-27 00:40+0000\n" -"PO-Revision-Date: 2017-04-27 00:40+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" -"Language: sk\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Spoločnosti" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "Date Range Type" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" diff --git a/account_fiscal_year/i18n/sl.po b/account_fiscal_year/i18n/sl.po deleted file mode 100644 index 8e01cedf2..000000000 --- a/account_fiscal_year/i18n/sl.po +++ /dev/null @@ -1,61 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: account-financial-tools (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-07-01 02:44+0000\n" -"PO-Revision-Date: 2016-05-09 17:06+0000\n" -"Last-Translator: <>\n" -"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-account-financial-" -"tools-9-0/language/sl/)\n" -"Language: sl\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" -"%100==4 ? 2 : 3);\n" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Družbe" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "Date Range Type" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" diff --git a/account_fiscal_year/i18n/tr.po b/account_fiscal_year/i18n/tr.po deleted file mode 100644 index 7930720a0..000000000 --- a/account_fiscal_year/i18n/tr.po +++ /dev/null @@ -1,60 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# Ediz Duman , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-27 00:40+0000\n" -"PO-Revision-Date: 2017-04-27 00:40+0000\n" -"Last-Translator: Ediz Duman , 2017\n" -"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" -"Language: tr\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" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Firmalar" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "Date Range Type" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" diff --git a/account_fiscal_year/i18n/tr_TR.po b/account_fiscal_year/i18n/tr_TR.po deleted file mode 100644 index cb797bc7f..000000000 --- a/account_fiscal_year/i18n/tr_TR.po +++ /dev/null @@ -1,61 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_fiscal_year -# -# Translators: -# Ediz Duman , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-27 00:40+0000\n" -"PO-Revision-Date: 2017-04-27 00:40+0000\n" -"Last-Translator: Ediz Duman , 2017\n" -"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" -"tr_TR/)\n" -"Language: tr_TR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_res_company -msgid "Companies" -msgstr "Firmalar" - -#. module: account_fiscal_year -#: model:ir.model,name:account_fiscal_year.model_date_range_type -msgid "Date Range Type" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting -msgid "Date Range Types" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting -msgid "Date Ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting -msgid "Date ranges" -msgstr "" - -#. module: account_fiscal_year -#: model:date.range.type,name:account_fiscal_year.fiscalyear -msgid "Fiscal Year" -msgstr "" - -#. module: account_fiscal_year -#: model:ir.model.fields,field_description:account_fiscal_year.field_date_range_type_fiscal_year -msgid "Is fiscal year?" -msgstr "" - -#. module: account_fiscal_year -#: code:addons/account_fiscal_year/models/date_range_type.py:21 -#, python-format -msgid "You cannot delete a date range type with flag \"fiscal_year\"" -msgstr "" diff --git a/account_fiscal_year/models/__init__.py b/account_fiscal_year/models/__init__.py deleted file mode 100644 index c15e81a0f..000000000 --- a/account_fiscal_year/models/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ - -from . import date_range_type -from . import res_company diff --git a/account_fiscal_year/models/date_range_type.py b/account_fiscal_year/models/date_range_type.py deleted file mode 100644 index 4f1977fd8..000000000 --- a/account_fiscal_year/models/date_range_type.py +++ /dev/null @@ -1,25 +0,0 @@ -# Author: Damien Crier -# Copyright 2016 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import models, fields, api, _, exceptions - - -class DateRangeType(models.Model): - _inherit = "date.range.type" - - fiscal_year = fields.Boolean(string='Is fiscal year?', default=False) - - @api.multi - def unlink(self): - """ - Cannot delete a date_range_type with 'fiscal_year' flag = True - """ - for rec in self: - if rec.fiscal_year: - raise exceptions.ValidationError( - _('You cannot delete a date range type with ' - 'flag "fiscal_year"') - ) - else: - super(DateRangeType, rec).unlink() diff --git a/account_fiscal_year/models/res_company.py b/account_fiscal_year/models/res_company.py deleted file mode 100644 index 05bba45dc..000000000 --- a/account_fiscal_year/models/res_company.py +++ /dev/null @@ -1,43 +0,0 @@ -# Author: Damien Crier -# Copyright 2016 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from odoo import models, fields, api - - -class ResCompany(models.Model): - _inherit = 'res.company' - - def find_daterange_fy(self, date): - """ - try to find a date range with type 'fiscalyear' - with @param:date contained in its date_start/date_end interval - """ - fy_id = self.env.ref('account_fiscal_year.fiscalyear') - date_str = fields.Datetime.to_string(date) - s_args = [ - ('type_id', '=', fy_id.id), - ('date_start', '<=', date_str), - ('date_end', '>=', date_str), - ('company_id', '=', self.id), - ] - date_range = self.env['date.range'].search(s_args) - return date_range - - @api.multi - def compute_fiscalyear_dates(self, date): - """ Computes the start and end dates of the fiscalyear where the given - 'date' belongs to - @param date: a datetime object - @returns: a dictionary with date_from and date_to - """ - self = self[0] - date_range = self.find_daterange_fy(date) - if date_range: - # do stuff and override 'normal' behaviour - return { - 'date_from': fields.Date.from_string(date_range[0].date_start), - 'date_to': fields.Date.from_string(date_range[0].date_end), - } - else: - # fall back to standard Odoo computation - return super(ResCompany, self).compute_fiscalyear_dates(date) diff --git a/account_fiscal_year/readme/CONTRIBUTORS.rst b/account_fiscal_year/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..d157ae523 --- /dev/null +++ b/account_fiscal_year/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Damien Crier +* Laurent Mignon +* Lorenzo Battistini diff --git a/account_fiscal_year/readme/DESCRIPTION.rst b/account_fiscal_year/readme/DESCRIPTION.rst new file mode 100644 index 000000000..0fc5d7ab9 --- /dev/null +++ b/account_fiscal_year/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +This module just adds the menu + +Invoicing > Configuration > Accounting > Fiscal Years + +This is totally refactored compared to 11 version, because odoo 12 introduced `account.fiscal.year` object. +See https://github.com/OCA/account-financial-tools/pull/706 diff --git a/account_fiscal_year/static/description/index.html b/account_fiscal_year/static/description/index.html new file mode 100644 index 000000000..782b61f08 --- /dev/null +++ b/account_fiscal_year/static/description/index.html @@ -0,0 +1,427 @@ + + + + + + +Account Fiscal Year + + + +
+

Account Fiscal Year

+ + +

Beta License: LGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runbot

+

This module just adds the menu

+

Invoicing > Configuration > Accounting > Fiscal Years

+

This is totally refactored compared to 11 version, because odoo 12 introduced account.fiscal.year object. +See https://github.com/OCA/account-financial-tools/pull/706

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Agile Business Group
  • +
  • Camptocamp SA
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

eLBati

+

This module is part of the OCA/account-financial-tools project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_fiscal_year/tests/__init__.py b/account_fiscal_year/tests/__init__.py deleted file mode 100644 index 76b825aca..000000000 --- a/account_fiscal_year/tests/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ - -from . import test_account_fiscal_year diff --git a/account_fiscal_year/tests/test_account_fiscal_year.py b/account_fiscal_year/tests/test_account_fiscal_year.py deleted file mode 100644 index f7db405a3..000000000 --- a/account_fiscal_year/tests/test_account_fiscal_year.py +++ /dev/null @@ -1,45 +0,0 @@ -# Author: Damien Crier -# Copyright 2016 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -import datetime -from dateutil.relativedelta import relativedelta - -from odoo import fields -from odoo.tests.common import TransactionCase - - -class TestAccountFiscalYear(TransactionCase): - - def setUp(self): - super(TestAccountFiscalYear, self).setUp() - self.today_date = datetime.date.today() + relativedelta(years=100) - self.company = self.env.ref('base.main_company') - - def test_compute_fiscalyear(self): - """Check that a call to that Odoo's method returns the dates from - a fiscal year date range if one exists for the given date - """ - # check that the result by default from 1/1 31/12 - result = self.company.compute_fiscalyear_dates(self.today_date) - self.assertEquals( - result['date_from'], - datetime.date(self.today_date.year, 1, 1)) - self.assertEquals( - result['date_to'], - datetime.date(self.today_date.year, 12, 31)) - # create a fiscal year with different limits - demo_date_range = self.env['date.range'].create( - {'name': 'FY%s' % (self.today_date.year), - 'date_start': '%s-04-01' % self.today_date.year, - 'date_end': '%s-11-30' % self.today_date.year, - 'type_id': self.env.ref('account_fiscal_year.fiscalyear').id, - 'company_id': self.company.id, - 'active': True}) - result = self.company.compute_fiscalyear_dates( - datetime.date(self.today_date.year, 5, 4)) - self.assertEqual( - result['date_from'], - fields.Date.from_string(demo_date_range.date_start)) - self.assertEqual( - result['date_to'], - fields.Date.from_string(demo_date_range.date_end)) diff --git a/account_fiscal_year/views/account_views.xml b/account_fiscal_year/views/account_views.xml new file mode 100644 index 000000000..ad1a385a0 --- /dev/null +++ b/account_fiscal_year/views/account_views.xml @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/account_fiscal_year/views/date_range_type.xml b/account_fiscal_year/views/date_range_type.xml deleted file mode 100644 index ad2608445..000000000 --- a/account_fiscal_year/views/date_range_type.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - date.range.type.tree - date.range.type - - - - - - - - - date.range.type.form - date.range.type - - - - - - - - - - - - - From be24921f875418d86248baa63612870125d221c4 Mon Sep 17 00:00:00 2001 From: mreficent Date: Fri, 19 Jul 2019 13:18:41 +0200 Subject: [PATCH 16/16] [ADD] fiscalyear date.range.type data This date.range.type in v11 have benn used in some cases. Then, when you migrate, you need to have this data or else delete its xmlid. We think it's better to keep it, because you may want to still use it. --- account_fiscal_year/__manifest__.py | 1 + account_fiscal_year/data/date_range_type.xml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 account_fiscal_year/data/date_range_type.xml diff --git a/account_fiscal_year/__manifest__.py b/account_fiscal_year/__manifest__.py index 9efe49945..9795a889d 100644 --- a/account_fiscal_year/__manifest__.py +++ b/account_fiscal_year/__manifest__.py @@ -19,6 +19,7 @@ "date_range", ], "data": [ + "data/date_range_type.xml", "views/account_views.xml" ], } diff --git a/account_fiscal_year/data/date_range_type.xml b/account_fiscal_year/data/date_range_type.xml new file mode 100644 index 000000000..74137767a --- /dev/null +++ b/account_fiscal_year/data/date_range_type.xml @@ -0,0 +1,7 @@ + + + + Fiscal Year + + +