67 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			XML
		
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			XML
		
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <odoo>
 | |
| 
 | |
|     <template id="inherit_address" inherit_id="website_sale.address">
 | |
|         <xpath expr="//form[@name='/shop/checkout']/div/label" position="after">
 | |
|             *
 | |
|         </xpath>
 | |
|         <xpath expr="//div[@id='div_email']/label" position="after">
 | |
|             *
 | |
|         </xpath>
 | |
|         <xpath expr="//div[@id='div_phone']/label" position="after">
 | |
|             *
 | |
|         </xpath>
 | |
|         <xpath expr="//input[@name='street']" position="before">
 | |
|             *
 | |
|         </xpath>
 | |
|         <xpath expr="//select[@id='country_id']" position="before">
 | |
|             *
 | |
|         </xpath>
 | |
|         <xpath expr="//form[@name='/shop/checkout']/div" position="before">
 | |
|             <div class="col-md-12">
 | |
|                 <h4>Felder mit einem * müssen befüllt sein.</h4>
 | |
|             </div>
 | |
|         </xpath>
 | |
|         <xpath expr="//form[@name='/shop/checkout']" position="before">
 | |
| 
 | |
|             <t t-if="error.get('phone') == 'missing'">
 | |
|                 <div class="col-md-12">
 | |
|                     <h4 class="text-danger">
 | |
|                         Das Feld TELEFON ist nicht befüllt.
 | |
|                     </h4>
 | |
|                 </div>
 | |
|             </t>
 | |
|             <t t-if="error.get('name') == 'missing'">
 | |
|                 <div class="col-md-12">
 | |
|                     <h4 class="text-danger">
 | |
|                         Das Feld NAME ist nicht befüllt.
 | |
|                     </h4>
 | |
|                 </div>
 | |
|             </t>
 | |
|             <t t-if="error.get('city') == 'missing'">
 | |
|                 <div class="col-md-12">
 | |
|                     <h4 class="text-danger">
 | |
|                         Das Feld STADT ist nicht befüllt.
 | |
|                     </h4>
 | |
|                 </div>
 | |
|             </t>
 | |
|             <t t-if="error.get('street') == 'missing'">
 | |
|                 <div class="col-md-12">
 | |
|                     <h4 class="text-danger">
 | |
|                         Das Feld STRASSE UND NUMMER ist nicht befüllt.
 | |
|                     </h4>
 | |
|                 </div>
 | |
|             </t>
 | |
|             <t t-if="error.get('country_id') == 'missing'">
 | |
|                 <div class="col-md-12">
 | |
|                     <h4 class="text-danger">
 | |
|                         Das Feld LAND ist nicht befüllt.
 | |
|                     </h4>
 | |
|                 </div>
 | |
|             </t>
 | |
|         </xpath>
 | |
| 
 | |
|     </template>
 | |
| 
 | |
| </odoo>
 |