1
###############################################################################
3
# OERPScenario, OpenERP Functional Tests
4
# Copyright 2009 Camptocamp SA
6
##############################################################################
8
# Features Generic tags (none for all)
9
##############################################################################
10
# Branch # Module # Processes # System
11
@multicompany_base_finance
13
Feature: ACTIVATE SETTINGS (NO MODULES INSTALLED HERE - ONLY GROUPS)
15
@multicompany_base_finance_sales_settings
16
Scenario: SALES SETTINGS
17
Given I need a "sale.config.settings" with oid: scen.sale_settings
20
| group_sale_delivery_address | true |
21
| group_discount_per_so_line | true |
22
| group_multiple_shops | true |
23
Then execute the setup
25
@multicompany_base_finance_accounting_settings
26
Scenario: ACCOUNTING SETTINGS
27
Given I need a "account.config.settings" with oid: scen.account_settings
30
| group_multi_currency | true |
31
| group_analytic_accounting | true |
32
Then execute the setup
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
39
| name | hidden menus |
40
| category_id | by name: Accounting & Finance |
42
Given I need a "ir.ui.menu" with name: Sales Receipts
45
| groups_id | by oid: scen.no_voucher_group |
47
Given I need a "ir.ui.menu" with name: Customer Payments
50
| groups_id | all by oid: scen.no_voucher_group |
52
Given I need a "ir.ui.menu" with name: Purchase Receipts
55
| groups_id | by oid: scen.no_voucher_group |
57
Given I need a "ir.ui.menu" with name: Supplier Payments
60
| groups_id | by oid: scen.no_voucher_group |
62
Given I need a "ir.ui.menu" with name: Journal Vouchers
65
| groups_id | by oid: scen.no_voucher_group |
67
Given I need a "ir.ui.menu" with name: Automatic Reconciliation
70
| groups_id | by oid: scen.no_voucher_group |
72
Given I need a "ir.ui.menu" with name: Multi-Currencies
75
| groups_id | by oid: scen.no_voucher_group |
b'\\ No newline at end of file'