2
0

[15.0][MIG] Account Fiscal Year

This commit is contained in:
Pedro Evaristo Gonzalez Sanchez 2022-03-07 11:09:58 -05:00 committed by Benoit Aimont
parent 7a2c377b30
commit ea3355898a
5 changed files with 10 additions and 7 deletions

View File

@ -14,13 +14,13 @@ Account Fiscal Year
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3 :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github .. |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/14.0/account_fiscal_year :target: https://github.com/OCA/account-financial-tools/tree/15.0/account_fiscal_year
:alt: OCA/account-financial-tools :alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_fiscal_year :target: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_fiscal_year
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/92/14.0 :target: https://runbot.odoo-community.org/runbot/92/15.0
:alt: Try me on Runbot :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
@ -88,6 +88,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-eLBati| |maintainer-eLBati|
This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/14.0/account_fiscal_year>`_ project on GitHub. This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/15.0/account_fiscal_year>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

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

View File

@ -12,7 +12,6 @@ class AccountFiscalYear(models.Model):
_rec_name = "name" _rec_name = "name"
name = fields.Char( name = fields.Char(
string="Name",
required=True, required=True,
) )
date_from = fields.Date( date_from = fields.Date(

View File

@ -3,3 +3,7 @@
* Lorenzo Battistini <https://github.com/eLBati> * Lorenzo Battistini <https://github.com/eLBati>
* Andrea Stirpe <a.stirpe@onestein.nl> * Andrea Stirpe <a.stirpe@onestein.nl>
* Simone Rubino <simone.rubino@agilebg.com> * Simone Rubino <simone.rubino@agilebg.com>
* `Pesol <https://www.pesol.es>`__:
* Pedro Evaristo Gonzalez Sanchez <pedro.gonzalez@pesol.es>

View File

@ -1,8 +1,8 @@
from odoo import fields from odoo import fields
from odoo.tests import SavepointCase from odoo.tests import common
class TestFiscalPosition(SavepointCase): class TestFiscalPosition(common.TransactionCase):
def check_compute_fiscal_year( def check_compute_fiscal_year(
self, company, date, expected_date_from, expected_date_to self, company, date, expected_date_from, expected_date_to
): ):