Browse Source

[IMP] demo data + remove obsolete 'fast_suite' syntax;

pull/40/head
Sylvain LE GAL 9 years ago
parent
commit
8378036757
  1. 1
      pos_order_pricelist_change/__openerp__.py
  2. 29
      pos_order_pricelist_change/demo/res_groups.yml
  3. 2
      pos_order_pricelist_change/models/__init__.py
  4. 4
      pos_order_pricelist_change/tests/__init__.py

1
pos_order_pricelist_change/__openerp__.py

@ -35,5 +35,6 @@
],
'demo': [
'demo/demo.xml',
'demo/res_groups.yml',
],
}

29
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 <http://www.gnu.org/licenses/>.
#
###############################################################################
- !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

2
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

4
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,
]
Loading…
Cancel
Save