[fixes] buying/selling price lists, communication and website settings

This commit is contained in:
Anand Doshi
2013-06-12 17:40:36 +05:30
parent 9c901e75cd
commit 060d9248d3
23 changed files with 162 additions and 67 deletions

View File

@@ -14,7 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
cur_frm.add_fetch("price_list_name", "currency", "ref_currency")
cur_frm.add_fetch("price_list_name", "currency", "ref_currency");
cur_frm.add_fetch("price_list_name", "buying_or_selling", "buying_or_selling");
cur_frm.cscript.refresh = function(doc) {
// make sensitive fields(has_serial_no, is_stock_item, valuation_method)

View File

@@ -1,8 +1,8 @@
[
{
"creation": "2013-04-29 15:18:04",
"creation": "2013-05-02 16:29:48",
"docstatus": 0,
"modified": "2013-04-29 19:16:45",
"modified": "2013-06-11 18:27:55",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -60,21 +60,18 @@
"oldfieldname": "ref_currency",
"oldfieldtype": "Select",
"options": "Currency",
"reqd": 1,
"read_only": 1,
"reqd": 0,
"search_index": 1
},
{
"description": "Allow this price in sales related forms",
"default": "Selling",
"doctype": "DocField",
"fieldname": "selling",
"fieldtype": "Check",
"label": "Valid For Selling"
},
{
"description": "Allow this price in purchase related forms",
"doctype": "DocField",
"fieldname": "buying",
"fieldtype": "Check",
"label": "Valid For Buying"
"fieldname": "buying_or_selling",
"fieldtype": "Select",
"label": "Valid for Buying or Selling?",
"options": "Buying\nSelling",
"read_only": 1,
"reqd": 1
}
]