From 8378036757668bcd45d20fc5a2771485e37a0ada Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Wed, 22 Jul 2015 15:28:16 +0200 Subject: [PATCH] [IMP] demo data + remove obsolete 'fast_suite' syntax; --- pos_order_pricelist_change/__openerp__.py | 1 + .../demo/res_groups.yml | 29 +++++++++++++++++++ pos_order_pricelist_change/models/__init__.py | 2 +- pos_order_pricelist_change/tests/__init__.py | 4 --- 4 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 pos_order_pricelist_change/demo/res_groups.yml diff --git a/pos_order_pricelist_change/__openerp__.py b/pos_order_pricelist_change/__openerp__.py index 8f8e8851..216cb514 100644 --- a/pos_order_pricelist_change/__openerp__.py +++ b/pos_order_pricelist_change/__openerp__.py @@ -35,5 +35,6 @@ ], 'demo': [ 'demo/demo.xml', + 'demo/res_groups.yml', ], } diff --git a/pos_order_pricelist_change/demo/res_groups.yml b/pos_order_pricelist_change/demo/res_groups.yml new file mode 100644 index 00000000..9545d146 --- /dev/null +++ b/pos_order_pricelist_change/demo/res_groups.yml @@ -0,0 +1,29 @@ +# -*- encoding: utf-8 -*- +############################################################################### +# +# Point Of Sale - Order Pricelist Change for Odoo +# Copyright (C) 2014-Today GRAP (http://www.grap.coop) +# @author Sylvain LE GAL (https://twitter.com/legalsylvain) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################### + +- !record {model: res.groups, id: base.group_no_one}: + users: + - base.user_root + +- !record {model: res.groups, id: product.group_sale_pricelist}: + users: + - base.user_root diff --git a/pos_order_pricelist_change/models/__init__.py b/pos_order_pricelist_change/models/__init__.py index ef8a11b2..eefc4be8 100644 --- a/pos_order_pricelist_change/models/__init__.py +++ b/pos_order_pricelist_change/models/__init__.py @@ -2,7 +2,7 @@ ############################################################################## # # Point Of Sale - Order Pricelist Change for Odoo -# Copyright (C) 2014 GRAP (http://www.grap.coop) +# Copyright (C) 2014-Today GRAP (http://www.grap.coop) # @author Sylvain LE GAL (https://twitter.com/legalsylvain) # # This program is free software: you can redistribute it and/or modify diff --git a/pos_order_pricelist_change/tests/__init__.py b/pos_order_pricelist_change/tests/__init__.py index c2dcc170..02e498ba 100644 --- a/pos_order_pricelist_change/tests/__init__.py +++ b/pos_order_pricelist_change/tests/__init__.py @@ -21,7 +21,3 @@ ############################################################################## from . import test_pos_order_pricelist_change - -fast_suite = [ - test_pos_order_pricelist_change, -]