4 changed files with 27 additions and 3 deletions
			
			
		| @ -0,0 +1,17 @@ | |||
| <?xml version="1.0" encoding="utf-8" ?> | |||
| <odoo> | |||
|     <!-- Added Product Images in the portal sale orders --> | |||
|     <template id="sale_order_portal_content_inherit" | |||
|               inherit_id="sale.sale_order_portal_content"> | |||
|         <xpath expr="//th[@id='product_qty_header']" position="before"> | |||
|             <th t-if="request.env['ir.config_parameter'].sudo().get_param('sale_product_image.is_show_product_image_in_sale_report')" class="text-end"> | |||
|                 Image | |||
|             </th> | |||
|         </xpath> | |||
|         <xpath expr="//td[@id='quote_qty_td']" position="before"> | |||
|             <td t-if="request.env['ir.config_parameter'].sudo().get_param('sale_product_image.is_show_product_image_in_sale_report')" class="text-end"> | |||
|                 <img t-att-src="image_data_uri(line.order_line_image)" style="height:50px;width:50px;"/> | |||
|             </td> | |||
|         </xpath> | |||
|     </template> | |||
| </odoo> | |||
					Loading…
					
					
				
		Reference in new issue