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

« back to all changes in this revision

Viewing changes to purchase_override/test/data.yml

  • Committer: Quentin THEURET
  • Date: 2011-12-12 08:02:59 UTC
  • mto: This revision was merged to the branch mainline in revision 724.
  • Revision ID: qt@tempo-consulting.fr-20111212080259-oul1f0g37hcpubyc
UF-641 [ADD] Added the empty purchase_followup module

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
 
-
40
19
    I create supplier S1
41
20
-
42
21
  !record {model: res.partner, id: supplier1}:
43
22
    name: S1
44
23
    supplier: True
45
24
    partner_type: internal
46
 
    donation_payable_account: donation_account
47
25
-
48
26
    I create the address for S1
49
27
-
57
35
    name: S2
58
36
    supplier: True
59
37
    partner_type: external
60
 
    donation_payable_account: donation_account
61
38
-
62
39
    I create the address for S2
63
40
-
128
105
      - sequence: 30
129
106
        min_qty: 0.00
130
107
        name: supplier3
131
 
    international_status: product_attributes.int_1
132
108
-
133
109
    I create a second product, P2
134
110
-
159
135
      - sequence: 20
160
136
        min_qty: 0.00
161
137
        name: supplier1
162
 
    international_status: product_attributes.int_1
163
138
-
164
139
    I create the product P3
165
140
-
187
162
      - sequence: 10
188
163
        min_qty: 0.00
189
164
        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