[hotfix] Supplier read permission for Purchase User
[Fix] Issue #448
[Fix] Issue #448 2
diff --git a/erpnext/public/js/transaction.js b/erpnext/public/js/transaction.js
index 801ea57..4c0b341 100644
--- a/erpnext/public/js/transaction.js
+++ b/erpnext/public/js/transaction.js
@@ -151,7 +151,8 @@
transaction_date: me.frm.doc.transaction_date,
ignore_pricing_rule: me.frm.doc.ignore_pricing_rule,
doctype: item.doctype,
- name: item.name
+ name: item.name,
+ project_name: item.project_name || me.frm.doc.project_name
}
},
callback: function(r) {