Merge pull request #9487 from rohitwaghchaure/currency_label_issue

[fix] Currency label not displaying in the total advance field
This commit is contained in:
Makarand Bauskar 2017-06-27 16:16:22 +05:30 committed by GitHub
commit 7b6e09b9a7

View File

@ -311,6 +311,9 @@ def make_purchase_invoice(source_name, target_doc=None):
doc = get_mapped_doc("Purchase Order", source_name, {
"Purchase Order": {
"doctype": "Purchase Invoice",
"field_map": {
"party_account_currency": "party_account_currency"
},
"validation": {
"docstatus": ["=", 1],
}