-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
177 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
__version__ = '1.0.4' | ||
__version__ = '1.0.5' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"allow_copy": 0, | ||
"allow_guest_to_view": 0, | ||
"allow_import": 0, | ||
"allow_rename": 0, | ||
"beta": 0, | ||
|
@@ -12,6 +13,7 @@ | |
"engine": "InnoDB", | ||
"fields": [ | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
|
@@ -22,6 +24,7 @@ | |
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Title", | ||
|
@@ -40,6 +43,7 @@ | |
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
|
@@ -50,6 +54,7 @@ | |
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Description", | ||
|
@@ -68,6 +73,7 @@ | |
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
|
@@ -78,6 +84,7 @@ | |
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Amount", | ||
|
@@ -96,6 +103,7 @@ | |
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
|
@@ -106,6 +114,7 @@ | |
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Currency", | ||
|
@@ -125,6 +134,7 @@ | |
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
|
@@ -135,6 +145,7 @@ | |
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Reference Type", | ||
|
@@ -154,6 +165,7 @@ | |
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
|
@@ -164,6 +176,7 @@ | |
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Reference", | ||
|
@@ -183,6 +196,7 @@ | |
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
|
@@ -193,6 +207,7 @@ | |
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Payer Email", | ||
|
@@ -211,6 +226,7 @@ | |
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
|
@@ -221,6 +237,7 @@ | |
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Payer Name", | ||
|
@@ -239,6 +256,7 @@ | |
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
|
@@ -249,6 +267,7 @@ | |
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Order ID", | ||
|
@@ -265,20 +284,50 @@ | |
"search_index": 0, | ||
"set_only_once": 0, | ||
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "gateway_service", | ||
"fieldtype": "Data", | ||
"hidden": 0, | ||
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Gateway Service", | ||
"length": 0, | ||
"no_copy": 0, | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 0, | ||
"print_hide_if_no_value": 0, | ||
"read_only": 0, | ||
"remember_last_selected_value": 0, | ||
"report_hide": 0, | ||
"reqd": 0, | ||
"search_index": 0, | ||
"set_only_once": 0, | ||
"unique": 0 | ||
} | ||
], | ||
"has_web_view": 0, | ||
"hide_heading": 0, | ||
"hide_toolbar": 0, | ||
"idx": 0, | ||
"image_view": 0, | ||
"in_create": 0, | ||
"in_dialog": 0, | ||
"is_submittable": 0, | ||
"issingle": 0, | ||
"istable": 0, | ||
"max_attachments": 0, | ||
"modified": "2017-03-09 13:23:48.998563", | ||
"modified_by": "Administrator", | ||
"modified": "2019-08-01 00:01:24.314337", | ||
"modified_by": "[email protected]", | ||
"module": "Gateway Selector", | ||
"name": "Gateway Selector Proxy", | ||
"name_case": "", | ||
|
@@ -294,7 +343,6 @@ | |
"export": 1, | ||
"if_owner": 0, | ||
"import": 0, | ||
"is_custom": 0, | ||
"permlevel": 0, | ||
"print": 1, | ||
"read": 1, | ||
|
@@ -309,8 +357,10 @@ | |
"quick_entry": 0, | ||
"read_only": 0, | ||
"read_only_onload": 0, | ||
"show_name_in_global_search": 0, | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"title_field": "title", | ||
"track_changes": 1, | ||
"track_seen": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...y_selector/gateway_selector/doctype/gateway_selector_proxy/test_gateway_selector_proxy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* eslint-disable */ | ||
// rename this file from _test_[name] to test_[name] to activate | ||
// and remove above this line | ||
|
||
QUnit.test("test: Gateway Selector Proxy", function (assert) { | ||
let done = assert.async(); | ||
|
||
// number of asserts | ||
assert.expect(1); | ||
|
||
frappe.run_serially([ | ||
// insert a new Gateway Selector Proxy | ||
() => frappe.tests.make('Gateway Selector Proxy', [ | ||
// values to be set | ||
{key: 'value'} | ||
]), | ||
() => { | ||
assert.equal(cur_frm.doc.key, 'value'); | ||
}, | ||
() => done() | ||
]); | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.