20 lines
744 B
XML
20 lines
744 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
|
|
<data noupdate="1">
|
|
|
|
<!-- Required simply to set SO on expense before submitting. Used to avoid crash on name_get/name_search -->
|
|
<record id="sale_order_rule_expense_user" model="ir.rule">
|
|
<field name="name">Expense Employee can read confirmed SO</field>
|
|
<field ref="sale.model_sale_order" name="model_id"/>
|
|
<field name="domain_force">[('state', '=', 'sale')]</field>
|
|
<field name="groups" eval="[(4, ref('base.group_user'))]"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_unlink" eval="False"/>
|
|
</record>
|
|
|
|
</data>
|
|
</flectra>
|