mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
Default Price List Currency fld added in Global Defaults
This commit is contained in:
@@ -43,6 +43,7 @@ class DocType:
|
|||||||
['company',self.doc.default_company],
|
['company',self.doc.default_company],
|
||||||
['currency',self.doc.default_currency],
|
['currency',self.doc.default_currency],
|
||||||
['price_list_name',self.doc.default_price_list],
|
['price_list_name',self.doc.default_price_list],
|
||||||
|
['price_list_currency', self.doc.default_price_list_currency],
|
||||||
['item_group',self.doc.default_item_group],
|
['item_group',self.doc.default_item_group],
|
||||||
['customer_group',self.doc.default_customer_group],
|
['customer_group',self.doc.default_customer_group],
|
||||||
['cust_master_name',self.doc.cust_master_name],
|
['cust_master_name',self.doc.cust_master_name],
|
||||||
|
|||||||
@@ -5,18 +5,19 @@
|
|||||||
{
|
{
|
||||||
'creation': '2010-08-08 17:09:09',
|
'creation': '2010-08-08 17:09:09',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-12-14 15:08:22',
|
'modified': '2011-12-20 12:27:30',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
'_last_update': '1323855454',
|
'_last_update': '1323943888',
|
||||||
'allow_copy': 1,
|
'allow_copy': 1,
|
||||||
'allow_email': 1,
|
'allow_email': 1,
|
||||||
'allow_print': 1,
|
'allow_print': 1,
|
||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
|
'default_print_format': 'Standard',
|
||||||
'doctype': 'DocType',
|
'doctype': 'DocType',
|
||||||
'hide_toolbar': 0,
|
'hide_toolbar': 0,
|
||||||
'in_create': 1,
|
'in_create': 1,
|
||||||
@@ -27,7 +28,7 @@
|
|||||||
'section_style': 'Tabbed',
|
'section_style': 'Tabbed',
|
||||||
'server_code_error': ' ',
|
'server_code_error': ' ',
|
||||||
'show_in_menu': 1,
|
'show_in_menu': 1,
|
||||||
'version': 516
|
'version': 515
|
||||||
},
|
},
|
||||||
|
|
||||||
# These values are common for all DocField
|
# These values are common for all DocField
|
||||||
@@ -312,20 +313,6 @@
|
|||||||
'options': 'Role'
|
'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
|
# DocField
|
||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
@@ -378,6 +365,13 @@
|
|||||||
'options': '<a href="javascript:cur_frm.cscript.TreePage(\'Territory\');">To manage Territory, click here</a>'
|
'options': '<a href="javascript:cur_frm.cscript.TreePage(\'Territory\');">To manage Territory, click here</a>'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
# DocField
|
||||||
|
{
|
||||||
|
'doctype': 'DocField',
|
||||||
|
'fieldtype': 'Column Break',
|
||||||
|
'width': '50%'
|
||||||
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
@@ -390,8 +384,10 @@
|
|||||||
# DocField
|
# DocField
|
||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'Column Break',
|
'fieldname': 'default_price_list_currency',
|
||||||
'width': '50%'
|
'fieldtype': 'Link',
|
||||||
|
'label': 'Default Price List Currency',
|
||||||
|
'options': 'Currency'
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
Reference in New Issue
Block a user