Il giorno venerdì 1 dicembre 2017 09:13:52 UTC+1, Sergi Almacellas Abellana ha
scritto:
> El 30/11/17 a les 21:17, Cato Nano ha escrit:
> > what's wrong with this file ?
> >
>
> The difinition is correct.
>
> > I'd like a menu to appear but it doesn't
> >
> >
>
> The menu will not apper if:
>
> 1. You do not update the database with the xml definition. Once updated
> you should refresh the menu options.
> 2. Your user is not in the created group. If you are using the admin
> user, you should explicity add the admin user to the group with a xml
> file. I don't see any record doing this on your xml.
>
> Hope it helps.
Thank you Sergi.
I attempted this but it didn't work
<tryton>
<data>
<record model="res.group" id="group_tributi">
<field name="name">Tributi</field>
</record>
<!-- this !! -->
<record model="res.user-res.group"
id="user_group_tributi">
<field name="user" ref="res.user_admin"/>
<field name="group" ref="group_tributi"/>
</record>
<!-- /this!!>
<menuitem name="Tributi" id="menu_tributi" sequence="6"/>
<record model="ir.ui.menu-res.group" id="menu_tributi_group_tributi">
<field name="menu" ref="menu_tributi"/>
<field name="group" ref="group_tributi"/>
</record>
</data>
</tryton>
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/17cfb0e1-8bd1-48c5-8104-3fbdf788ced9%40googlegroups.com.