Odoo Help

2

1
2 Answers
2
Miel Singapore
10/3/14, 10:00 PM

I've created security for this...

    <record id="group_warehouse_user" model="res.groups">
        <field name="name"> Warehouse Rules User</field>         
    </record> 
   
      <record id="group_warehouse_rules_member" model="ir.rule">
            <field name="name">Warehouse User</field>
            <field name="model_id" ref="model_stock_warehouse"/>
            <field name="domain_force">[('partner_id.id','=',user.warehouse_id.id)]</field>
            <field name="groups" eval="[(4, ref('group_warehouse_user'))]"/>
        
    </record>

0
rudyanto santoso Indonesia
5/21/15, 5:24 AM

For Miel, can you give me a step by step tutorial for creating security as you mention above. I have no idea how to do it. thanks

Ask a Question
Writer
200
Miel
Keep Informed
2 follower(s)
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