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.

1

OpenERP visible field to certain user groups

By
Samuel Martínez
on 5/15/14, 1:47 PM 1,133 views

I am working on xml in openerp. I am creating access right for an specific user. I want to know if is possible to add more than one group in the groups tag adding a comma, semicolon or some char?

I've tried this but is not working:

groups="x_stock_picking.confirm_transfer, stock.group_stock_user"  

is that possible?

you have to make sure that the external ids are correct, the groups written like this worked for me. so, please can you attach the whole field that you are trying to apply the groups to, here!!!

Basem Taha
on 6/23/15, 9:47 AM
0
Dr Obx
On 6/23/15, 8:13 AM

<field name="your_field" attrs="{'invisible': [('stock.group_stock_user', '=', something)]}"/> ??

0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 6/24/15, 8:20 AM

Samuel,

Its definitely possible to assign multiple groups to the xml record.

Example:

groups="group_account_user,group_account_manager,group_account_invoice" is in Account modul, 'Invoicing' menu.

Would you please clarify whether you have a module called 'x_stock_picking' or else?

Please note that, the groups tag should enlist the name of groups, not the method names.

Thanks.

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: 5/15/14, 1:47 PM
Seen: 1133 times
Last updated: 6/24/15, 8:20 AM