Merge branch '16.0' of github.com:Mint-System/Odoo-Development into 16.0

This commit is contained in:
Kurt Gisler committed 2024-05-21 10:51:58 +02:00
commit ea4d84a9cb
59 files changed
+82 -58

No files matched your search

+1 -1
Submodule oca/crm updated: 027d30e7a7...97a9e7ba7d.
+1 -1
Submodule oca/edi updated: 624a5a07c4...531c2fdb78.
+1 -1
Submodule oca/hr updated: dd35c80181...9730032e77.
+1 -1
Submodule oca/iot updated: 8a38566e61...430793659a.
+1 -1
Submodule oca/web updated: baf589950a...18ed6ad14e.
+1 -1
Submodule odoo updated: 391a427620...51bc2f8c68.
+24 -1
View File
@@ -471,6 +471,26 @@ function install-module() {
odoo-bin -d "$DATABASE" -i "$MODULE_NAME" --config 'config/odoo.conf' --addons-path="$ADDONS_PATH" --stop-after-init --no-http
}
function install-requirements() {
if test -z "$1"; then echo "\$1 is empty."; exit; fi
DATABASE="$1"
FILE_PATH="$2"
# Use default database if second param is not given
if test -z "$2"; then
DATABASE="$GIT_BRANCH"
FILE_PATH="$1"
fi
FILE_NAME=$(basename "$FILE_PATH")
if [[ "$FILE_NAME" != "requirements.txt" ]]; then echo "\$1 must point to requirements.txt file."; exit; fi
activate-venv
echo "Installing python packages from $FILE_PATH ..."
pip install -r "$FILE_PATH"
}
function test-module() {
DATABASE="$1"
MODULE_NAME=$(basename "$2")
@@ -487,7 +507,7 @@ function test-module() {
odoo-bin -d "$DATABASE" -i "$MODULE_NAME" --config 'config/odoo.conf' --addons-path="$ADDONS_PATH" --stop-after-init --no-http --test-tags /"$MODULE_NAME"
}
function remove-module() {
function remove-module-requirements() {
if test -z "$1"; then echo "\$1 is empty."; exit; fi
DATABASE="$1"
@@ -1158,6 +1178,9 @@ case "$1" in
install-odoo-scripts)
install-odoo-scripts
;;
install-requirements)
install-requirements "$2" "$3"
;;
install-snippet)
install-snippet "$2" "$3"
;;
+1
View File
@@ -36,6 +36,7 @@
| install-module | [db][name,path] | Install target Odoo module. Default database is branch name. |
| install-native | | Install Odoo requirements in source folder. |
| install-odoo-scripts | | Install Odoo scripts. |
| install-requirements | [db][path] | Install python packages from requirements.txt. |
| install-snippet | [env][path] | Install snippet xml definition. |
| down | [name] | Remove docker containers and volumes. Options: none, db, admin, odoo, mail. |
| lint-module | [path] | Run pylint odoo for module. |
+1 -1
Submodule themes updated: 1d0f0fc2ca...e69120f149.