mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 22:48:27 +00:00
added format_currency and added options to all currency fields
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
wn.provide("erpnext.projects");
|
||||
|
||||
cur_frm.add_fetch("project", "company", "company");
|
||||
|
||||
erpnext.projects.Task = erpnext.utils.Controller.extend({
|
||||
setup: function() {
|
||||
this.frm.fields_dict.project.get_query = function() {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"creation": "2013-01-10 16:34:17",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-01-22 14:57:26",
|
||||
"modified": "2013-01-23 17:11:21",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
@@ -170,7 +170,8 @@
|
||||
"fieldtype": "Currency",
|
||||
"label": "Allocated Budget",
|
||||
"oldfieldname": "allocated_budget",
|
||||
"oldfieldtype": "Currency"
|
||||
"oldfieldtype": "Currency",
|
||||
"options": "eval:erpnext.get_currency()"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
@@ -203,7 +204,8 @@
|
||||
"fieldtype": "Currency",
|
||||
"label": "Actual Budget",
|
||||
"oldfieldname": "actual_budget",
|
||||
"oldfieldtype": "Currency"
|
||||
"oldfieldtype": "Currency",
|
||||
"options": "eval:erpnext.get_currency()"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
@@ -231,6 +233,18 @@
|
||||
"oldfieldname": "closing_date",
|
||||
"oldfieldtype": "Date"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "column_break_22",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"label": "Company",
|
||||
"options": "Company"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "file_list",
|
||||
|
||||
Reference in New Issue
Block a user