~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to account_journal/test/analytic_data.yml

  • Committer: Quentin THEURET
  • Date: 2012-02-02 10:10:59 UTC
  • mto: This revision was merged to the branch mainline in revision 587.
  • Revision ID: qt@tempo-consulting.fr-20120202101059-y8gkodfqbdmf93sb
UF-716 [IMP] Change columns titles

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
-
2
 
  I create an analytic account attached to OC (Operation Center) named Gabon
3
 
-
4
 
  !record {model: account.analytic.account, id: analytic_account_gabon}:
5
 
    name: "Gabon"
6
 
    currency_id: 1
7
 
    code: GAB
8
 
    type: normal
9
 
    category: OC
10
 
    parent_id: analytic_distribution.analytic_account_project
11
 
    date: !eval "'%s-01-01' %(datetime.now().year + 2)"
12
 
-
13
 
  I create an analytic account attached to OC (Operation Center) named Kenya
14
 
-
15
 
  !record {model: account.analytic.account, id: analytic_account_kenya}:
16
 
    name: "Kenya"
17
 
    currency_id: 1
18
 
    code: KEN
19
 
    type: normal
20
 
    category: OC
21
 
    parent_id: analytic_distribution.analytic_account_project
22
 
    date: !eval "'%s-01-01' %(datetime.now().year + 2)"
23
 
-
24
 
  I create a global analytical distribution
25
 
-
26
 
  !record {model: analytic.distribution, id: global_distrib_1}:
27
 
    name: GLOB DISTR 1
28
 
    global_distribution: True
29
 
-
30
 
  I create a cost center distribution line for gabon
31
 
-
32
 
  !record {model: cost.center.distribution.line, id: cost_center_gabon}:
33
 
    name: CC Line 1
34
 
    amount: 0.0
35
 
    percentage: 75.0
36
 
    currency_id: 1
37
 
    analytic_id: analytic_account_gabon
38
 
    distribution_id: global_distrib_1
39
 
-
40
 
  I create a cost center distribution line for kenya
41
 
-
42
 
  !record {model: cost.center.distribution.line, id: cost_center_kenya}:
43
 
    name: CC Line 2
44
 
    amount: 0.0
45
 
    percentage: 25.0
46
 
    currency_id: 1
47
 
    analytic_id: analytic_account_kenya
48
 
    distribution_id: global_distrib_1
49
 
-
50
 
  I create a funding pool distribution line for gabon
51
 
-
52
 
  !record {model: funding.pool.distribution.line, id: funding_pool_gabon}:
53
 
    name: FP Line 1
54
 
    amount: 0.0
55
 
    percentage: 75.0
56
 
    currency_id: 1
57
 
    analytic_id: analytic_account_gabon
58
 
    distribution_id: global_distrib_1
59
 
-
60
 
  I create a funding pool distribution line for kenya
61
 
-
62
 
  !record {model: funding.pool.distribution.line, id: funding_pool_kenya}:
63
 
    name: FP Line 2
64
 
    amount: 0.0
65
 
    percentage: 25.0
66
 
    currency_id: 1
67
 
    analytic_id: analytic_account_kenya
68
 
    distribution_id: global_distrib_1