2
I create an analytic account attached to OC (Operation Center) named Gabon
4
!record {model: account.analytic.account, id: analytic_account_gabon}:
10
parent_id: analytic_distribution.analytic_account_project
11
date: !eval "'%s-01-01' %(datetime.now().year + 2)"
13
I create an analytic account attached to OC (Operation Center) named Kenya
15
!record {model: account.analytic.account, id: analytic_account_kenya}:
21
parent_id: analytic_distribution.analytic_account_project
22
date: !eval "'%s-01-01' %(datetime.now().year + 2)"
24
I create a global analytical distribution
26
!record {model: analytic.distribution, id: global_distrib_1}:
28
global_distribution: True
30
I create a cost center distribution line for gabon
32
!record {model: cost.center.distribution.line, id: cost_center_gabon}:
37
analytic_id: analytic_account_gabon
38
distribution_id: global_distrib_1
40
I create a cost center distribution line for kenya
42
!record {model: cost.center.distribution.line, id: cost_center_kenya}:
47
analytic_id: analytic_account_kenya
48
distribution_id: global_distrib_1
50
I create a funding pool distribution line for gabon
52
!record {model: funding.pool.distribution.line, id: funding_pool_gabon}:
57
analytic_id: analytic_account_gabon
58
distribution_id: global_distrib_1
60
I create a funding pool distribution line for kenya
62
!record {model: funding.pool.distribution.line, id: funding_pool_kenya}:
67
analytic_id: analytic_account_kenya
68
distribution_id: global_distrib_1