~unifield-team/unifield-web/web_aio_24

« back to all changes in this revision

Viewing changes to openerp/addons/base/widgets/many2one.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:
27
27
#
28
28
###############################################################################
29
29
 
30
 
from openerp import validators
31
 
 
32
30
from openerp.tools import rpc
33
31
from openerp.tools import common
34
32
 
35
 
from openerp.base.widgets import TinyInputWidget
 
33
from openerp.widgets import TinyInputWidget
36
34
 
37
35
from form import Form
38
 
 
 
36
from openerp.addons.base import validators
39
37
 
40
38
def get_name(model, id):
41
39
    id = (id or False) and int(id)