2
0

ADD refactored account_fiscal_year

This commit is contained in:
Lorenzo Battistini 2018-11-09 16:22:30 +01:00 committed by Benoit Aimont
parent 55ae9160df
commit 9bf7e996ed
34 changed files with 547 additions and 1398 deletions

View File

@ -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
<https://github.com/OCA/account-financial-tools/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 <https://github.com/OCA/account-financial-tools/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 <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_fiscal_year%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Images
------
Authors
~~~~~~~
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
* Agile Business Group
* Camptocamp SA
Contributors
------------
~~~~~~~~~~~~
* Damien Crier <damien.crier@camptocamp.com>
* Laurent Mignon <laurent.mignon@acsone.eu>
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Lorenzo Battistini <https://github.com/eLBati>
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 <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-eLBati|
This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/12.0/account_fiscal_year>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@ -1,2 +1 @@
from . import models
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).

View File

@ -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 <https://github.com/eLBati>
# 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',
}

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="fiscalyear" model="date.range.type">
<field name="name">Fiscal Year</field>
<field name="allow_overlap" eval="False"/>
<field name="fiscal_year" eval="True"/>
</record>
</odoo>

View File

@ -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 ""

View File

@ -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 <baruni@osoul.ly>\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 "نوع الفترة"

View File

@ -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 <hhg@gabelgaard.org>\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\""

View File

@ -1,65 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

View File

@ -1,61 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 ""

View File

@ -1,64 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

View File

@ -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 <josealejandroeche@gmail.com>, 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 <josealejandroeche@gmail."
"com>, 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"

View File

@ -1,61 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# Cristian Salamea <ovnicraft@gmail.com>, 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 <ovnicraft@gmail.com>, 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 ""

View File

@ -1,60 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 ""

View File

@ -1,65 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Nicolas JEUDY <njeudy@panda-chi.io>, 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 <njeudy@panda-chi.io>, 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"

View File

@ -1,67 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# Quentin THEURET <odoo@kerpeo.com>, 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 <odoo@kerpeo.com>, 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"

View File

@ -1,65 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

View File

@ -1,66 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

View File

@ -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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <primes2h@gmail.com>\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"

View File

@ -1,60 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 ""

View File

@ -1,65 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

View File

@ -1,60 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 ""

View File

@ -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 ""

View File

@ -1,60 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# Ediz Duman <neps1192@gmail.com>, 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 <neps1192@gmail.com>, 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 ""

View File

@ -1,61 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_fiscal_year
#
# Translators:
# Ediz Duman <neps1192@gmail.com>, 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 <neps1192@gmail.com>, 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 ""

View File

@ -1,3 +0,0 @@
from . import date_range_type
from . import res_company

View File

@ -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()

View File

@ -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)

View File

@ -0,0 +1,3 @@
* Damien Crier <damien.crier@camptocamp.com>
* Laurent Mignon <laurent.mignon@acsone.eu>
* Lorenzo Battistini <https://github.com/eLBati>

View File

@ -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

View File

@ -0,0 +1,427 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
<title>Account Fiscal Year</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: grey; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document" id="account-fiscal-year">
<h1 class="title">Account Fiscal Year</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-financial-tools/tree/12.0/account_fiscal_year"><img alt="OCA/account-financial-tools" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_fiscal_year"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/92/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module just adds the menu</p>
<p>Invoicing &gt; Configuration &gt; Accounting &gt; Fiscal Years</p>
<p>This is totally refactored compared to 11 version, because odoo 12 introduced <cite>account.fiscal.year</cite> object.
See <a class="reference external" href="https://github.com/OCA/account-financial-tools/pull/706">https://github.com/OCA/account-financial-tools/pull/706</a></p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-tools/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_fiscal_year%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#id2">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id3">Authors</a></h2>
<ul class="simple">
<li>Agile Business Group</li>
<li>Camptocamp SA</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#id4">Contributors</a></h2>
<ul class="simple">
<li>Damien Crier &lt;<a class="reference external" href="mailto:damien.crier&#64;camptocamp.com">damien.crier&#64;camptocamp.com</a>&gt;</li>
<li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt;</li>
<li>Lorenzo Battistini &lt;<a class="reference external" href="https://github.com/eLBati">https://github.com/eLBati</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>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.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external" href="https://github.com/eLBati"><img alt="eLBati" src="https://github.com/eLBati.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-tools/tree/12.0/account_fiscal_year">OCA/account-financial-tools</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,2 +0,0 @@
from . import test_account_fiscal_year

View File

@ -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))

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<menuitem id="menu_date_range_accounting" name="Date ranges"
parent="account.account_account_menu" sequence="50"/>
<menuitem action="account.actions_account_fiscal_year"
id="menu_actions_account_fiscal_year"
parent="menu_date_range_accounting" />
<menuitem action="date_range.date_range_action" id="menu_date_range_action_accounting" parent="menu_date_range_accounting"/>
<menuitem action="date_range.date_range_type_action"
id="menu_date_range_type_action_accounting" parent="menu_date_range_accounting"/>
<menuitem action="date_range.date_range_generator_action"
id="menu_date_range_generator_action" parent="menu_date_range_accounting"/>
</odoo>

View File

@ -1,31 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_date_range_type_fiscalyear_tree" model="ir.ui.view">
<field name="name">date.range.type.tree</field>
<field name="model">date.range.type</field>
<field name="inherit_id" ref="date_range.view_date_range_type_tree"/>
<field name="arch" type="xml">
<field name="allow_overlap" position="after">
<field name="fiscal_year" readonly="1"/>
</field>
</field>
</record>
<record id="view_date_range_type_fiscalyear_form_view" model="ir.ui.view">
<field name="name">date.range.type.form</field>
<field name="model">date.range.type</field>
<field name="inherit_id" ref="date_range.view_date_range_type_form_view"/>
<field name="arch" type="xml">
<field name="allow_overlap" position="after">
<field name="fiscal_year" readonly="1"/>
</field>
</field>
</record>
<menuitem id="menu_date_range_accounting" name="Date ranges"
parent="account.account_account_menu" sequence="50"/>
<menuitem action="date_range.date_range_action" id="menu_date_range_action_accounting" parent="menu_date_range_accounting"/>
<menuitem action="date_range.date_range_type_action"
id="menu_date_range_type_action_accounting" parent="menu_date_range_accounting"/>
</odoo>