[IMP] pos_pms_link:

- Add translation.
- Add improved search.
- Add note to pos.order.line with reservation and room.
- Add room to list.
- Add new domain.
- Add reservation confirm popup.
- Add hides reservation payment button if there is payment lines in the order.
This commit is contained in:
Vicente
2023-05-02 12:06:41 +02:00
committed by Darío Lodeiros
parent a3821a403f
commit 63ac94574f
7 changed files with 397 additions and 14 deletions

View File

@@ -4,7 +4,7 @@
<t t-name="pos_pms_link.PaymentScreen" t-inherit="point_of_sale.PaymentScreen" t-inherit-mode="extension" owl="1">
<xpath expr="//div[hasclass('paymentmethods')]" position="inside">
<div class="button paymentmethod">
<div class="payment-name" t-if="env.pos.config.pay_on_reservation" t-on-click="selectReservation">Reservation</div>
<div class="payment-name" t-if="env.pos.config.pay_on_reservation and currentOrder.paymentlines.length == 0" t-on-click="selectReservation">Reservation</div>
</div>
</xpath>
</t>

View File

@@ -13,6 +13,9 @@
<td>
<t t-esc="props.reservation.partner_name" />
</td>
<td>
<t t-esc="props.reservation.rooms" />
</td>
<td>
<t t-esc="props.reservation.checkin" />
</td>

View File

@@ -43,6 +43,7 @@
<tr>
<th>Name</th>
<th>Partner name</th>
<th>Room</th>
<th>Checkin</th>
<th>Checkout</th>
<th>Adults</th>