[FIX] mrp_repair: cannot create a repair if not access to product.product

Steps to reproduce the bug:

- Connect as demo user
- Create a repair
- Add a product
- Save

Bug: An access error was raised because the demo user has no access rights
to write on product.product

opw:816645
This commit is contained in:
Goffin Simon
2018-02-20 13:59:50 +01:00
parent 7c92417cba
commit 980d786b09
+1 -1
View File
@@ -50,7 +50,7 @@
</h1>
<group>
<group>
<field name="tracking" invisible="1"/>
<field name="tracking" invisible="1" attrs="{'readonly': 1}"/>
<field name="product_id" domain="[('type', 'in', ['product', 'consu'])]"/>
<label for="product_qty"/>
<div class="o_row">