[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user