diff options
| author | Pierre Masereel <pim@odoo.com> | 2020-01-31 13:08:42 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2020-06-10 17:54:54 +0000 |
| commit | 09cfde14bd086bd190a8c34a157557fa363d0438 (patch) | |
| tree | 98ea6bbc36839a8b4c97a0c47f9892db97bfcbd5 /addons/pos_mercury | |
| parent | 152b3464c0342d9b59279ca0a454b84715c6c2b8 (diff) | |
[IMP] point_of_sale: responsive UI
The point of sale user interface has been adapted to work on mobile
devices.
We modified the design of payment lines to look like payment methods and
stack them together in the mobile view.
When you had a cash method, the amount was not preffilled during
payment, now we always prefill the amount to keep it more simple.
closes odoo/odoo#51891
Task-id: 1887609
Related: odoo/upgrade#1334
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/pos_mercury')
| -rw-r--r-- | addons/pos_mercury/static/src/xml/PaymentScreenPaymentLines.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/pos_mercury/static/src/xml/PaymentScreenPaymentLines.xml b/addons/pos_mercury/static/src/xml/PaymentScreenPaymentLines.xml index c44071847de..0a01d9f8be6 100644 --- a/addons/pos_mercury/static/src/xml/PaymentScreenPaymentLines.xml +++ b/addons/pos_mercury/static/src/xml/PaymentScreenPaymentLines.xml @@ -2,7 +2,7 @@ <templates id="template" xml:space="preserve"> <t t-name="pos_mercury.PaymentScreenPaymentLines" t-inherit="point_of_sale.PaymentScreenPaymentLines" t-inherit-mode="extension" owl="1"> - <xpath expr="//div[hasclass('col-name')]//t[@t-esc='line.payment_method.name']" position="replace"> + <xpath expr="//div[hasclass('paymentline')]//t[@t-esc='line.payment_method.name']" position="replace"> <t t-if="!line.payment_method.is_cash_count and line.mercury_swipe_pending"> <span>WAITING FOR SWIPE</span> </t> |
