Hi,
I create a new module that work well with admin user. When I create a new user the menuitem for my new user dissapear. Why?
My file ir.model.access.csv:
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_calculator_price,access_calculator_price,model_calculator_price,group_calculator_price,1,1,1,1
My file xx_security.xml:
Folha de Cálculo Something... 20 Manager Acesso Folha de Cálculo
My file xml with view:
...
....
My new user don't see the menu with name Test.
With admin user is possible add the permission for my new user:

But when the menuitem dissapear when I enter in openerp with this user.
**(I've tested the first two answers, and nothing happened... So I add the text below)**
Probably I've some error in the xx_security.xml file or in __openerp__.py.... Because when I run the openerp I always have this warning:
WARNING testes_infinite openerp.modules.loading: The model calculator.price has no access rules, consider adding one. E.g. access_calculator_price,access_calculator_price,model_calculator_price,,1,1,1,1
My __openerp__.py :
....
'init_xml': ['security/xx_security.xml',
'security/ir.model.access.csv'],
'update_xml': ['vi_infinitechoice_sequence.xml',
],
'data': ['security/vi_infinitechoice_security.xml','security/ir.model.access.csv'],
.....
Anyone helps me please?
↧