~openerp-dev/openobject-client-web/6.0-opw-593396-msh

« back to all changes in this revision

Viewing changes to openerp/addons/base/controllers/openo2m.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:
49
49
from form import default_exception_handler
50
50
 
51
51
class OpenO2M(Form):
 
52
    
 
53
    _cp_path = "/openo2m"
52
54
 
 
55
    # deprecated (use _cp_path)
53
56
    path = '/openo2m'    # mapping from root
54
57
 
55
58
    def create_form(self, params, tg_errors=None):