~julius-network-solutions/openobject-addons/trunk-bug-wiki-image

« back to all changes in this revision

Viewing changes to account_budget/test/account_budget.yml

  • Committer: qdp-launchpad at tinyerp
  • Date: 2011-01-14 00:11:01 UTC
  • mfrom: (3164.118.723 dev-3addons)
  • Revision ID: qdp-launchpad@tinyerp.com-20110114001101-wk77opsrvslh7pak
Tags: openerp-buildfail-1-5165
[MERGE] merged the dev3 branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
-
6
6
  !record {model: crossovered.budget, id: crossovered_budget_budget0}:
7
7
    code: B2011
8
 
    date_from: '2011-01-01'
9
 
    date_to: '2011-12-31'
10
 
    name: Budget 2011
 
8
    date_from: !eval "'%s-01-01' %(datetime.now().year+1)"
 
9
    date_to: !eval "'%s-12-31' %(datetime.now().year+1)"
 
10
    name: !eval "'Budget %s' %(datetime.now().year+1)"
11
11
    state: draft
12
12
-
13
13
  I created two different budget lines
17
17
  !record {model: crossovered.budget, id: crossovered_budget_budget0}:
18
18
    crossovered_budget_line:
19
19
      - analytic_account_id: account.analytic_consultancy
20
 
        date_from: '2011-01-01'
21
 
        date_to: '2011-12-31'
 
20
        date_from: !eval "'%s-01-01' %(datetime.now().year+1)"
 
21
        date_to: !eval "'%s-12-31' %(datetime.now().year+1)"
22
22
        general_budget_id: account_budget.account_budget_post_purchase0
23
23
        planned_amount: 10000.0
24
24
      - analytic_account_id: account.analytic_super_product_trainings
25
 
        date_from: '2011-09-01'
26
 
        date_to: '2011-09-30'
 
25
        date_from: !eval "'%s-09-01' %(datetime.now().year+1)"
 
26
        date_to: !eval "'%s-09-30' %(datetime.now().year+1)"
27
27
        general_budget_id: account_budget.account_budget_post_sales0
28
28
        planned_amount: 400000.0
29
29