-
Notifications
You must be signed in to change notification settings - Fork 4
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
3 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
74 changes: 74 additions & 0 deletions
74
...x/thai_tax/doctype/journal_entry_tax_invoice_detail/journal_entry_tax_invoice_detail.json
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,74 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"creation": "2023-07-30 10:00:38.519032", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"company_tax_address", | ||
"supplier", | ||
"tax_invoice_number", | ||
"tax_invoice_date", | ||
"tax_base_amount", | ||
"tax_amount" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "company_tax_address", | ||
"fieldtype": "Link", | ||
"label": "Company Tax Address", | ||
"options": "Address" | ||
}, | ||
{ | ||
"fieldname": "supplier", | ||
"fieldtype": "Link", | ||
"in_list_view": 1, | ||
"label": "Supplier", | ||
"options": "Supplier" | ||
}, | ||
{ | ||
"allow_on_submit": 1, | ||
"fieldname": "tax_invoice_number", | ||
"fieldtype": "Data", | ||
"in_list_view": 1, | ||
"in_standard_filter": 1, | ||
"label": "Tax Invoice Number" | ||
}, | ||
{ | ||
"allow_on_submit": 1, | ||
"fieldname": "tax_invoice_date", | ||
"fieldtype": "Date", | ||
"in_list_view": 1, | ||
"label": "Tax Invoice Date" | ||
}, | ||
{ | ||
"fieldname": "tax_base_amount", | ||
"fieldtype": "Float", | ||
"in_list_view": 1, | ||
"label": "Tax Base Amount", | ||
"precision": "2", | ||
"read_only": 1 | ||
}, | ||
{ | ||
"fieldname": "tax_amount", | ||
"fieldtype": "Float", | ||
"in_list_view": 1, | ||
"label": "Tax Amount", | ||
"precision": "2", | ||
"read_only": 1 | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"istable": 1, | ||
"links": [], | ||
"modified": "2023-07-30 13:53:14.465463", | ||
"modified_by": "Administrator", | ||
"module": "Thai Tax", | ||
"name": "Journal Entry Tax Invoice Detail", | ||
"owner": "Administrator", | ||
"permissions": [], | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
9 changes: 9 additions & 0 deletions
9
...tax/thai_tax/doctype/journal_entry_tax_invoice_detail/journal_entry_tax_invoice_detail.py
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,9 @@ | ||
# Copyright (c) 2023, Kitti U. and contributors | ||
# For license information, please see license.txt | ||
|
||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
|
||
class JournalEntryTaxInvoiceDetail(Document): | ||
pass |