From d933876477f57aebe5f55c54dbb8b345cac26dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20E=2E=20G=C3=B3mez?= Date: Fri, 8 Apr 2022 13:18:48 -0500 Subject: [PATCH] [ADD] New OCA modules, vendor requirements, patch notices --- additional_python_requirements.txt | 3 --- install_odoo_code.sh | 12 +++++++++++- rejected_special_modules.txt | 1 + selected_oca_modules.txt | 2 ++ vendor_requirements.txt | 5 +++++ 5 files changed, 19 insertions(+), 4 deletions(-) delete mode 100644 additional_python_requirements.txt create mode 100644 vendor_requirements.txt diff --git a/additional_python_requirements.txt b/additional_python_requirements.txt deleted file mode 100644 index 5ca7252..0000000 --- a/additional_python_requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -xades -pyopenssl -cryptography diff --git a/install_odoo_code.sh b/install_odoo_code.sh index 49177df..a0b5023 100755 --- a/install_odoo_code.sh +++ b/install_odoo_code.sh @@ -49,6 +49,9 @@ cp_community () [[ "$line" =~ ^# || "$line" =~ ^$ ]] && continue rsync ${OPTIONS} "${SRC}/${line%/}" ${DEST} done < selected_oca_modules.txt + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" + echo " [!] Remember to apply patches to the installed code" + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" } cp_apps () @@ -76,6 +79,10 @@ cp_vendor () echo " …from $SRC to $DEST" echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" rsync $OPTIONS $EXCL $SRC $DEST + rsync $OPTIONS ./vendor_requirements.txt ${DEST}requirements.txt + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" + echo " [!] Remember to apply patches to the installed code" + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" } cp_special () @@ -83,7 +90,7 @@ cp_special () REPO="Special Avancys v14 electronic invoice" SRC=./special/ DEST=$DESTDIR/v14-electronic-documents/ - # Exclude modules included in other repos: + # Exclude modules/files already included in other repos: EXCL="--exclude-from=rejected_special_modules.txt" echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Install $REPO into production directory structure" @@ -91,6 +98,9 @@ cp_special () echo " …from $SRC to $DEST" echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" rsync $OPTIONS $EXCL $SRC $DEST + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" + echo " [!] Remember to apply patches to the installed code" + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" } cp_custom () diff --git a/rejected_special_modules.txt b/rejected_special_modules.txt index a9e5508..7ed8945 100644 --- a/rejected_special_modules.txt +++ b/rejected_special_modules.txt @@ -1 +1,2 @@ +requirements.txt account_invoice_force_number_extended diff --git a/selected_oca_modules.txt b/selected_oca_modules.txt index a1c7804..1ace810 100644 --- a/selected_oca_modules.txt +++ b/selected_oca_modules.txt @@ -6,12 +6,14 @@ account-invoicing/account_invoice_force_number/ bank-payment/account_payment_mode/ bank-payment/account_payment_order/ bank-payment/account_payment_partner/ +brand/product_brand/ credit-control/account_credit_control/ helpdesk/helpdesk_mgmt/ hr/hr_branch/ partner-contact/base_location/ partner-contact/partner_fax/ partner-contact/partner_identification/ +product-attribute/product_manufacturer/ reporting-engine/bi_sql_editor/ reporting-engine/report_xlsx/ reporting-engine/report_xlsx_helper/ diff --git a/vendor_requirements.txt b/vendor_requirements.txt new file mode 100644 index 0000000..9711af5 --- /dev/null +++ b/vendor_requirements.txt @@ -0,0 +1,5 @@ +pyopenssl==17.5.0 +cryptography==3.4.8 +xmlsig==0.1.5 +xades==0.2.1 +pg-xades==0.0.7