summaryrefslogtreecommitdiff
path: root/finance/odoo14
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-11-18 00:52:56 -0500
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-11-18 00:52:56 -0500
commit7312a41c7675cbbc9edb25affc74c93abfe32cf4 (patch)
treef56d2f94d31f9aeccbc27db8641f8ee6dddd5408 /finance/odoo14
parentsysutils/bareos-*: Update to 21.1.5 (diff)
finance/odoo14: Fix issues with new version of www/py-werkzeug
Diffstat (limited to 'finance/odoo14')
-rw-r--r--finance/odoo14/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/finance/odoo14/Makefile b/finance/odoo14/Makefile
index 170e1f6a3130..2f5194f2a7f5 100644
--- a/finance/odoo14/Makefile
+++ b/finance/odoo14/Makefile
@@ -1,6 +1,6 @@
PORTNAME= odoo
PORTVERSION= 14.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= finance www
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 14
@@ -95,6 +95,10 @@ post-patch:
${WRKSRC}/odoo/addons/mail/models/mail_thread.py \
${WRKSRC}/odoo/addons/mail/controllers/main.py \
${WRKSRC}/odoo/addons/hr/models/hr_employee.py
+ @${REINPLACE_CMD} -i "" -e 's|(index !== |(index == |g' \
+ ${WRKSRC}/odoo/addons/web/static/src/js/libs/content-disposition.js
+ @${REINPLACE_CMD} -i "" -e 's|BaseResponse|Response|g' \
+ ${WRKSRC}/odoo/http.py
post-extract:
@cd ${WRKSRC}/addons/ && ${MV} * ${WRKSRC}/odoo/addons/