Add rule to rule group of quotation line

The group exists but without rule which makes it match any lines.

issue8097
review62431002
This commit is contained in:
Cédric Krier committed 2019-02-10 20:07:08 +01:00
1 parent 7c407878f8
commit ced67ef741
1 file changed
+5
+5
View File
@@ -191,6 +191,11 @@ this repository contains the full copyright notices and license terms. -->
search="[('model', '=', 'purchase.request.quotation.line')]"/>
<field name="global_p" eval="True"/>
</record>
<record model="ir.rule" id="rule_request_quotation_line">
<field name="domain" eval="[('quotation.company', '=', Eval('user', {}).get('company', None))]" pyson="1"/>
<field name="rule_group" ref="rule_group_request_quotation_line"/>
</record>
<record model="ir.model.access" id="access_request_quotation_line">
<field name="model"
search="[('model', '=', 'purchase.request.quotation.line')]"/>