Update using repository does not work
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Won't Fix
|
Undecided
|
Unassigned | |||
Trunk |
Invalid
|
Undecided
|
Unassigned |
Bug Description
v5.0.0-3
The update of modules based on repositories can't work with current code.
Moreover, the repository packages are supposed to be <name of the module>-<version of the module><extension>
which is NOT the case in OpenERP own URLs
Proposed patch
--- bin/addons/
+++ bin/addons/
@@ -398,7 +398,7 @@
if not download:
- fname = addons.
+ fname = addons.
try:
fp = file(fname, 'wb')
=======
--- bin/addons/
+++ bin/addons/
@@ -139,6 +139,9 @@
return s
+def get_module_
+ return opj(_ad,module)
+
def get_module_
"""Return the path of the given module."""
Changed in openobject-server: | |
status: | New → Confirmed |
Should not openerp change code? or the website naming convention?