change layout of report_production
							parent
							
								
									9e1dbef8eb
								
							
						
					
					
						commit
						ea39bed9ed
					
				|  | @ -93,12 +93,23 @@ tbody.sale-tbody, tbody.invoice-tbody, tbody.stock-tbody { | |||
|     border-bottom: 2px solid #A72523; | ||||
| } | ||||
| 
 | ||||
| tbody.production-tbody { | ||||
|     background-color: #FFFFFF; | ||||
|     margin-top: 0; | ||||
|     margin-bottom: 0; | ||||
|     border-bottom: 2px solid #000000; | ||||
| } | ||||
| 
 | ||||
| tbody.totals-tbody { | ||||
|     background-color: #E6E7E9; | ||||
|     margin-top: 0; | ||||
|     margin-bottom: 0; | ||||
| } | ||||
| 
 | ||||
| tr.border_lower_black { | ||||
|     border-bottom: 2px solid #000000; | ||||
| } | ||||
| 
 | ||||
| .table-condensed > tbody > tr.amount-total { | ||||
|     border-top: 2px solid #A72523 !important; | ||||
| } | ||||
|  |  | |||
|  | @ -82,7 +82,7 @@ | |||
|                         <span t-field="o.note1"/> | ||||
|                     </p> | ||||
|                 </div> | ||||
|                 <table class="table table-condensed" style="background-color: #E6E7E9;"> | ||||
|                 <table class="table table-condensed"> | ||||
|                     <thead class="table-header"> | ||||
|                         <tr> | ||||
|                             <th class="text-center">Pos.</th> | ||||
|  | @ -98,7 +98,7 @@ | |||
|                             <th class="text-right">Gewicht</th> | ||||
|                         </tr> | ||||
|                     </thead> | ||||
|                     <tbody class="sale-tbody"> | ||||
|                     <tbody class="production-tbody"> | ||||
|                         <t t-set="pos_nr" t-value="0"/> | ||||
|                         <t t-foreach="o.order_line" t-as="order_line"> | ||||
|                             <t t-if="order_line.product_id.material_type_id.production_relevant"> | ||||
|  | @ -172,7 +172,7 @@ | |||
|                                     </td> | ||||
|     --> | ||||
|                                 </tr> | ||||
|                                 <tr> | ||||
|                                 <tr class="border_lower_black"> | ||||
|                                     <td colspan="2" style="border: 0;text-align: center;"> | ||||
|                                         <img t-if="order_line.lot_id.image_medium and order_line.product_id.material_type_id.print_production_pic" | ||||
|                                              t-att-src="'data:image/png;base64,%s' % order_line.lot_id.image_medium.decode()" style="max-width: 128px;"/> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue