From 7e2d334869b3c57ab35cfaba92b7dfb2c8ee1309 Mon Sep 17 00:00:00 2001 From: KaySar12 Date: Mon, 10 Mar 2025 13:59:42 +0700 Subject: [PATCH] update Makefile : add upgrade modules commands --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6387ed643..44079ef33 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,9 @@ cleanup_addons: @bash ${PWD}/setup/clean_up_addons.sh $(shell echo $(ADDONS) | tr ',' ' ') install_modules: ${PYTHON} odoo-bin --config=${CONFIG} -d ${DATABASE} -i ${MODULES} --xmlrpc-port=${PORT} - +upgrade_modules: + ${PYTHON} odoo-bin upgrade_code --addons-path ${ADDONS} --from ${OLD_VERS} --to ${NEW_VERS} + ##### Docker Deployment ######### run_test_docker: sudo ${DOCKER_EXEC} ${CONTAINER_ID} odoo --test-tags :TestAccountMove.test_out_invoice_auto_post_monthly,TestAccountMove.test_included_tax --log-level=test --test-enable -d testdb-${TAG} --stop-after-init --config=/etc/odoo/${CONFIG} --xmlrpc-port=8071 && \