[fix] [minor] fetch suppler default price list in purchase transactions

This commit is contained in:
Akhilesh Darjee 2013-11-19 12:51:14 +05:30
parent 5a1a22e907
commit 910c7160cb

View File

@ -120,6 +120,8 @@ class TransactionBase(StatusUpdater):
out["supplier_name"] = supplier.supplier_name
if supplier.default_currency:
out["currency"] = supplier.default_currency
if supplier.default_price_list:
out["buying_price_list"] = supplier.default_price_list
return out