summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/views
diff options
context:
space:
mode:
authorAntoine Prieels <anp@odoo.com>2020-08-27 09:50:57 +0000
committerAntoine Prieels <anp@odoo.com>2020-08-28 06:18:48 +0000
commiteaae65941177dcf89d03251343de3cb4e7866003 (patch)
treeb2e8f16a5e74882b00b68f2d670ca42d5809b7c8 /addons/point_of_sale/views
parent9b67f6ee0783e8b02edb260b3ba5a0322187a416 (diff)
[IMP] pos_restaurant(_adyen): Keep tab open
As long as the payment is not validated, the cashier can add products to the order, even if the payment has been completed. The amount authorized can be adjusted if the payment interface implements the canBeAdjusted method. closes odoo/odoo#56639 Taskid: 2117032 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/point_of_sale/views')
-rw-r--r--addons/point_of_sale/views/pos_payment_views.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/point_of_sale/views/pos_payment_views.xml b/addons/point_of_sale/views/pos_payment_views.xml
index 4093605f5c3..af855fb187a 100644
--- a/addons/point_of_sale/views/pos_payment_views.xml
+++ b/addons/point_of_sale/views/pos_payment_views.xml
@@ -13,6 +13,7 @@
<field name="pos_order_id" />
<field name="payment_method_id" />
<field name="card_type" attrs="{'invisible': [('card_type', '=', False)]}"/>
+ <field name="cardholder_name" attrs="{'invisible': [('cardholder_name', '=', False)]}"/>
<field name="transaction_id" attrs="{'invisible': [('transaction_id', '=', False)]}"/>
<field name="session_id" />
</group>