Default Price List Currency fld added in Global Defaults

This commit is contained in:
Nabin Hait 2011-12-20 18:50:41 +05:30
parent a57732f71d
commit 7c03cfad6a
2 changed files with 16 additions and 19 deletions

View File

@ -43,6 +43,7 @@ class DocType:
['company',self.doc.default_company],
['currency',self.doc.default_currency],
['price_list_name',self.doc.default_price_list],
['price_list_currency', self.doc.default_price_list_currency],
['item_group',self.doc.default_item_group],
['customer_group',self.doc.default_customer_group],
['cust_master_name',self.doc.cust_master_name],

View File

@ -5,18 +5,19 @@
{
'creation': '2010-08-08 17:09:09',
'docstatus': 0,
'modified': '2011-12-14 15:08:22',
'modified': '2011-12-20 12:27:30',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'_last_update': '1323855454',
'_last_update': '1323943888',
'allow_copy': 1,
'allow_email': 1,
'allow_print': 1,
'colour': 'White:FFF',
'default_print_format': 'Standard',
'doctype': 'DocType',
'hide_toolbar': 0,
'in_create': 1,
@ -27,7 +28,7 @@
'section_style': 'Tabbed',
'server_code_error': ' ',
'show_in_menu': 1,
'version': 516
'version': 515
},
# These values are common for all DocField
@ -312,20 +313,6 @@
'options': 'Role'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Column Break'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'HTML',
'label': 'Acccount Info',
'options': '<div class="help-box">For more accounting defaults, Open <a href="#!List/Company">Company</a></div>'
},
# DocField
{
'doctype': 'DocField',
@ -378,6 +365,13 @@
'options': '<a href="javascript:cur_frm.cscript.TreePage(\'Territory\');">To manage Territory, click here</a>'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Column Break',
'width': '50%'
},
# DocField
{
'doctype': 'DocField',
@ -390,8 +384,10 @@
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Column Break',
'width': '50%'
'fieldname': 'default_price_list_currency',
'fieldtype': 'Link',
'label': 'Default Price List Currency',
'options': 'Currency'
},
# DocField