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

When I try to update odoo from v15 to v16 (running in a docker environment) via openupgradelib I encouter two problems: 1) some modules like account isn't migrated into the new database and 2) in general the new database is as described as possibly not compatible with the new version 16. I have provided all necessary modules and run the update with the following command (parameters): -c ou_15_16.config --save --database odoo16 --upgrade-path=/mnt/extra-addons/openupgrade_scripts/scripts --load=base,web,account,openupgrade_framework --update all --stop-after-init

I'm using postgres 15.4 to store the database. Am I missing something? I get no errors while the upgrade is running. And no message that some modules like account aren't migrated but I don't see them in the new database.

아바타
취소
베스트 답변

Hi,


Make sure you’ve cloned the OpenUpgrade repo correctly and switched to the 16.0 branch:

git clone https://github.com/OCA/OpenUpgrade.git && git checkout 16.0.


Check that the account module migration scripts exist in the folder:

openupgrade_scripts/scripts/account. If the folder is missing, the module won't be processed.


If you had cloned earlier, run git pull origin 16.0 to ensure you have the latest scripts.


If the account wasn’t marked as installed in the Odoo 15 database (ir_module_module.state = 'installed'), OpenUpgrade won’t migrate it.


Add --log-level=debug_sql to your upgrade command to check if any module (like account) is being skipped silently.


You can refer to this blog for a complete working guide on how to upgrade using OpenUpgrade:

https://www.cybrosys.com/blog/how-to-upgrade-the-odoo-15-database-using-openupgrade


Hope it helps.

아바타
취소
관련 게시물 답글 화면 활동
1
2월 23
3267
3
8월 25
2892
2
12월 24
4297
0
11월 23
1486
0
10월 23
2395