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

« back to all changes in this revision

Viewing changes to purchase_override/test/data.yml

  • Committer: Olivier DOSSMANN
  • Date: 2014-03-31 09:31:46 UTC
  • mto: This revision was merged to the branch mainline in revision 2086.
  • Revision ID: od@tempo-consulting.fr-20140331093146-tgvxnly1kc1hbv1s
UF-2171 [ADD] Analytic distribution reset button for recurring models

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    name: Local Market
17
17
    partner_id: localmarket
18
18
-
 
19
  I create a Receivable Account Type
 
20
-
 
21
   !record {model: account.account.type, id: account_account_type_receivable0}:
 
22
      close_method: balance
 
23
      code: receivable
 
24
      name: Receivable
 
25
      sign: 1
 
26
-
 
27
    I create a donation account
 
28
-
 
29
  !record {model: account.account, id: donation_account}:
 
30
    code: '9xxxxx'
 
31
    company_id: base.main_company
 
32
    currency_mode: current
 
33
    name: Olivier please dont forget the tests
 
34
    type: payable
 
35
    user_type: account_account_type_receivable0
 
36
    reconcile: 1
 
37
    activation_date: !eval time.strftime('%Y-01-01')
 
38
 
 
39
-
19
40
    I create supplier S1
20
41
-
21
42
  !record {model: res.partner, id: supplier1}:
22
43
    name: S1
23
44
    supplier: True
24
45
    partner_type: internal
 
46
    donation_payable_account: donation_account
25
47
-
26
48
    I create the address for S1
27
49
-
35
57
    name: S2
36
58
    supplier: True
37
59
    partner_type: external
 
60
    donation_payable_account: donation_account
38
61
-
39
62
    I create the address for S2
40
63
-
105
128
      - sequence: 30
106
129
        min_qty: 0.00
107
130
        name: supplier3
 
131
    international_status: product_attributes.int_1
108
132
-
109
133
    I create a second product, P2
110
134
-
135
159
      - sequence: 20
136
160
        min_qty: 0.00
137
161
        name: supplier1
 
162
    international_status: product_attributes.int_1
138
163
-
139
164
    I create the product P3
140
165
-
162
187
      - sequence: 10
163
188
        min_qty: 0.00
164
189
        name: supplier3
 
190
    international_status: product_attributes.int_1
 
191
-
 
192
  I create an analytic In-kind donation Journal.
 
193
-
 
194
  !record {model: account.analytic.journal, id: account_analytic_inkind_donation0}:
 
195
    code: AIKD
 
196
    name: Analytic In-kind donation Journal
 
197
    type: inkind
 
198
-
 
199
  I create a In-kind donation Journal
 
200
-
 
201
  !record {model: account.journal, id: account_journal_inkind_donation0}:
 
202
    code: IKD
 
203
    company_id: base.main_company
 
204
    name: In-kind donation Journal (test)
 
205
    type: inkind
 
206
    analytic_journal_id: account_analytic_inkind_donation0
 
207
    allow_date: 0