@@ -360,7 +360,7 @@ odoo-helper install js-tools;
360
360
361
361
362
362
# Install oca/partner-contact addons
363
- odoo-helper fetch --oca partner-contact;
363
+ odoo-helper fetch --git-single-branch -- oca partner-contact;
364
364
365
365
# Regenerate Ukrainian translations for partner_firstname addons
366
366
odoo-helper tr regenerate --lang uk_UA --file uk_UA partner_firstname;
@@ -397,7 +397,7 @@ odoo-helper-addons-update base
397
397
398
398
# Fetch OCA account-financial-reporting, which seems to have
399
399
# complicated enough dependencies for this test
400
- odoo-helper fetch --oca account-financial-reporting
400
+ odoo-helper fetch --git-single-branch -- oca account-financial-reporting
401
401
402
402
# Clone repository explicitly and link it
403
403
(cd repositories && \
@@ -412,7 +412,7 @@ odoo-helper addons update-list
412
412
413
413
# Generate requirements and fetch them again
414
414
odoo-helper addons generate-requirements > /tmp/odoo-requirements.txt
415
- odoo-helper fetch --requirements /tmp/odoo-requirements.txt
415
+ odoo-helper fetch --git-single-branch -- requirements /tmp/odoo-requirements.txt
416
416
417
417
# Try to reinstall virtualenv and run server
418
418
odoo-helper install reinstall-venv;
@@ -524,7 +524,7 @@ Fetch OCA/web repo
524
524
==================
525
525
${NC} "
526
526
# Fetch oca/web passing only repo url and branch to fetch command
527
- odoo-helper fetch https://github.com/oca/web --branch 11.0;
527
+ odoo-helper fetch https://github.com/oca/web --branch 11.0 --git-single-branch --git-depth-1 ;
528
528
529
529
echo -e " ${YELLOWC}
530
530
============================================
@@ -881,14 +881,81 @@ odoo-helper addons update-list --tdb;
881
881
odoo-helper addons install --tdb --module crm;
882
882
odoo-helper addons test-installed crm;
883
883
884
- # # Reinstall venv without backup and build for python 3.9.7
885
- # Python compiling does not work because conflict with bashcov test coverage util
886
- # odoo-helper install reinstall-venv --no-backup --build-python 3.9.7;
884
+ odoo-helper lsd; # List databases
885
+
886
+ # # Install addon website via 'odoo-helper install'
887
+ odoo-helper install website;
888
+
889
+ # # Fetch oca/contract
890
+ odoo-helper fetch --github crnd-inc/generic-addons
891
+
892
+ # # Install addons from OCA contract
893
+ odoo-helper addons install --ual --dir ./repositories/crnd-inc/generic-addons;
894
+
895
+ # # Fetch bureaucrat_helpdesk_lite from Odoo market and try to install it
896
+ odoo-helper fetch --odoo-app bureaucrat_helpdesk_lite;
897
+ odoo-helper addons install --ual bureaucrat_helpdesk_lite;
887
898
888
- # odoo-helper lsd; # List databases
899
+ # # Print list of installed addons
900
+ odoo-helper addons find-installed;
901
+
902
+ # # Run tests for helpdesk lite
903
+ odoo-helper test generic_request crnd_wsd
904
+
905
+ # Drop created databases
906
+ odoo-helper db drop odoo15-odoo-test;
907
+
908
+ echo -e " ${YELLOWC}
909
+ =================================
910
+ Install and check Odoo 16.0 (Py3)
911
+ =================================
912
+ ${NC} "
913
+
914
+ cd ../;
915
+
916
+ # Remove odoo 15
917
+ # this is needed to bypass gitlab.com limitation of disk space for CI jobs
918
+ rm -rf ./odoo-15.0
919
+
920
+ # Install odoo 16
921
+ odoo-helper install sys-deps -y 16.0;
922
+
923
+ odoo-install --install-dir odoo-16.0 --odoo-version 16.0 \
924
+ --http-port 8569 --http-host local-odoo-16 \
925
+ --db-user odoo16 --db-pass odoo --create-db-user \
926
+ --build-python-if-needed
927
+
928
+ cd odoo-16.0;
929
+
930
+ # Install py-tools and js-tools
931
+ odoo-helper install py-tools;
932
+ odoo-helper install js-tools;
933
+
934
+ odoo-helper server run --stop-after-init; # test that it runs
935
+
936
+ # Show project status
937
+ odoo-helper status;
938
+ odoo-helper server status;
939
+ odoo-helper start;
940
+ odoo-helper ps;
941
+ odoo-helper status;
942
+ odoo-helper server status;
943
+ odoo-helper stop;
944
+
945
+ # Show complete odoo-helper status
946
+ odoo-helper status --tools-versions --ci-tools-versions;
947
+
948
+ # Database management
949
+ odoo-helper db create --tdb --lang en_US;
950
+
951
+ odoo-helper addons update-list --tdb;
952
+ odoo-helper addons install --tdb --module crm;
953
+ odoo-helper addons test-installed crm;
954
+
955
+ odoo-helper lsd; # List databases
889
956
890
957
# # Install addon website via 'odoo-helper install'
891
- # odoo-helper install website;
958
+ odoo-helper install website;
892
959
893
960
# # Fetch oca/contract
894
961
# odoo-helper fetch --github crnd-inc/generic-addons
@@ -907,7 +974,8 @@ odoo-helper addons test-installed crm;
907
974
# odoo-helper test generic_request crnd_wsd
908
975
909
976
# Drop created databases
910
- odoo-helper db drop odoo15-odoo-test;
977
+ odoo-helper db drop odoo16-odoo-test;
978
+
911
979
912
980
echo -e " ${YELLOWC}
913
981
=============================================================
0 commit comments