[accounts] [feature] optional checkbox for same rate validation in sales cycle

This commit is contained in:
Nabin Hait
2013-07-16 18:34:35 +05:30
parent aea0af02aa
commit 6a3b951352
5 changed files with 32 additions and 11 deletions

View File

@@ -48,6 +48,7 @@ keydict = {
'disable_rounded_total': 'disable_rounded_total',
"update_stock": "update_stock",
"auto_inventory_accounting": "auto_inventory_accounting",
'maintain_same_sales_rate' : 'maintain_same_sales_rate',
}
class DocType:

View File

@@ -1,8 +1,8 @@
[
{
"creation": "2013-05-02 17:53:24",
"creation": "2013-07-16 18:18:01",
"docstatus": 0,
"modified": "2013-05-22 15:57:26",
"modified": "2013-07-16 18:23:52",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -27,8 +27,6 @@
"permlevel": 0
},
{
"amend": 0,
"cancel": 0,
"create": 1,
"doctype": "DocPerm",
"name": "__common__",
@@ -439,6 +437,12 @@
"label": "Disable Rounded Total",
"read_only": 0
},
{
"doctype": "DocField",
"fieldname": "maintain_same_sales_rate",
"fieldtype": "Check",
"label": "Maintain same rate throughout sales cycle"
},
{
"doctype": "DocField",
"fieldname": "buying",
@@ -526,6 +530,11 @@
"label": "SMS Sender Name",
"read_only": 0
},
{
"amend": 0,
"cancel": 0,
"doctype": "DocPerm"
},
{
"doctype": "DocPerm"
}