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.

0

Problem with ir.rule domain_force. Why it is getting same error?

By
Simon
on 8/17/15, 9:59 AM 487 views

I keep getting this error(Document type: res.users, Operation: read). Why?


<record id="my_module_rule_personal_hosts" model="ir.rule">

<field name="name">Only customers</field>

<field ref="model_res_partner" name="model_id"/>

<field name="domain_force">['|',('user_id','=',user.id), ('user_id', '=', False),('customer', '!=', False) ]</field>

<field name="groups" eval="[(4, ref('base.group_sale_salesman'))]"/>

<field name="perm_read" eval="True"/>

<field name="perm_write" eval="True"/>

<field name="perm_create" eval="True"/>

<field name="perm_unlink" eval="False"/>

</record>

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: 8/17/15, 9:59 AM
Seen: 487 times
Last updated: 8/17/15, 9:59 AM