~unifield-team/unifield-web/web_aio_24

« back to all changes in this revision

Viewing changes to openerp/addons/base/controllers/openm2m.py

  • Committer: ame (Tiny)
  • Date: 2009-11-09 12:42:57 UTC
  • Revision ID: ame@tinyerp.com-20091109124257-b1mscw0rn779ols5
[IMP] initial work on addons
        - seperated common framework api
        - created `base` addon
        - auto-load controllers based on `_cp_path` attribute

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
from form import default_exception_handler
48
48
 
49
49
class OpenM2M(Form):
 
50
    
 
51
    _cp_path = "/openm2m"
50
52
 
 
53
    # deprecated (use _cp_path)
51
54
    path = '/openm2m'
52
55
 
53
56
    @expose(template="templates/openm2m.mako")