Odoo Help

1

OpenERP visible field to certain user groups

By
Samuel Martínez
on 5/15/14, 1:47 PM 1,431 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.--
4565
| 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.

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/15/14, 1:47 PM
Seen: 1431 times
Last updated: 6/24/15, 8:20 AM