Demo data for Payment Entry
This commit is contained in:
@@ -45,7 +45,7 @@ def make_opportunity():
|
||||
|
||||
add_random_children(b, "items", rows=4, randomize = {
|
||||
"qty": (1, 5),
|
||||
"item_code": ("Item", {"has_variants": "0"})
|
||||
"item_code": ("Item", {"has_variants": "0", "is_fixed_asset": 0})
|
||||
}, unique="item_code")
|
||||
|
||||
b.insert()
|
||||
@@ -88,7 +88,7 @@ def make_quotation():
|
||||
|
||||
add_random_children(qtn, "items", rows=3, randomize = {
|
||||
"qty": (1, 5),
|
||||
"item_code": ("Item", {"has_variants": "0"})
|
||||
"item_code": ("Item", {"has_variants": "0", "is_fixed_asset": 0})
|
||||
}, unique="item_code")
|
||||
|
||||
qtn.insert()
|
||||
|
||||
Reference in New Issue
Block a user