Skip to content

Commit

Permalink
Merge PR OCA#2159 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by jbaudoux
  • Loading branch information
OCA-git-bot committed Dec 31, 2024
2 parents 1460b83 + 9fbcafa commit 6bcd629
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ class TestStockValuationStandard(TestStockValuationStandard):
def setUp(self):
super(TestStockValuationStandard, self).setUp()

@freeze_time("2022-12-02 23:00:00", tz_offset=9)
@freeze_time("2022-12-02 23:00:00")
def test_svl_accounting_date_real_time(self):
self.product1.product_tmpl_id.categ_id.property_valuation = "real_time"
self.product1.categ_id.property_valuation = "real_time"
self.env.user.tz = "Asia/Tokyo"
self._make_in_move(self.product1, 10)
valuation_layer = self.product1.stock_valuation_layer_ids
self.assertEqual(valuation_layer.accounting_date, date(2022, 12, 3))
Expand Down

0 comments on commit 6bcd629

Please sign in to comment.