Skip to content

Commit

Permalink
[MIG] account_fiscal_year: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
salvorapi committed Jan 7, 2025
1 parent e785d32 commit b43ddd2
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions account_fiscal_year/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down
2 changes: 1 addition & 1 deletion account_fiscal_year/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions account_fiscal_year/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
- Simone Rubino \<<[email protected]>\>
- [Pesol](https://www.pesol.es):
- Pedro Evaristo Gonzalez Sanchez \<<[email protected]>\>
- Salvatore Davide Rapisarda \<<[email protected]>\>
4 changes: 2 additions & 2 deletions account_fiscal_year/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions account_fiscal_year/views/account_fiscal_year_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b43ddd2

Please sign in to comment.