A Dilluns, 27 de juliol de 2009, [email protected] va escriure:
> This is my .py file
>
> class office_myoffice(osv.osv):
> """(NULL)"""
>
> def action_dummy(self, cr, uid, ids, context={}):
>
> _name = 'office.myoffice'
> _columns = {
> 'name': fields.char('MyOffice Name', size=64,required=True),
> }
> office_myoffice()
You're missing a "pass":
def action_dummy(self, cr, uid, ids, context={}):
pass
However, please do not expect the community to fix every single python related
issue. You've already been pointed to a couple of resources to learning python
programming.
>
>
> plz, correct me, where i have gone wrong
>
>
> Thank u in advance
>
> ------------------------
> Regards,
> Sudhakar Arige
>
>
>
>
> -------------------- m2f --------------------
>
> --
> http://www.openobject.com/forum/viewtopic.php?p=40019#40019
>
> -------------------- m2f --------------------
>
>
> _______________________________________________
> Tinyerp-users mailing list
> http://tiny.be/mailman2/listinfo/tinyerp-users
--
Albert Cervera i Areny
http://www.NaN-tic.com
Mòbil: +34 669 40 40 18
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users