test: make rfq from opportunity

This commit is contained in:
Rucha Mahabal
2020-09-02 13:14:01 +05:30
parent d2881ba4dd
commit a1b5d57076
2 changed files with 21 additions and 1 deletions

View File

@@ -82,7 +82,8 @@ def make_opportunity(**args):
if args.with_items:
opp_doc.append('items', {
"item_code": args.item_code or "_Test Item",
"qty": args.qty or 1
"qty": args.qty or 1,
"uom": "_Test UOM"
})
opp_doc.insert()