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