diff --git a/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.js b/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.js index 207b12b910c..61010742828 100644 --- a/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.js +++ b/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.js @@ -36,6 +36,35 @@ erpnext.stock.LandedCostVoucher = erpnext.stock.StockController.extend({ }, + refresh: function() { + var help_content = ['', + '', + '
', + '

', + __('Notes'), + ':

', + '
    ', + '
  • ', + __("Charges will be distributed proportionately based on item amount"), + '
  • ', + '
  • ', + __("Remove item if charges is not applicable to that item"), + '
  • ', + '
  • ', + __("Charges are updated in Purchase Receipt against each item"), + '
  • ', + '
  • ', + __("Item valuation rate is recalculated considering landed cost voucher amount"), + '
  • ', + '
  • ', + __("Stock Ledger Entries and GL Entries are reposted for the selected Purchase Receipts"), + '
  • ', + '
', + '
'].join("\n"); + + set_field_options("landed_cost_help", help_content); + }, + get_items_from_purchase_receipts: function() { var me = this; if(!this.frm.doc.landed_cost_purchase_receipts.length) {