← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 666445] Re: [trunk] problem with web addons

 

*** This bug is a duplicate of bug 663968 ***
    https://bugs.launchpad.net/bugs/663968

** This bug has been marked a duplicate of bug 663968
   [6.0] Error on missing module during upgrade : TypeError: unsupported operand type(s) for +: 'bool' and 'str'
 * You can subscribe to bug 663968 by following this link: https://bugs.launchpad.net/openobject-server/+bug/663968/+subscribe

-- 
[trunk] problem with web addons
https://bugs.launchpad.net/bugs/666445
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: New

Bug description:
The function "get_module_resource" should returns the full path of a resource in a module. But it fails when the module has no zip file. Either because the zip file is not created before, or this function is not correctly written.


/server/addons/__init__.py :

Line 282:

    elif os.path.exists(resource_path):
        return resource_path
-    return False
+   return a and opj(a, *args) or False





References