From 3c9a40ff84ef5b80bd8dd7fc4d1111ef0246d2b5 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Mon, 18 Mar 2013 14:37:47 +0530 Subject: [PATCH] [IMP] POS: made currency_id field invisible bzr revid: cha@tinyerp.com-20130318090747-4413l0il1pk7slww --- addons/point_of_sale/point_of_sale.py | 2 +- addons/point_of_sale/point_of_sale_view.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/point_of_sale/point_of_sale.py b/addons/point_of_sale/point_of_sale.py index c0043eaf496..19cace48d4d 100644 --- a/addons/point_of_sale/point_of_sale.py +++ b/addons/point_of_sale/point_of_sale.py @@ -205,6 +205,7 @@ class pos_session(osv.osv): readonly=True, states={'opening_control' : [('readonly', False)]} ), + 'currency_id' : fields.related('config_id', 'currency_id', type="many2one", relation='res.currency', string="Currnecy"), 'start_at' : fields.datetime('Opening Date', readonly=True), 'stop_at' : fields.datetime('Closing Date', readonly=True), @@ -212,7 +213,6 @@ class pos_session(osv.osv): required=True, readonly=True, select=1), - 'currency_id' : fields.related('config_id', 'currency_id', type="many2one", relation='res.currency', string="Currnecy"), 'cash_control' : fields.function(_compute_cash_all, multi='cash', type='boolean', string='Has Cash Control'), diff --git a/addons/point_of_sale/point_of_sale_view.xml b/addons/point_of_sale/point_of_sale_view.xml index c970f8b5870..22ee6abf5a3 100644 --- a/addons/point_of_sale/point_of_sale_view.xml +++ b/addons/point_of_sale/point_of_sale_view.xml @@ -772,7 +772,7 @@ - + @@ -895,7 +895,7 @@ - +