Further to this, I created a group called "Wheel" and the admin user is a member. I added nothing to any of the other tabs when creating this new group, because I'm after hiding a page and it wasn't listed in the possible objects.
I duplicated the "Accounting" page and changed only this:
<page string="Accounting">
to this:
<page string="Accounting" groups="Wheel"> which breaks
and this:
<page string="Accounting" groups="base.Wheel"> which runs.
But then no one can see that tab, not even the admin user! I looked in res_groups with psql and "Wheel" seems to be its only name.
How should I be specifying that group?
By grepping through everything, I find lines like:
Code:
crm_configuration/crm_jobs_menu.xml:242: groups="base.group_extended"/>
Just what 'groups' are being talked about here? I see nothing like that in the table:
Code:
uni30=# SELECT id,name FROM res_groups;
id | name
----+-------------------------------
6 | Partner Manager
7 | Maintenance Manager
1 | Administrator / Configuration
2 | Administrator / Access Rights
3 | Employee
4 | Useability / Extended View
5 | Useability / No One
8 | Useability / Product UoS View
9 | Product / Manager
10 | Human Resources / Manager
11 | Human Resources / User
12 | Finance / Invoice
13 | Finance / Accountant
14 | Finance / Manager
15 | Project / Financial Manager
16 | Project / Manager
17 | Project / User
18 | Wheel