From c119ea40bbf54d8d008a97300cddc0725dd8ee72 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Wed, 8 Aug 2018 14:10:36 +0200 Subject: [PATCH] [FIX] point_of_sale: show the invoice button for paid orders Introduced at e434690fe3 The button should be displayed when the order is paid to generate the invoice Once the invoice is generated, the state is invoiced and a statbutton lead to the generated invoice. Remove the readonly attrs as it has no effect on a button --- addons/point_of_sale/views/pos_order_view.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/point_of_sale/views/pos_order_view.xml b/addons/point_of_sale/views/pos_order_view.xml index 307282f0804..8573fb249ef 100644 --- a/addons/point_of_sale/views/pos_order_view.xml +++ b/addons/point_of_sale/views/pos_order_view.xml @@ -7,7 +7,8 @@