custom field and property setter update

This commit is contained in:
余则霖
2026-01-07 12:23:54 +08:00
parent e2a62c0322
commit 68bea88c26
2 changed files with 1 additions and 164 deletions

View File

@@ -41,157 +41,5 @@
"label": "Default Cash Flow Code", "label": "Default Cash Flow Code",
"modified": "2023-12-16 22:15:02.049023", "modified": "2023-12-16 22:15:02.049023",
"name": "Supplier-cash_flow_code" "name": "Supplier-cash_flow_code"
},
{
"doctype": "Custom Field",
"dt": "Company",
"fieldname": "sb_production_cost_account",
"fieldtype": "Section Break",
"insert_after": "expenses_included_in_valuation",
"label": "Production Cost Account",
"modified": "2023-12-30 22:15:02.049023",
"name": "Company-sb_production_cost_account"
},
{
"doctype": "Custom Field",
"dt": "Company",
"fieldname": "production_input_account",
"fieldtype": "Link",
"options":"Account",
"insert_after": "sb_production_cost_account",
"label": "Production Input Account",
"modified": "2023-12-30 22:15:02.049023",
"name": "Company-production_input_account"
},
{
"doctype": "Custom Field",
"dt": "Company",
"fieldname": "production_output_account",
"fieldtype": "Link",
"options":"Account",
"insert_after": "production_input_account",
"label": "Production Output Account",
"modified": "2023-12-30 22:15:02.049023",
"name": "Company-production_output_account"
},
{
"doctype": "Custom Field",
"dt": "Purchase Taxes and Charges",
"fieldname": "actual_tax_amount",
"fieldtype": "Float",
"depends_on":"eval:doc.charge_type !=='Actual'",
"insert_after": "tax_amount",
"label": "Actual Tax Amount",
"modified": "2023-12-30 22:18:02.049026",
"name": "Purchase Taxes and Charges-actual_tax_amount"
},
{
"doctype": "Custom Field",
"dt": "Sales Taxes and Charges",
"fieldname": "actual_tax_amount",
"fieldtype": "Float",
"depends_on":"eval:doc.charge_type !=='Actual'",
"insert_after": "tax_amount",
"label": "Actual Tax Amount",
"modified": "2023-12-30 22:18:02.049025",
"name": "Sales Taxes and Charges-actual_tax_amount"
},
{
"doctype": "Custom Field",
"dt": "Cost Center",
"modified": "2025-01-15 22:18:02.049025",
"name": "Cost Center-depreciation_expense_account",
"fieldname": "depreciation_expense_account",
"fieldtype": "Link",
"label": "Depreciation Expense Account",
"options":"Account",
"link_filters": "[[\"Account\",\"is_group\",\"=\",0],[\"Account\",\"company\",\"=\",\"eval: doc.company\"],[\"Account\",\"account_type\",\"=\",\"Depreciation\"],[\"Account\",\"root_type\",\"in\", [\"Expense\", \"Income\"]]]",
"insert_after": "company"
},
{
"doctype": "Custom Field",
"dt": "Repost Item Valuation",
"modified": "2025-05-12 22:18:02.049025",
"name": "Repost Item Valuation-order_settlement",
"fieldname": "order_settlement",
"fieldtype": "Data",
"label": "Order Settlement",
"depends_on": "eval:doc.order_settlement",
"read_only": 1,
"no_copy": 1,
"insert_after": "allow_zero_rate"
},
{
"doctype": "Custom Field",
"dt": "Purchase Invoice",
"modified": "2025-12-30 22:18:02.049025",
"name": "Purchase Invoice-supplier_reconciliation_statement",
"fieldname": "supplier_reconciliation_statement",
"fieldtype": "Link",
"label": "Supplier Reconciliation Statement",
"options": "Supplier Reconciliation Statement",
"read_only": 1,
"no_copy": 1,
"insert_after": "bill_no"
},
{
"doctype": "Custom Field",
"dt": "Print Format",
"fieldname": "condition_for_default",
"fieldtype": "Code",
"options": "PythonExpression",
"insert_after": "disabled",
"label": "Condition for Default",
"description": "Context variable: doc and frappe.session.user, function get_roles can be used",
"modified": "2025-10-27 22:12:02.049023",
"name": "print-format_condition_for_default"
},
{
"doctype": "Custom Field",
"dt": "Print Format",
"fieldname": "priority",
"fieldtype": "Int",
"insert_after": "condition_for_default",
"default": 100,
"label": "Priority",
"description":"Smaller number higher priority",
"modified": "2025-10-27 22:12:02.049023",
"name": "print-format_priority"
},
{
"doctype": "Custom Field",
"dt": "Payment Entry",
"fieldname": "matched_bank_receipt",
"fieldtype": "Check",
"insert_after": "title",
"label": "Matched Bank Receipt",
"modified": "2025-11-29 22:15:02.049023",
"name": "Payment Entry-matched_bank_receipt",
"read_only": 1,
"no_copy": 1,
"allow_on_submit":1
},
{
"doctype": "Custom Field",
"dt": "Bank",
"fieldname": "bank_receipt_mapping",
"fieldtype": "Table",
"options": "Bank Receipt Field Mapping",
"insert_after": "bank_transaction_mapping",
"label": "Bank Receipt Field Mapping",
"modified": "2025-11-29 22:15:02.049023",
"name": "Bank-bank_receipt_mapping"
},
{
"doctype": "Custom Field",
"dt": "Expense Claim Account",
"fieldname": "cost_center_category",
"fieldtype": "Link",
"options": "Cost Center Category",
"insert_after": "company",
"in_list_view": 1,
"label": "Cost Center Category",
"modified": "2025-12-03 22:15:02.049023",
"name": "Expense Claim Account-cost_center_category"
} }
] ]

View File

@@ -9,17 +9,6 @@
"property": "options", "property": "options",
"value": "\nAsset\nLiability\nIncome\nExpense\nEquity\nCommon Accounts" "value": "\nAsset\nLiability\nIncome\nExpense\nEquity\nCommon Accounts"
}, },
{
"doc_type": "Expense Claim",
"doctype": "Property Setter",
"doctype_or_field": "DocField",
"field_name": "expenses",
"modified": "2024-08-27 19:42:46.943779",
"name": "Expense Claim-expenses-reqd",
"property": "reqd",
"property_type": "Check",
"value": 0
},
{ {
"doc_type": "Vehicle", "doc_type": "Vehicle",
"doctype": "Property Setter", "doctype": "Property Setter",