@@ -683,13 +683,16 @@ odoo-helper addons install --ual --dir ./repositories/crnd-inc/generic-addons;
683683# List addons in generic_addons
684684odoo-helper lsa ./repositories/crnd-inc/generic-addons;
685685
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
689688
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
691694# when same addons already present in system
692- odoo-helper-fetch --odoo-app bureaucrat_helpdesk_lite ;
695+ odoo-helper-fetch --odoo-app bureaucrat_knowledge ;
693696
694697# Prepare to test pull updates with --do-update option
695698(cd ./repositories/crnd-inc/generic-addons && git reset --hard HEAD^^^1);
@@ -762,9 +765,9 @@ odoo-helper fetch --github crnd-inc/generic-addons
762765# Install addons from OCA contract
763766odoo-helper addons install --ual --dir ./repositories/crnd-inc/generic-addons;
764767
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 ;
768771
769772# Print list of installed addons
770773odoo-helper addons find-installed --packager-format;
@@ -819,9 +822,9 @@ odoo-helper fetch --github crnd-inc/generic-addons
819822# Install addons from OCA contract
820823odoo-helper addons install --ual --dir ./repositories/crnd-inc/generic-addons;
821824
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 ;
825828
826829# Print list of installed addons
827830odoo-helper addons find-installed;
@@ -892,15 +895,15 @@ odoo-helper fetch --github crnd-inc/generic-addons
892895# # Install addons from OCA contract
893896odoo-helper addons install --ual --dir ./repositories/crnd-inc/generic-addons;
894897
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 ;
898901
899902# # Print list of installed addons
900903odoo-helper addons find-installed;
901904
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
904907
905908# Drop created databases
906909odoo-helper db drop odoo15-odoo-test;
@@ -958,25 +961,78 @@ odoo-helper lsd; # List databases
958961odoo-helper install website;
959962
960963# # 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
965965
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 ;
969969
970970# # Print list of installed addons
971- # odoo-helper addons find-installed;
971+ odoo-helper addons find-installed;
972972
973973# # Run tests for helpdesk lite
974- # odoo-helper test generic_request crnd_wsd
974+ odoo-helper test bureaucrat_knowledge
975975
976976# Drop created databases
977977odoo-helper db drop odoo16-odoo-test;
978978
979979
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+
9801036echo -e " ${YELLOWC}
9811037=============================================================
9821038Run 'prepare-docs' script to test generation of help messages
0 commit comments