Skip to content

Commit

Permalink
[UPD] update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AungKoKoLin1997 committed Jan 17, 2025
1 parent 645a371 commit 78351af
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from freezegun import freeze_time

from odoo import fields
from odoo.tests import tagged

from odoo.addons.stock_account.tests.test_stockvaluationlayer import (
Expand Down Expand Up @@ -38,5 +39,6 @@ def test_svl_accounting_date_manual_periodic(self):
self._make_in_move(self.product1, 10)
valuation_layer = self.product1.stock_valuation_layer_ids
self.assertEqual(
valuation_layer.accounting_date, valuation_layer.create_date.date()
valuation_layer.accounting_date,
fields.Date.context_today(valuation_layer, valuation_layer.create_date),
)

0 comments on commit 78351af

Please sign in to comment.