From 7c009f350c60256a11ef253379ceb71cbd1de095 Mon Sep 17 00:00:00 2001 From: KaySar12 Date: Tue, 18 Mar 2025 17:46:37 +0700 Subject: [PATCH] update makefile add command delete_records --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f28ac0856..d736e09ba 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,8 @@ install_modules: ${PYTHON} odoo-bin --config=${CONFIG} -d ${DATABASE} -i ${MODULES} --xmlrpc-port=${PORT} upgrade_modules: ${PYTHON} odoo-bin upgrade_code --script ${SCRIPTS} --addons-path=${UPGRADE_DIR} || true - +delete_records: + ${PYTHON} ${PWD}/setup/delete_records.py ${DATABASE} ${BASE_MODEL} ##### 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 && \