You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.6 KiB
37 lines
1.6 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--Template for location summary popup-->
|
|
<templates id="template" xml:space="preserve">
|
|
<t t-name="LocationSummaryPopup" owl="1">
|
|
<Dialog size="'md'" title="props.title">
|
|
<div class="popup">
|
|
<main class="body">
|
|
<div class="order-summary">
|
|
<div>
|
|
<div>
|
|
<p class="label">Locations</p>
|
|
<select class="form-select"
|
|
t-model="state.selected_value"
|
|
style="width: 40%; margin:auto;border:solid;">
|
|
<option value="">None</option>
|
|
<t t-foreach="pos.models['stock.location'].getAll()" t-as="location" t-key="location.id">
|
|
<option t-att-value="location.id">
|
|
<t t-esc="location.name"/>
|
|
</option>
|
|
</t>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<footer class="footer modal-footer">
|
|
<div class="button confirm highlight btn btn-lg btn-primary" t-on-click="confirm">
|
|
Confirm
|
|
</div>
|
|
<div class="button cancel btn btn-lg btn-secondary" t-on-click="props.close">
|
|
Cancel
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</Dialog>
|
|
</t>
|
|
</templates>
|
|
|