diff options
| author | Goffin Simon <sig@odoo.com> | 2020-12-02 13:25:39 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-12-02 13:25:39 +0000 |
| commit | 00ba9d2d244314ee09ffefb616f9bc3a26027092 (patch) | |
| tree | 2797af609b88c55ffd4f64b526856302d9355c05 | |
| parent | e87cf96f29b05e475d1aa693c20c7f05ce2833c9 (diff) | |
[FIX] pos_restaurant: Impossible to print bill
Steps to reproduce the bug:
1. Install PoS
2. Change the Shop type to "Bar/restaurant" (into its setting) then save
3. Go into the newly created "Bar" settings
4. Enable "Direct devices" (with any IP)
5. Open a session on Bar
6. Pick a table
7. Ignore the "Connection to the printer Failed" error
8. Take a coca
9. Click on the "Bill" button
10. On the Bill Printing screen, pick "Print"
Bug:
A traceback was raised
opw:2382350
closes odoo/odoo#62742
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
| -rw-r--r-- | addons/pos_restaurant/static/src/xml/Screens/BillScreen.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/pos_restaurant/static/src/xml/Screens/BillScreen.xml b/addons/pos_restaurant/static/src/xml/Screens/BillScreen.xml index 34fe66e36ec..5df01405173 100644 --- a/addons/pos_restaurant/static/src/xml/Screens/BillScreen.xml +++ b/addons/pos_restaurant/static/src/xml/Screens/BillScreen.xml @@ -26,7 +26,7 @@ <span>Print</span> </div> <div class="pos-receipt-container"> - <OrderReceipt order="currentOrder" isBill="true"/> + <OrderReceipt order="currentOrder" isBill="true" t-ref="order-receipt"/> </div> </div> </div> |
