@@ -683,13 +683,16 @@ odoo-helper addons install --ual --dir ./repositories/crnd-inc/generic-addons;
683
683
# List addons in generic_addons
684
684
odoo-helper lsa ./repositories/crnd-inc/generic-addons;
685
685
686
- # Fetch bureaucrat_helpdesk_lite from Odoo market and try to install it
687
- odoo-helper fetch --odoo-app bureaucrat_helpdesk_lite;
688
- odoo-helper addons install --ual bureaucrat_helpdesk_lite;
686
+ # Install poppler utils package, that is required by bureaucrat knowledge base
687
+ sudo apt-get install -qqy poppler-utils
689
688
690
- # Fetch helpdesk second time testing bechavior
689
+ # Fetch bureaucrat_knowledge from Odoo market and try to install it
690
+ odoo-helper fetch --odoo-app bureaucrat_knowledge;
691
+ odoo-helper addons install --ual --show-log-on-error bureaucrat_knowledge;
692
+
693
+ # Fetch knowledge base second time testing bechavior
691
694
# when same addons already present in system
692
- odoo-helper-fetch --odoo-app bureaucrat_helpdesk_lite ;
695
+ odoo-helper-fetch --odoo-app bureaucrat_knowledge ;
693
696
694
697
# Prepare to test pull updates with --do-update option
695
698
(cd ./repositories/crnd-inc/generic-addons && git reset --hard HEAD^^^1);
@@ -762,9 +765,9 @@ odoo-helper fetch --github crnd-inc/generic-addons
762
765
# Install addons from OCA contract
763
766
odoo-helper addons install --ual --dir ./repositories/crnd-inc/generic-addons;
764
767
765
- # Fetch bureaucrat_helpdesk_lite from Odoo market and try to install it
766
- odoo-helper fetch --odoo-app bureaucrat_helpdesk_lite ;
767
- odoo-helper addons install --ual bureaucrat_helpdesk_lite ;
768
+ # Fetch bureaucrat_knowledge from Odoo market and try to install it
769
+ odoo-helper fetch --odoo-app bureaucrat_knowledge ;
770
+ odoo-helper addons install --ual bureaucrat_knowledge ;
768
771
769
772
# Print list of installed addons
770
773
odoo-helper addons find-installed --packager-format;
@@ -819,9 +822,9 @@ odoo-helper fetch --github crnd-inc/generic-addons
819
822
# Install addons from OCA contract
820
823
odoo-helper addons install --ual --dir ./repositories/crnd-inc/generic-addons;
821
824
822
- # Fetch bureaucrat_helpdesk_lite from Odoo market and try to install it
823
- odoo-helper fetch --odoo-app bureaucrat_helpdesk_lite ;
824
- odoo-helper addons install --ual bureaucrat_helpdesk_lite ;
825
+ # Fetch bureaucrat_knowledge from Odoo market and try to install it
826
+ odoo-helper fetch --odoo-app bureaucrat_knowledge ;
827
+ odoo-helper addons install --ual bureaucrat_knowledge ;
825
828
826
829
# Print list of installed addons
827
830
odoo-helper addons find-installed;
@@ -892,15 +895,15 @@ odoo-helper fetch --github crnd-inc/generic-addons
892
895
# # Install addons from OCA contract
893
896
odoo-helper addons install --ual --dir ./repositories/crnd-inc/generic-addons;
894
897
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 ;
898
+ # # Fetch bureaucrat_knowledge from Odoo market and try to install it
899
+ odoo-helper fetch --odoo-app bureaucrat_knowledge ;
900
+ odoo-helper addons install --ual bureaucrat_knowledge ;
898
901
899
902
# # Print list of installed addons
900
903
odoo-helper addons find-installed;
901
904
902
- # # Run tests for helpdesk lite
903
- odoo-helper test generic_request crnd_wsd
905
+ # # Run tests for knowledge
906
+ odoo-helper test bureaucrat_knowledge
904
907
905
908
# Drop created databases
906
909
odoo-helper db drop odoo15-odoo-test;
@@ -958,25 +961,78 @@ odoo-helper lsd; # List databases
958
961
odoo-helper install website;
959
962
960
963
# # Fetch oca/contract
961
- # odoo-helper fetch --github crnd-inc/generic-addons
962
-
963
- # # Install addons from OCA contract
964
- # odoo-helper addons install --ual --dir ./repositories/crnd-inc/generic-addons;
964
+ odoo-helper fetch --github crnd-inc/generic-addons
965
965
966
- # # Fetch bureaucrat_helpdesk_lite from Odoo market and try to install it
967
- # odoo-helper fetch --odoo-app bureaucrat_helpdesk_lite ;
968
- # odoo-helper addons install --ual bureaucrat_helpdesk_lite ;
966
+ # # Fetch bureaucrat_knowledge from Odoo market and try to install it
967
+ odoo-helper fetch --odoo-app bureaucrat_knowledge ;
968
+ odoo-helper addons install --ual bureaucrat_knowledge ;
969
969
970
970
# # Print list of installed addons
971
- # odoo-helper addons find-installed;
971
+ odoo-helper addons find-installed;
972
972
973
973
# # Run tests for helpdesk lite
974
- # odoo-helper test generic_request crnd_wsd
974
+ odoo-helper test bureaucrat_knowledge
975
975
976
976
# Drop created databases
977
977
odoo-helper db drop odoo16-odoo-test;
978
978
979
979
980
+ # echo -e "${YELLOWC}
981
+ # =================================
982
+ # Install and check Odoo 17.0 (Py3)
983
+ # =================================
984
+ # ${NC}"
985
+
986
+ # cd ../;
987
+
988
+ # # Remove odoo 17
989
+ # # this is needed to bypass gitlab.com limitation of disk space for CI jobs
990
+ # rm -rf ./odoo-16.0
991
+
992
+ # # Install odoo 17
993
+ # odoo-helper install sys-deps -y 17.0;
994
+
995
+ # odoo-install --install-dir odoo-17.0 --odoo-version 17.0 \
996
+ # --http-port 8569 --http-host local-odoo-16 \
997
+ # --db-user odoo16 --db-pass odoo --create-db-user \
998
+ # --build-python-if-needed
999
+
1000
+ # cd odoo-17.0;
1001
+
1002
+ # # Install py-tools and js-tools
1003
+ # odoo-helper install py-tools;
1004
+ # odoo-helper install js-tools;
1005
+
1006
+ # odoo-helper server run --stop-after-init; # test that it runs
1007
+
1008
+ # # Show project status
1009
+ # odoo-helper status;
1010
+ # odoo-helper server status;
1011
+ # odoo-helper start;
1012
+ # odoo-helper ps;
1013
+ # odoo-helper status;
1014
+ # odoo-helper server status;
1015
+ # odoo-helper stop;
1016
+
1017
+ # # Show complete odoo-helper status
1018
+ # odoo-helper status --tools-versions --ci-tools-versions;
1019
+
1020
+ # # Database management
1021
+ # odoo-helper db create --tdb --lang en_US;
1022
+
1023
+ # odoo-helper addons update-list --tdb;
1024
+ # odoo-helper addons install --tdb --module crm;
1025
+ # odoo-helper addons test-installed crm;
1026
+
1027
+ # odoo-helper lsd; # List databases
1028
+
1029
+ # ## Install addon website via 'odoo-helper install'
1030
+ # odoo-helper install website;
1031
+
1032
+ # # Drop created databases
1033
+ # odoo-helper db drop odoo17-odoo-test;
1034
+
1035
+
980
1036
echo -e " ${YELLOWC}
981
1037
=============================================================
982
1038
Run 'prepare-docs' script to test generation of help messages
0 commit comments