콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
2145 화면

Hello,

I'm trying to upgrade a database from v14 to v16 (i've try v14 to v15 also), every time i lunch de upgrade, it didn't work because an error about tests.test_on_hand_quantity.

This database is located in Odoo.sh, and have Enterprise and OCA modules. 

I have tried upgrading from Odoo.sh upgrade tool and downloading the database and upgrading from command line. 


2024-01-17 09:18:33,491 3378 INFO db_1219365 odoo.upgrade.testing: Calling TestOnHandQuantityUnchanged.check 
2024-01-17 09:18:34,379 3378 INFO db_1219365 odoo.upgrade.stock.tests.test_on_hand_quantity: ====================================================================== 
2024-01-17 09:18:34,380 3378 ERROR db_1219365 odoo.upgrade.stock.tests.test_on_hand_quantity: FAIL: TestOnHandQuantityUnchanged.test_check
Traceback (most recent call last):
  File "/tmp/tmppn3bd8ji/migrations/testing.py", line 207, in test_check
    self.check(value)
  File "/tmp/tmppn3bd8ji/migrations/stock/tests/test_on_hand_quantity.py", line 41, in check
    self.assertEqual(before_results, self.convert_check(after_results), self.message)
AssertionError: Lists differ: [[13,[25729 chars]257.125'], [82389, '6'], [82524, '1.33'], [835[4440 chars]30']] != [[13,[25729 chars]257.1406'], [82389, '6'], [82524, '1.33'], [83[4441 chars]30']]

First differing element 1619:
[82198, '105507815686257.125']
[82198, '105507815686257.1406']

Diff is 35998 characters long. Set self.maxDiff to None to see it. : Invariant check fail
 
2024-01-17 09:18:34,383 3378 INFO db_1219365 odoo.upgrade.testing: Starting IntegrityCase.test_check ... 
2024-01-17 09:18:34,384 3378 INFO db_1219365 odoo.upgrade.testing: skipped IntegrityCase.test_check 
2024-01-17 09:18:34,384 3378 INFO db_1219365 odoo.upgrade.stock.tests.test_uom_consistency: Starting TestUoMConsistencyChanges.test_check ... 
2024-01-17 09:18:34,385 3378 INFO db_1219365 odoo.upgrade.testing: Calling TestUoMConsistencyChanges.check 
2024-01-17 09:18:34,465 3378 INFO db_1219365 odoo.service.server: 15 post-tests in 46.74s, 25292 queries 
2024-01-17 09:18:34,465 3378 ERROR db_1219365 odoo.tests.runner: 1 failed, 0 error(s) of 15 tests when loading database 'db_1219365' 
2024-01-17 09:18:34,465 3378 INFO db_1219365 odoo.service.server: Initiating shutdown 

Thanks!


아바타
취소
작성자 베스트 답변

Error was fixed by odoo.sh. It was an internal error, so only they can fix it.

Thanks!

아바타
취소
베스트 답변

got the same problem . Did you got any solution? thank you

아바타
취소
베스트 답변

got the same problem . Did you got any solution? thank you

아바타
취소
관련 게시물 답글 화면 활동
5
3월 24
6383
0
5월 23
1768
1
5월 22
3226
3
1월 25
9743
0
8월 22
3217