[ADD] Allows new apps section
This commit is contained in:
parent
2b29d76d05
commit
ae6284f0ca
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
apps/
|
||||||
community/
|
community/
|
||||||
core/
|
core/
|
||||||
custom/
|
custom/
|
||||||
|
|||||||
@ -13,12 +13,12 @@ OPTIONS="-av --exclude-from=common_exclude_patterns.txt --chown odoo:odoo"
|
|||||||
|
|
||||||
Help ()
|
Help ()
|
||||||
{
|
{
|
||||||
echo "Usage: $0 [-h] -o={all|core|community|vendor|special|custom}"
|
echo "Usage: $0 [-h] -o={all|core|community|apps|vendor|special|custom}"
|
||||||
echo
|
echo
|
||||||
echo "Options:"
|
echo "Options:"
|
||||||
echo "-h Help (display this text)"
|
echo "-h Help (display this text)"
|
||||||
echo "-o Modules to be installed (one of 'all', 'core', 'community',"
|
echo "-o Modules to be installed (one of 'all', 'core', 'community',"
|
||||||
echo " 'vendor', 'special, 'custom'). Required."
|
echo " 'apps', 'vendor', 'special, 'custom'). Required."
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,6 +50,18 @@ cp_community ()
|
|||||||
done < selected_oca_modules.txt
|
done < selected_oca_modules.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cp_apps ()
|
||||||
|
{
|
||||||
|
REPO="Modules from Odoo Apps Store"
|
||||||
|
SRC=./apps/
|
||||||
|
DEST=$DESTDIR/apps/
|
||||||
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
||||||
|
echo "Install $REPO into production directory structure"
|
||||||
|
echo " …from $SRC to $DEST"
|
||||||
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
||||||
|
rsync $OPTIONS $SRC $DEST
|
||||||
|
}
|
||||||
|
|
||||||
cp_vendor ()
|
cp_vendor ()
|
||||||
{
|
{
|
||||||
REPO="Avancys v14 for Agofer"
|
REPO="Avancys v14 for Agofer"
|
||||||
@ -126,6 +138,9 @@ case $Modules in
|
|||||||
'core') # Install Odoo core
|
'core') # Install Odoo core
|
||||||
cp_core
|
cp_core
|
||||||
exit;;
|
exit;;
|
||||||
|
'apps') # Install modules from Apps Store
|
||||||
|
cp_apps
|
||||||
|
exit;;
|
||||||
'community') # Install OCA modules
|
'community') # Install OCA modules
|
||||||
cp_community
|
cp_community
|
||||||
exit;;
|
exit;;
|
||||||
|
|||||||
@ -1,3 +1,22 @@
|
|||||||
|
account-financial-reporting/account_financial_report/
|
||||||
|
account-financial-tools/account_asset_management/
|
||||||
|
account-financial-tools/account_fiscal_year/
|
||||||
|
account-financial-tools/account_menu/
|
||||||
|
account-invoicing/account_invoice_force_number/
|
||||||
|
bank-payment/account_payment_mode/
|
||||||
|
bank-payment/account_payment_order/
|
||||||
|
bank-payment/account_payment_partner/
|
||||||
|
credit-control/account_credit_control/
|
||||||
|
helpdesk/helpdesk_mgmt/
|
||||||
|
hr/hr_branch/
|
||||||
partner-contact/base_location/
|
partner-contact/base_location/
|
||||||
partner-contact/partner_fax/
|
partner-contact/partner_fax/
|
||||||
partner-contact/partner_identification/
|
partner-contact/partner_identification/
|
||||||
|
reporting-engine/bi_sql_editor/
|
||||||
|
reporting-engine/report_xlsx/
|
||||||
|
reporting-engine/report_xlsx_helper/
|
||||||
|
server-auth/auth_oauth_multi_token/
|
||||||
|
server-backend/base_user_role/
|
||||||
|
server-ux/date_range/
|
||||||
|
web/web_m2x_options/
|
||||||
|
web/web_responsive/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user