Hide discount on reports
							parent
							
								
									8532166c1e
								
							
						
					
					
						commit
						1c38e263e4
					
				|  | @ -160,7 +160,10 @@ | ||||||
|                                             <span t-field="invoice_line.name"/> |                                             <span t-field="invoice_line.name"/> | ||||||
|                                         </td> |                                         </td> | ||||||
|                                         <td class="text-right"> |                                         <td class="text-right"> | ||||||
|                                             <span t-field="invoice_line.price_unit"/> |                                             <span t-if="invoice_line.hide_discount" | ||||||
|  |                                                   t-field="invoice_line.price_reduce"/> | ||||||
|  |                                             <span t-if="not invoice_line.hide_discount" | ||||||
|  |                                                   t-field="invoice_line.price_unit"/> | ||||||
|                                         </td> |                                         </td> | ||||||
|                                         <td class="text-right" t-if="discount_is_set"> |                                         <td class="text-right" t-if="discount_is_set"> | ||||||
|                                             <span t-if="not invoice_line.hide_discount" |                                             <span t-if="not invoice_line.hide_discount" | ||||||
|  |  | ||||||
|  | @ -122,7 +122,10 @@ | ||||||
|                                     </t> |                                     </t> | ||||||
|                                 </td> |                                 </td> | ||||||
|                                 <td rowspan="2" class="text-right"> |                                 <td rowspan="2" class="text-right"> | ||||||
|                                     <span t-field="order_line.price_unit"/> |                                     <span t-if="order_line.hide_discount" | ||||||
|  |                                           t-field="order_line.price_reduce"/> | ||||||
|  |                                     <span t-if="not order_line.hide_discount" | ||||||
|  |                                           t-field="order_line.price_unit"/> | ||||||
|                                 </td> |                                 </td> | ||||||
|                                 <td rowspan="2" class="text-right" t-if="discount_is_set"> |                                 <td rowspan="2" class="text-right" t-if="discount_is_set"> | ||||||
|                                     <span t-if="not order_line.hide_discount" t-field="order_line.discount"/> |                                     <span t-if="not order_line.hide_discount" t-field="order_line.discount"/> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue