2009/7/26 <[email protected]> > Hi Albertca, > > Thank u for your reply.. > > The following is the content of 'C:\Program Files\OpenERP > AllInOne\Server\addons\ofice.zip\ofice\ofice.py > > > from osv import osv, fields > > class office_myoffice(osv.osv): > """(NULL)""" > _name = 'office.myoffice' > _columns = { > 'name': fields.char('MyOffice Name', size=64,required=True), > def action_dummy(self, cr, uid, ids, context={}): > return {} > } > office_myoffice() > > Thank u, > > ------------------------ > Regards, > Sudhakar Arige
you are putting the method inside of dict columns, maybe this will works, http://openerp.pastebin.com/m3fdafb72 > > > > > > -------------------- m2f -------------------- > > -- > http://www.openobject.com/forum/viewtopic.php?p=39993#39993 > > -------------------- m2f -------------------- > > > _______________________________________________ > Tinyerp-users mailing list > http://tiny.be/mailman2/listinfo/tinyerp-users > -- Cristian Salamea CEO GnuThink Software Labs Software Libre / Open Source (+593-8) 4-36-44-48
_______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
