I'm trying to make a tag field in my module and whenever I try to show it in the XML view it shows a reference of the tag not the name of the tag it self
this is my code:
PYTHON
class podcast(osv.osv):
_name = 'podcast'
_columns ={
... fields.....
http:// (image description) 'tag':fields.many2many('podcast.tag','tag_realation','podcast_tag','podcast_name','Podcasts') }
class tag_name(osv.osv):
_name = 'podcast.tag'
_columns ={
'tag_name':fields.char('tag Name', size=64, required=True),
'tag':fields.many2many('podcast','tag_realation','podcast_name','podcast_tag','Tags')
}
XML FILE (VIEW) <field name="tag" widget="many2many_tags"/>
Hi, I think that I have the same question http://help.openerp.com/question/42855/how-to-put-taxes-name-in-seletion-on-sale-order-line-creation/... But I didn't realize that could be from many2many_tags -.-' Hope that someone answer us ...