diff --git a/brewman/brewman/routers/voucher.py b/brewman/brewman/routers/voucher.py index 9ea597f5..6ef4bfde 100644 --- a/brewman/brewman/routers/voucher.py +++ b/brewman/brewman/routers/voucher.py @@ -314,7 +314,7 @@ def blank_voucher(info, db): json_voucher["vendor"] = AccountBase.local_purchase() elif type_ == "Purchase Return": - json_voucher["journals"].append({"account": AccountBase.local_purchase(), "amount": 0, "debit": 1}) + json_voucher["vendor"] = AccountBase.local_purchase() elif type_ == "Issue": if "source" in info: json_voucher["source"] = {"id": info["source"]}