[MIG] account_fiscal_year: Migration to 18.0

This commit is contained in:
Salvatore Davide Rapisarda
2025-01-07 17:25:50 +01:00
parent e785d329f7
commit b43ddd2c0d
6 changed files with 11 additions and 10 deletions

View File

@@ -35,9 +35,9 @@ Invoicing > Configuration > Accounting > Fiscal Years
.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/17.0/account_fiscal_year/static/description/account_fiscal_year_form.png
The start and end dates of the current fiscal years are then available
in the company tree and form views.
in the company list and form views.
.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/17.0/account_fiscal_year/static/description/res_company_tree.png
.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/17.0/account_fiscal_year/static/description/res_company_list.png
**Table of contents**

View File

@@ -5,7 +5,7 @@
{
"name": "Account Fiscal Year",
"summary": "Create Account Fiscal Year",
"version": "17.0.1.1.0",
"version": "18.0.1.0.0",
"development_status": "Production/Stable",
"category": "Accounting",
"website": "https://github.com/OCA/account-financial-tools",

View File

@@ -5,3 +5,4 @@
- Simone Rubino \<<simone.rubino@agilebg.com>\>
- [Pesol](https://www.pesol.es):
- Pedro Evaristo Gonzalez Sanchez \<<pedro.gonzalez@pesol.es>\>
- Salvatore Davide Rapisarda \<<sdrapisarda@gmail.com>\>

View File

@@ -5,6 +5,6 @@ Invoicing \> Configuration \> Accounting \> Fiscal Years
.. figure:: static/description/account_fiscal_year_form.png
The start and end dates of the current fiscal years are then available
in the company tree and form views.
in the company list and form views.
.. figure:: static/description/res_company_tree.png
.. figure:: static/description/res_company_list.png

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -31,23 +31,23 @@
</field>
</record>
<record id="account_fiscal_year_tree_view" model="ir.ui.view">
<field name="name">Tree view for account.fiscal.year</field>
<record id="account_fiscal_year_list_view" model="ir.ui.view">
<field name="name">List view for account.fiscal.year</field>
<field name="model">account.fiscal.year</field>
<field name="arch" type="xml">
<tree>
<list>
<field name="name" />
<field name="date_from" />
<field name="date_to" />
<field name="company_id" groups="base.group_multi_company" />
</tree>
</list>
</field>
</record>
<record id="actions_account_fiscal_year" model="ir.actions.act_window">
<field name="name">Fiscal Years</field>
<field name="res_model">account.fiscal.year</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click here to create a new fiscal year.