[IMP] stock: Remove useless sudo in the Picking Report

Since the portal users have the read access right on the procurement orders, this sudo doesn't make any sense anymore.
This commit is contained in:
Yannick Tivisse
2016-09-07 11:22:50 +02:00
parent 4910092d3e
commit c8f5c193a2
@@ -97,9 +97,7 @@
</tr>
</thead>
<tbody>
<t t-set="pack_operation_ids" t-value="o.pack_operation_ids"/>
<t groups="base.group_portal" t-set="pack_operation_ids" t-value="o.pack_operation_ids.sudo()"/>
<tr t-foreach="pack_operation_ids" t-as="pack_operation">
<tr t-foreach="o.pack_operation_ids" t-as="pack_operation">
<td><span t-field="pack_operation.product_id"/><br/>
<span t-field="pack_operation.product_id.description_picking"/>
<t t-if="not pack_operation.product_id and pack_operation.package_id"><span t-field="pack_operation.package_id"/></t></td>