Demo data for Payment Entry

This commit is contained in:
Nabin Hait
2016-07-21 10:28:54 +05:30
parent 89d0b1b9a5
commit 26cad30372
2 changed files with 34 additions and 29 deletions

View File

@@ -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()