Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How can I manage the tags used on the forums?

By
Bert Fabri
on 7/2/15, 6:07 AM 446 views

I would like to manage the tags available on the forums, but don't seem to find a screen to do this.

Can someone help me with this?

0

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 7/2/15, 7:53 AM

The forum.tag views are not currently available. You must first create them yourself and add a menu to manage them.

UPDATE:

    <record model="ir.ui.view" id="view_forum_tag_form">
<field name="name">view_forum_tag_form</field>
<field name="model">forum.tag</field>
<field name="arch" type="xml">
<form>
<group string="Forum Tags">
<field name="name"/>
<field name="forum_id"/>
<field name="posts_count"/>
<field name="create_uid"/>
<field name="post_ids" widget="many2many"/>
</group>
</form>
</field>
</record>

<record model="ir.ui.view" id="view_forum_tag_tree">
<field name="name">view_forum_tag_tree</field>
<field name="model">forum.tag</field>
<field name="arch" type="xml">
<tree string="Forum Tags">
<field name="name"/>
<field name="forum_id"/>
<field name="posts_count"/>
<field name="create_uid"/>
<!--field name="post_ids"/-->
</tree>
</field>
</record>

<record model="ir.actions.act_window" id="action_forum_tag">
<field name="name">Forum Tags</field>
<field name="res_model">forum.tag</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>

<menuitem
name="Forum Tags"
parent="website_forum.menu_website_forum"
sequence="20"
action="action_forum_tag"
id="menu_forum_tag"/>

Thanks for the answer, You wouldn't by chance have a the views already prepared ;-)

Bert Fabri
on 7/2/15, 7:57 AM

Unfortunately, I do not have :(

zbik
on 7/2/15, 8:12 AM

Answer updated, example xml

zbik
on 7/2/15, 9:12 AM

Thanks a lot. Ciao

Bert Fabri
on 7/2/15, 9:40 AM

PS. See issue: https://github.com/odoo/odoo/issues/7427

zbik
on 7/2/15, 12:33 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/2/15, 6:07 AM
Seen: 446 times
Last updated: 7/2/15, 9:12 AM