← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 666445] [NEW] [trunk] problem with web addons

 

Public bug reported:

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

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
[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





Follow ups

References