~camptocamp/oerpscenario/add-count-items-lep

« back to all changes in this revision

Viewing changes to features/01_base_finance_setup/00_initial_params.feature

  • Committer: Alexandre Fayolle
  • Author(s): nicolas.bessi at camptocamp
  • Date: 2013-06-06 06:16:43 UTC
  • mfrom: (321.1.1 oerpscenario)
  • Revision ID: alexandre.fayolle@camptocamp.com-20130606061643-899xeg6ggx1hy5ok
[MRG] FIX base finance setup to be green in V7.0 and remove credit control tests that where moved into the addon

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
##############################################################################
7
7
##############################################################################
8
8
# Branch      # Module       # Processes     # System
9
 
@base_finance   @base_commercial_management
 
9
@base_finance   @base_commercial_management
10
10
 
11
11
Feature: INITIAL SET-UP FOR NEW DATABASE
12
12
 
27
27
      | purchase                        |
28
28
      | sale                            |
29
29
      | web_shortcuts                   |
30
 
#      | stock_move_change_delivery_date |
31
 
#      | report_webkit_lib               |
32
 
#      | product_standard_margin         |
33
 
#      | product_historical_margin       |
34
 
#      | account_financial_report_webkit |
35
 
#      | invoice_webkit                  |
36
 
#      | purchase_order_webkit           |
37
 
#      | sale_order_webkit               |
38
 
#      | stock_picking_webkit            |
39
 
#      | account_advanced_reconcile      |
40
30
 
41
31
    Then my modules should have been installed and models reloaded
42
32
 
96
86
    Then I find a "account.fiscalyear" with oid: scenario.fy2013
97
87
 
98
88
  @base_finance_setup_currency_rates
99
 
   Scenario: CURRENCY RATES TYPE NAME CREATION (mainly for module account_multicurrency_revaluation)
 
89
  Scenario: CURRENCY RATES TYPE NAME CREATION (mainly for module account_multicurrency_revaluation)
100
90
    Given I need a "res.currency.rate.type" with oid: scen.average_fx_rate_type
101
91
    And having:
102
92
    | name                  | value          |
103
93
    | name                  | average        |
104
94
 
105
 
   @debug_taxes
106
 
   Scenario: CURRENCY RATES SETTINGS
 
95
  @debug_taxes
 
96
  Scenario: CURRENCY RATES SETTINGS
107
97
    Given I set the following currency rates:
108
98
      | currency |   rate | date     |  type |
109
99
      | EUR      | 1.0000 | %Y-01-01 |       |
149
139
      | GBP      | 0.8000 | %Y-02-28 |average|
150
140
      | CAD      | 1.2500 | %Y-01-01 |average|
151
141
      | CAD      | 1.2700 | %Y-02-01 |average|
 
142
 
 
143
  @set_payment_term
 
144
  Scenario: PAYMENT TERM SETTINGS
 
145
    Given I need a "account.payment.term" with oid: account.account_payment_term
 
146
    And having:
 
147
    | name | value                |
 
148
    | name | 30 Days End of Month |
 
149
    | note | 30 Days End of Month |
 
150
 
 
151
    # 30 Days End of Month
 
152
    Given I need a "account.payment.term.line" with oid: account.account_payment_term_line
 
153
    And having:
 
154
    | name       | value                               |
 
155
    | value      | balance                             |
 
156
    | days       | 30                                  |
 
157
    | days2      | -1                                  |
 
158
    | payment_id | by oid: account.account_payment_term |
 
159
 
 
160
 
 
161
 
 
162
    Given I need a "account.payment.term" with oid: account.account_payment_term_advance
 
163
    And having:
 
164
    | name | value                   |
 
165
    | name | 30% Advance End 30 Days |
 
166
    | note | 30% Advance End 30 Days |
 
167
    # 30% Advance
 
168
    Given I need a "account.payment.term.line" with oid: account.account_payment_term_line_advance1
 
169
    And having:
 
170
    | name         |                                        value |
 
171
    | value        |                                      procent |
 
172
    | value_amount |                                     0.300000 |
 
173
    | days         |                                            0 |
 
174
    | days2        |                                            0 |
 
175
    | payment_id   | by oid: account.account_payment_term_advance |
 
176
 
 
177
    # Remaining Balance
 
178
    Given I need a "account.payment.term.line" with oid: account.account_payment_term_line_advance2
 
179
    And having:
 
180
    | name       | value                                        |
 
181
    | value      | balance                                      |
 
182
    | days       | 30                                           |
 
183
    | days2      | -1                                           |
 
184
    | payment_id | by oid: account.account_payment_term_advance |