Skip to content
Snippets Groups Projects
Commit ef361ef8 authored by Jose Alonso Cardenas Marquez's avatar Jose Alonso Cardenas Marquez
Browse files

finance/odoo: update to 15.0

parent 5b8dd2d0
No related branches found
No related tags found
No related merge requests found
PORTNAME= odoo
PORTVERSION= 14.0
PORTREVISION= 3
PORTVERSION= 15.0
CATEGORIES= finance www
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
......@@ -10,7 +9,7 @@ COMMENT= Suite of web based open source business apps
LICENSE= LGPL3
USE_GITHUB= yes
GH_TAGNAME= 19d77c2a03335eb95a686bd69a1b56b38e87d609
GH_TAGNAME= 02b4e98ebb2c45d9a4af10fe1bc732f048708f85
LIB_DEPENDS= libxml2.so:textproc/libxml2 \
libxslt.so:textproc/libxslt \
......@@ -77,6 +76,8 @@ GROUPS= ${USERS}
USE_RC_SUBR= ${PORTNAME}
SUB_FILES= pkg-message
CONFLICTS= odoo14
ETCDIR= ${PREFIX}/etc/odoo
post-patch:
......@@ -88,10 +89,7 @@ post-patch:
${WRKSRC}/odoo/addons/http_routing/models/ir_http.py
@${REINPLACE_CMD} -i "" -e 's|from werkzeug import url_encode|from werkzeug.urls import url_encode|g' \
${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|werkzeug|werkzeug.urls|g' \
${WRKSRC}/odoo/addons/web_editor/models/ir_attachment.py
post-extract:
@cd ${WRKSRC}/addons/ && ${MV} * ${WRKSRC}/odoo/addons/
......
TIMESTAMP = 1630529228
SHA256 (odoo-odoo-14.0-19d77c2a03335eb95a686bd69a1b56b38e87d609_GH0.tar.gz) = fa5ef383137c1c4e6562a26f13ac0280db25e1c552ca01a92fce88de78881420
SIZE (odoo-odoo-14.0-19d77c2a03335eb95a686bd69a1b56b38e87d609_GH0.tar.gz) = 130640356
TIMESTAMP = 1661575896
SHA256 (odoo-odoo-15.0-02b4e98ebb2c45d9a4af10fe1bc732f048708f85_GH0.tar.gz) = bccfd6c683be0092c736b42cfc987b4b588e3c26865a96f2431b9ac6b3d5c3ec
SIZE (odoo-odoo-15.0-02b4e98ebb2c45d9a4af10fe1bc732f048708f85_GH0.tar.gz) = 140762887
--- odoo/tools/_vendor/sessions.py 2021-09-04 18:46:08.432901000 -0500
+++ odoo/tools/_vendor/sessions.py 2021-09-04 18:46:25.423822000 -0500
@@ -26,7 +26,6 @@
from time import time
from werkzeug.datastructures import CallbackDict
-from werkzeug.posixemulation import rename
_sha1_re = re.compile(r"^[a-f0-9]{40}$")
@@ -198,7 +197,7 @@
finally:
f.close()
try:
- rename(tmp, fn)
+ os.rename(tmp, fn)
os.chmod(fn, self.mode)
except (IOError, OSError):
pass
[
{ type: install
message: <<EOM
Odoo ERP was installed
Odoo 15 ERP was installed
1) The configuration file can be located at:
......@@ -9,7 +9,7 @@ Odoo ERP was installed
Look at the following url for more config options
https://www.odoo.com/documentation/13.0/setup/deploy.html
https://www.odoo.com/documentation/15.0/administration/install/deploy.html
2) Odoo use PostgreSQL like database. You must create a database and user
before of use Odoo by first time
......@@ -37,7 +37,7 @@ Odoo ERP was installed
7) If you want securizing Odoo access from web browser (https), you can use a
web server like proxy. Look at following documentation:
https://www.odoo.com/documentation/14.0/setup/deploy.html#https
https://www.odoo.com/documentation/15.0/administration/install/deploy.html#https
EOM
}
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment