From 70dac31fea2bdedd5aebf6615eb929f762326456 Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Wed, 23 Sep 2015 16:09:02 +0200 Subject: [PATCH] Revert "[FIX] point_of_sale: remove references to pos_loyalty" This reverts commit 07dac79ddbef6c8221fbac1e0f8bb2e47e5fa285. There is apparently a pending PR which will fix this better. --- addons/point_of_sale/res_config.py | 5 +++++ addons/point_of_sale/res_config_view.xml | 1 + 2 files changed, 6 insertions(+) diff --git a/addons/point_of_sale/res_config.py b/addons/point_of_sale/res_config.py index 9eaca64c939..e3b2651b7fa 100644 --- a/addons/point_of_sale/res_config.py +++ b/addons/point_of_sale/res_config.py @@ -10,6 +10,11 @@ class pos_configuration(osv.TransientModel): (1, "Restaurant: activate table management") ], "Restaurant", help='This module adds several restaurant features to the Point of Sale: \n\n- Bill Printing: Allows you to print a receipt before the order is paid \n\n- Bill Splitting: Allows you to split an order into different orders \n\n- Kitchen Order Printing: allows you to print orders updates to kitchen or bar printers'), + 'module_pos_loyalty': fields.selection([ + (0, "No loyalty programs"), + (1, "Use loyalty programs") + ], "Loyalty", + help='Allows you to define a loyalty program in the point of sale, where the customers earn loyalty points and get rewards'), 'module_pos_discount': fields.selection([ (0, "Allow discounts on order lines only"), (1, "Allow global discounts") diff --git a/addons/point_of_sale/res_config_view.xml b/addons/point_of_sale/res_config_view.xml index a2f0cc45ddd..0045aad77af 100644 --- a/addons/point_of_sale/res_config_view.xml +++ b/addons/point_of_sale/res_config_view.xml @@ -12,6 +12,7 @@ +