~florent.x/oerpscenario/trunk-with-buildout2

« back to all changes in this revision

Viewing changes to features/04_multicompany_base_finance_setup/x06_groups_settings.feature

  • Committer: Vincent Renaville
  • Date: 2013-02-08 09:11:32 UTC
  • mfrom: (286.1.7 trunk-python)
  • Revision ID: vincent.renaville@camptocamp.com-20130208091132-rsv9bb2rma6d2j9w
[MRG] cleaning scenario for multi company 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###############################################################################
 
2
#
 
3
#    OERPScenario, OpenERP Functional Tests
 
4
#    Copyright 2009 Camptocamp SA
 
5
#
 
6
##############################################################################
 
7
 
 
8
# Features Generic tags (none for all)
 
9
##############################################################################
 
10
# Branch      # Module       # Processes     # System
 
11
@multicompany_base_finance
 
12
 
 
13
Feature: ACTIVATE SETTINGS (NO MODULES INSTALLED HERE - ONLY GROUPS) 
 
14
 
 
15
 @multicompany_base_finance_sales_settings
 
16
  Scenario: SALES SETTINGS
 
17
     Given I need a "sale.config.settings" with oid: scen.sale_settings
 
18
     And having:
 
19
     | name                             | value                        |
 
20
     | group_sale_delivery_address      | true                         |
 
21
     | group_discount_per_so_line       | true                         |                   
 
22
     | group_multiple_shops             | true                         |                   
 
23
     Then execute the setup
 
24
 
 
25
 @multicompany_base_finance_accounting_settings
 
26
  Scenario: ACCOUNTING SETTINGS
 
27
  Given I need a "account.config.settings" with oid: scen.account_settings
 
28
     And having:
 
29
     | name                             | value                        |
 
30
     | group_multi_currency             | true                         |
 
31
     | group_analytic_accounting        | true                         |         
 
32
   Then execute the setup
 
33
 
 
34
  @multicompany_base_finance_hide_useless_menu
 
35
  Scenario: GROUP TO HIDE USELESS MENU
 
36
    Given I need a "res.groups" with name: 'hidden menus' and oid: scen.no_voucher_group
 
37
     And having:
 
38
        | name        | value                         |
 
39
        | name        | hidden menus                  |
 
40
        | category_id | by name: Accounting & Finance |
 
41
 
 
42
     Given I need a "ir.ui.menu" with name: Sales Receipts
 
43
       And having:
 
44
        | name      | value                         |
 
45
        | groups_id | by oid: scen.no_voucher_group |
 
46
 
 
47
     Given I need a "ir.ui.menu" with name: Customer Payments
 
48
       And having:
 
49
        | name      | value                         |
 
50
        | groups_id | all by oid: scen.no_voucher_group |
 
51
 
 
52
     Given I need a "ir.ui.menu" with name: Purchase Receipts
 
53
       And having:
 
54
        | name      | value                         |
 
55
        | groups_id | by oid: scen.no_voucher_group |
 
56
 
 
57
     Given I need a "ir.ui.menu" with name: Supplier Payments
 
58
       And having:
 
59
        | name      | value                         |
 
60
        | groups_id | by oid: scen.no_voucher_group |
 
61
 
 
62
     Given I need a "ir.ui.menu" with name: Journal Vouchers
 
63
       And having:
 
64
        | name      | value                         |
 
65
        | groups_id | by oid: scen.no_voucher_group |
 
66
 
 
67
     Given I need a "ir.ui.menu" with name: Automatic Reconciliation
 
68
       And having:
 
69
        | name      | value                         |
 
70
        | groups_id | by oid: scen.no_voucher_group |
 
71
 
 
72
     Given I need a "ir.ui.menu" with name: Multi-Currencies
 
73
       And having:
 
74
        | name      | value                         |
 
75
        | groups_id | by oid: scen.no_voucher_group |
 
 
b'\\ No newline at end of file'