Skip to content

Commit

Permalink
[14.0][MIG] account_move_fiscal_month
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier-bouquiaux committed Apr 12, 2022
1 parent ffc0c89 commit 4961b70
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion account_move_fiscal_month/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Account Move Fiscal Month",
"summary": """Display the fiscal month on journal entries/item""",
"version": "13.0.1.1.1",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-financial-tools",
Expand Down
4 changes: 3 additions & 1 deletion account_move_fiscal_month/models/account_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ class AccountMoveLine(models.Model):

_inherit = "account.move.line"

date_range_fm_id = fields.Many2one(related="move_id.date_range_fm_id",)
date_range_fm_id = fields.Many2one(
related="move_id.date_range_fm_id",
)
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_01_account_move_date_range_fm_id_compute(self):
january_1st = Date.from_string("2017-01-01")
move = self.create_account_move(january_1st)

self.assertEquals(
self.assertEqual(
move.date_range_fm_id,
self.date_range_january_2017,
msg="Move period should be January 2017",
Expand Down
6 changes: 6 additions & 0 deletions setup/account_move_fiscal_month/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
1 change: 0 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
git+https://github.com/OCA/product-attribute@refs/pull/837/head#subdirectory=setup/product_category_product_link

0 comments on commit 4961b70

Please sign in to comment.