diff --git a/account_fiscal_year/README.rst b/account_fiscal_year/README.rst index 71c47262..5c026ad8 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 a9e33722..d6e7b2e6 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 4ffed702..9efe4994 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 480afb3c..00000000 --- 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 1e0467b0..9e656336 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 cb20a352..00000000 --- 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 edccbe0d..00000000 --- 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 fcab9ba6..00000000 --- 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 4b9b029c..00000000 --- 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 a9302fc8..00000000 --- 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 03547adf..00000000 --- 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 ee33e2fd..00000000 --- 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 54778794..00000000 --- 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 3f298bc1..00000000 --- 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 416bd063..00000000 --- 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 5f42e1cc..00000000 --- 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 b53607e6..00000000 --- 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 e8d41b35..ff9d7687 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 e9b9866c..00000000 --- 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 c24d9118..00000000 --- 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 49821b8f..00000000 --- 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 8e01cedf..00000000 --- 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 7930720a..00000000 --- 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 cb797bc7..00000000 --- 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 c15e81a0..00000000 --- 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 4f1977fd..00000000 --- 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 05bba45d..00000000 --- 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 00000000..d157ae52 --- /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 00000000..0fc5d7ab --- /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 00000000..782b61f0 --- /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 76b825ac..00000000 --- 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 f7db405a..00000000 --- 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 00000000..ad1a385a --- /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 ad260844..00000000 --- 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 - - - - - - - - - - - - -