Skip to content

Commit bb4a75a

Browse files
committed
Merge branch 'dev'
2 parents 438f4a4 + 05b4754 commit bb4a75a

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Release Notes
22

3+
## Release 1.2.0 (2023-02-11)
4+
5+
### Added
6+
7+
Added `-t` shortcut for `--create-test-db` option of `odoo-helper test` command
8+
9+
---
10+
311
## Release 1.1.0 (2023-01-23)
412

513
### Added

lib/install.bash

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -843,9 +843,6 @@ function install_virtual_env {
843843

844844
execv nodeenv "${nodeenv_opts[@]}"; # Install node environment
845845

846-
exec_npm set user 0;
847-
exec_npm set unsafe-perm true;
848-
849846
echoe -e "${BLUEC}Virtualeenv initialization completed!${NC}"
850847
fi
851848
}

lib/test.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ function test_module {
376376
$SCRIPT_NAME test pylint [--disable=E111,E222,...] <addon path> [addon path]
377377
378378
Options:
379-
--create-test-db - Creates temporary database to run tests in
379+
-t|--create-test-db - Creates temporary database to run tests in
380380
--recreate-db - Recreate test database if it already exists
381381
--test-db-name <dbname> - Use specific name for test database
382382
--tdb <dbname> - Shortcut for --test-db-name
@@ -450,7 +450,7 @@ function test_module {
450450
echo "$usage";
451451
return 0;
452452
;;
453-
--create-test-db)
453+
-t|--create-test-db)
454454
run_tests_options+=( --create-test-db );
455455
;;
456456
--recreate-db)

lib/version.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# Odoo Helper Scripts: Version
1010

1111
# Define version number
12-
ODOO_HELPER_VERSION="1.1.0";
12+
ODOO_HELPER_VERSION="1.2.0";
1313
ODOO_HELPER_CONFIG_VERSION="1";

0 commit comments

Comments
 (0)