FB-001: Feedback Webshops zum Meilenstein 1
parent
2346f9384a
commit
87bfe29cf0
|
|
@ -18,6 +18,7 @@
|
||||||
],
|
],
|
||||||
'data': [
|
'data': [
|
||||||
'views/delivery_carrier.xml',
|
'views/delivery_carrier.xml',
|
||||||
|
'views/website_templates.xml',
|
||||||
'security/rule.xml'
|
'security/rule.xml'
|
||||||
],
|
],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,66 @@
|
||||||
|
<?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>
|
||||||
Loading…
Reference in New Issue