Il giorno venerdì 1 dicembre 2017 12:25:06 UTC+1, Cato Nano ha scritto: > 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>
I posted this question too https://stackoverflow.com/questions/47609690/why-doesn-t-this-file-make-my-menu-appear -- 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/e11a1c69-a860-4199-ab35-45f2e746b3d6%40googlegroups.com.
