2
0

account_fiscal_year: Date range dependency no more needed

This commit is contained in:
SimoRubi 2020-11-09 09:18:15 +01:00 committed by Benoit Aimont
parent c06c1bb456
commit 6c80e6997a
6 changed files with 9 additions and 65 deletions

View File

@ -16,12 +16,9 @@
"license": "AGPL-3", "license": "AGPL-3",
"depends": [ "depends": [
"account", "account",
"date_range",
], ],
"data": [ "data": [
"security/ir.model.access.csv", "security/ir.model.access.csv",
"data/date_range_type.xml",
"views/account_fiscal_year_views.xml", "views/account_fiscal_year_views.xml",
"views/account_views.xml",
], ],
} }

View File

@ -1,7 +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" />
</record>
</odoo>

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 14.0\n" "Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-11-06 09:43+0000\n" "POT-Creation-Date: 2020-11-09 08:15+0000\n"
"PO-Revision-Date: 2020-11-06 09:43+0000\n" "PO-Revision-Date: 2020-11-09 08:15+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -40,21 +40,6 @@ msgstr ""
msgid "Created on" msgid "Created on"
msgstr "" msgstr ""
#. module: account_fiscal_year
#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting
msgid "Date Range Types"
msgstr "Tipi di intervallo data"
#. module: account_fiscal_year
#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting
msgid "Date Ranges"
msgstr "Intervalli data"
#. module: account_fiscal_year
#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting
msgid "Date ranges"
msgstr "Intervalli data"
#. module: account_fiscal_year #. module: account_fiscal_year
#: model:ir.model.fields,field_description:account_fiscal_year.field_account_fiscal_year__display_name #: model:ir.model.fields,field_description:account_fiscal_year.field_account_fiscal_year__display_name
#: model:ir.model.fields,field_description:account_fiscal_year.field_res_company__display_name #: model:ir.model.fields,field_description:account_fiscal_year.field_res_company__display_name
@ -72,7 +57,6 @@ msgid "Ending Date, included in the fiscal year."
msgstr "Data di chiusura, inclusa nell'anno fiscale." msgstr "Data di chiusura, inclusa nell'anno fiscale."
#. module: account_fiscal_year #. module: account_fiscal_year
#: model:date.range.type,name:account_fiscal_year.fiscalyear
#: model:ir.model,name:account_fiscal_year.model_account_fiscal_year #: model:ir.model,name:account_fiscal_year.model_account_fiscal_year
msgid "Fiscal Year" msgid "Fiscal Year"
msgstr "Anni fiscali" msgstr "Anni fiscali"
@ -88,11 +72,6 @@ msgstr "Anno fiscale 2020"
msgid "Fiscal Years" msgid "Fiscal Years"
msgstr "Anni fiscali" msgstr "Anni fiscali"
#. module: account_fiscal_year
#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_generator_action
msgid "Generate Date Ranges"
msgstr "Generazione intervalli data"
#. module: account_fiscal_year #. module: account_fiscal_year
#: model:ir.model.fields,field_description:account_fiscal_year.field_account_fiscal_year__id #: model:ir.model.fields,field_description:account_fiscal_year.field_account_fiscal_year__id
#: model:ir.model.fields,field_description:account_fiscal_year.field_res_company__id #: model:ir.model.fields,field_description:account_fiscal_year.field_res_company__id

View File

@ -1,5 +1,3 @@
This module allows to create and edit fiscal years from the menu: This module allows to create and edit fiscal years from the menu:
Invoicing > Configuration > Accounting > Date ranges > Fiscal Years Invoicing > Configuration > Accounting > Fiscal Years
A new type of date range 'Fiscal year' is also included.

View File

@ -54,4 +54,10 @@
</p> </p>
</field> </field>
</record> </record>
<menuitem
id="menu_actions_account_fiscal_year"
parent="account.account_account_menu"
action="actions_account_fiscal_year"
/>
</odoo> </odoo>

View File

@ -1,29 +0,0 @@
<?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
id="menu_actions_account_fiscal_year"
action="actions_account_fiscal_year"
parent="menu_date_range_accounting"
/>
<menuitem
id="menu_date_range_action_accounting"
action="date_range.date_range_action"
parent="menu_date_range_accounting"
/>
<menuitem
id="menu_date_range_type_action_accounting"
action="date_range.date_range_type_action"
parent="menu_date_range_accounting"
/>
<menuitem
id="menu_date_range_generator_action"
action="date_range.date_range_generator_action"
parent="menu_date_range_accounting"
/>
</odoo>