Skip to content

Commit

Permalink
JE Tax Invoice Cont.
Browse files Browse the repository at this point in the history
  • Loading branch information
kittiu committed Jul 30, 2023
1 parent 7fb5978 commit a0e9868
Showing 1 changed file with 332 additions and 8 deletions.
340 changes: 332 additions & 8 deletions thai_tax/fixtures/custom_field.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,19 @@
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible": 1,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": "eval:doc.account_type == 'Tax'",
"description": "Leave this value to 0 and system will auto calculate based on tax rate.",
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Journal Entry Account",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "tax_base_amount",
"fieldtype": "Float",
"fieldname": "overwrite_tax_invoice",
"fieldtype": "Section Break",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
Expand All @@ -83,12 +83,174 @@
"insert_after": "credit",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Tax Base Amount",
"label": "Overwrite Tax Invoice",
"length": 0,
"mandatory_depends_on": "",
"modified": "2023-07-30 10:03:38.406442",
"mandatory_depends_on": null,
"modified": "2023-07-30 14:26:00.658430",
"module": null,
"name": "Journal Entry Account-tax_base_amount",
"name": "Journal Entry Account-overwrite_tax_invoice",
"no_copy": 0,
"non_negative": 0,
"options": null,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Journal Entry Account",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "tax_invoice_number",
"fieldtype": "Data",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "overwrite_tax_invoice",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Tax Invoice Number",
"length": 0,
"mandatory_depends_on": null,
"modified": "2023-07-30 14:29:09.239782",
"module": null,
"name": "Journal Entry Account-tax_invoice_number",
"no_copy": 0,
"non_negative": 0,
"options": null,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Journal Entry Account",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "tax_invoice_date",
"fieldtype": "Date",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "tax_invoice_number",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Tax Invoice Date",
"length": 0,
"mandatory_depends_on": null,
"modified": "2023-07-30 14:29:09.316511",
"module": null,
"name": "Journal Entry Account-tax_invoice_date",
"no_copy": 0,
"non_negative": 0,
"options": null,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Journal Entry Account",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "column_break_cun7x",
"fieldtype": "Column Break",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "tax_invoice_date",
"is_system_generated": 0,
"is_virtual": 0,
"label": null,
"length": 0,
"mandatory_depends_on": null,
"modified": "2023-07-30 14:29:09.396593",
"module": null,
"name": "Journal Entry Account-column_break_cun7x",
"no_copy": 0,
"non_negative": 0,
"options": null,
Expand Down Expand Up @@ -161,6 +323,168 @@
"unique": 0,
"width": null
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Journal Entry Account",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "supplier",
"fieldtype": "Link",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "column_break_cun7x",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Supplier",
"length": 0,
"mandatory_depends_on": null,
"modified": "2023-07-30 14:29:09.467889",
"module": null,
"name": "Journal Entry Account-supplier",
"no_copy": 0,
"non_negative": 0,
"options": "Supplier",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Journal Entry Account",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "customer",
"fieldtype": "Link",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "supplier",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Customer",
"length": 0,
"mandatory_depends_on": null,
"modified": "2023-07-30 14:58:34.278422",
"module": null,
"name": "Journal Entry Account-customer",
"no_copy": 0,
"non_negative": 0,
"options": "Customer",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": "",
"description": "Leave this value to 0 and system will auto calculate based on tax rate.",
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Journal Entry Account",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "tax_base_amount",
"fieldtype": "Float",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "customer",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Tax Base Amount",
"length": 0,
"mandatory_depends_on": "",
"modified": "2023-07-30 10:03:38.406442",
"module": null,
"name": "Journal Entry Account-tax_base_amount",
"no_copy": 0,
"non_negative": 0,
"options": null,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
Expand Down

0 comments on commit a0e9868

Please sign in to comment.