[14.0][MIG] account_move_fiscal_month

This commit is contained in:
xavier-bouquiaux
2021-09-28 08:31:26 +02:00
parent ffc0c89ce1
commit 4961b704b3
6 changed files with 12 additions and 4 deletions

View File

@@ -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",

View File

@@ -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",
)

View File

@@ -100,7 +100,7 @@ class TestAccountMoveFiscalMonth(TransactionCase):
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",

View File

@@ -0,0 +1 @@
../../../../account_move_fiscal_month

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

View File

@@ -1 +0,0 @@
git+https://github.com/OCA/product-attribute@refs/pull/837/head#subdirectory=setup/product_category_product_link