Maintain same rate throughout pur cycle: in global defaults, by default set true

This commit is contained in:
Nabin Hait
2012-05-22 14:53:40 +05:30
parent cba9c716f2
commit b695f73293
5 changed files with 31 additions and 15 deletions

View File

@@ -35,7 +35,8 @@ keydict = {
'date_format': 'date_format',
'currency_format':'default_currency_format',
'account_url':'account_url',
'allow_negative_stock' : 'allow_negative_stock'
'allow_negative_stock' : 'allow_negative_stock',
'maintain_same_rate' : 'maintain_same_rate'
}
class DocType:

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
'creation': '2012-04-18 17:00:50',
'creation': '2012-04-20 14:02:53',
'docstatus': 0,
'modified': '2012-04-19 17:24:45',
'modified': '2012-05-22 14:11:21',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -224,8 +224,8 @@
'fieldtype': u'Select',
'label': u'Default Valuation Method',
'options': u'FIFO\nMoving Average'
},
},
# DocField
{
'colour': u'White:FFF',
@@ -508,6 +508,14 @@
'options': u'No\nYes'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'maintain_same_rate',
'fieldtype': u'Check',
'label': u'Maintain same rate throughout purchase cycle'
},
# DocField
{
'doctype': u'DocField',
@@ -543,4 +551,4 @@
'fieldtype': u'Data',
'label': u'SMS Sender Name'
}
]
]