~unifield-team/unifield-wm/us-903

« back to all changes in this revision

Viewing changes to kit/test/kit_data.yml

  • Committer: chloups208
  • Date: 2012-02-16 17:14:10 UTC
  • mto: This revision was merged to the branch mainline in revision 739.
  • Revision ID: chloups208@chloups208-laptop-20120216171410-ura5ahv9k8duupbc
uf-844 first commit - creation of kit module - creation of composition_kit class - modification of specific rules, production lot to set lot type readonly - modification of product attributes to set a sequence value to product configuration menu

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
2
  Creating a res.partner record
 
3
 
4
  !record {model: res.partner, id: kit_partner_A}:
 
5
    name: kitA
 
6
    supplier: true
 
7
    customer: true
 
8
 
9
  Creating a res.partner.address record
 
10
 
11
  !record {model: res.partner.address, id: kit_address_A}:
 
12
    partner_id: kit_partner_A
 
13
    street: A
 
14
-
 
15
  Product A
 
16
 
17
  !record {model: product.product, id: kit_product_A}:
 
18
    name: ProdA
 
19
    batch_management: true
 
20
    perishable: true
 
21
-
 
22
  Product B
 
23
-
 
24
  !record {model: product.product, id: kit_product_B}:
 
25
    name: ProdB
 
26
    batch_management: false
 
27
    perishable: true
 
28
-
 
29
  Product C
 
30
-
 
31
  !record {model: product.product, id: kit_product_C}:
 
32
    name: ProdC
 
33
    batch_management: false
 
34
    perishable: false
 
35
-
 
36
  Production Lot Ai (i stands for internal)
 
37
-
 
38
  !record {model: stock.production.lot, id: kit_lot_Ai}:
 
39
    name: A internal
 
40
    product_id: kit_product_A
 
41
    type: internal
 
42
    life_date: !eval datetime.today().strftime('%Y-%m-%d')
 
43
-
 
44
  Production Lot As (s stands for standard)
 
45
-
 
46
  !record {model: stock.production.lot, id: kit_lot_As}:
 
47
    name: A standard
 
48
    product_id: kit_product_A
 
49
    type: standard
 
50
    life_date: !eval datetime.today().strftime('%Y-%m-%d')
 
51
-
 
52
  Production Lot Bi (i stands for internal)
 
53
-
 
54
  !record {model: stock.production.lot, id: kit_lot_Bi}:
 
55
    name: B internal
 
56
    product_id: kit_product_B
 
57
    type: internal
 
58
    life_date: !eval datetime.today().strftime('%Y-%m-%d')
 
59
-
 
60
  Production Lot Bs (s stands for standard)
 
61
-
 
62
  !record {model: stock.production.lot, id: kit_lot_Bs}:
 
63
    name: B standard
 
64
    product_id: kit_product_B
 
65
    type: standard
 
66
    life_date: !eval datetime.today().strftime('%Y-%m-%d')