Fix mobile pos to disable payment screen widget
Modify /pos_mobile/static/src/xml:
<!-- <t t-extend="PaymentScreenWidget"> <t t-jquery="div[class='paymentmethods-container']"> $(this).addClass('touch-scrollable scrollable-y'); </t> <t t-jquery="section[class='paymentlines-container']"> $(this).addClass('touch-scrollable scrollable-y'); </t> </t> <t t-extend="PaymentScreen-Paymentlines"> <t t-jquery="t[t-if='!paymentlines.length']" t-operation="replace"> <div class='paymentlines-empty'> <div class='total'> <t t-esc="widget.format_currency(order.get_total_with_tax())" /> </div> <div class='message'> Please select a payment method. </div> </div> </t> </t> -->
Modify /pos_mobile/static/src/css/pos_mobile_styles.css:
.pos.mobile .paymentlines-container { padding: 0px; border-bottom: dashed 2px rgb(110, 110, 110); max-height: initial; height: 562px; min-height: 300px; overflow: hidden !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; }
Traducciones
Licitado, Debido, Cambiar en el POS
Monto de la compra, Pago con, Vuelto