Fall 5556: Gesamtmenge fix
							parent
							
								
									6d675ff9cf
								
							
						
					
					
						commit
						7df047b3d7
					
				|  | @ -78,6 +78,7 @@ | |||
|                             </tr> | ||||
|                         </tbody> | ||||
|                     </table> | ||||
|                     <t t-set="total_ordered_qty" t-value="0"/> | ||||
|                     <table class="table table-condensed mt48" t-if="not o.move_line_ids"> | ||||
|                         <thead class="table-header"> | ||||
|                             <tr> | ||||
|  | @ -95,7 +96,9 @@ | |||
|                                     <span t-field="move.product_id"/> | ||||
|                                 </td> | ||||
|                                 <td> | ||||
|                                     <span t-esc="o._formatLang(move_line.ordered_qty).strip('0').strip(',').strip('.')"/> | ||||
|                                     <t t-set="ordered_qty" t-value="int(o._formatLang(move_line.ordered_qty).strip('0').strip(',').strip('.'))"/> | ||||
|                                     <t t-set="total_ordered_qty" t-value="total_ordered_qty+ordered_qty"/> | ||||
|                                     <span t-esc="ordered_qty"/> | ||||
|                                     <span t-field="move.product_uom"/> | ||||
|                                 </td> | ||||
|                             </tr> | ||||
|  | @ -159,7 +162,9 @@ | |||
|                                 <td class="text-center"> | ||||
|                                     <span t-field="move_line.package_id"/> | ||||
|                                     <span t-if="move_line.package_id">:</span> | ||||
|                                     <span t-esc="o._formatLang(move_line.ordered_qty).strip('0').strip(',').strip('.')"/> | ||||
|                                     <t t-set="ordered_qty" t-value="int(o._formatLang(move_line.ordered_qty).strip('0').strip(',').strip('.'))"/> | ||||
|                                     <t t-set="total_ordered_qty" t-value="total_ordered_qty+ordered_qty"/> | ||||
|                                     <span t-esc="ordered_qty"/> | ||||
|                                     <span t-field="move_line.product_uom_id"/> | ||||
|                                 </td> | ||||
|                                 <td class="text-right" t-if="move_line.state == 'done'"> | ||||
|  | @ -183,7 +188,7 @@ | |||
|                         <div class="col-xs-6"> | ||||
|                             <span class="pull-right" style="padding-top: 5px; border-top: 1px solid;"> | ||||
|                                 <strong>Total Amount:</strong> | ||||
|                                 <span t-field="o.number_of_packages"/> | ||||
|                                 <span t-esc="total_ordered_qty"/> | ||||
|                             </span> | ||||
|                         </div> | ||||
|                     </div> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue