update odoo18 : add scaffolding
Some checks are pending
Setup Native Action / native (3.12.7) (push) Waiting to run
Setup Native Action / docker (3.12.7) (push) Waiting to run

This commit is contained in:
hoangvv 2025-02-21 16:17:04 +07:00
parent e9d48920a0
commit 210cea86de
2 changed files with 6 additions and 3 deletions

View File

@ -77,8 +77,11 @@ restore_database:
read -p "Enter the database name: " DBNAME; \
echo "Restoring database: $$DBNAME"; \
${PYTHON} odoo-bin db --config=${CONFIG} load "$$DBNAME" "$$BackupDB"
scaffold_module:
read -p "Module Name: " ModuleName; \
read -p "addons Path[eg:addons, extra-addons, exercise]: " ModulePath; \
${PYTHON} odoo-bin scaffold $$ModuleName && \
mv $$ModuleName ${PWD}/$$ModulePath;
##### 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 && \

@ -1 +1 @@
Subproject commit 8fd9e668cbcc5baa50f94b8b82dc056d67ec59d7
Subproject commit 7fab4f408c2a3484527405b73fc4b6ec3c9aacf7