fix: placement of fields (#56257)

This commit is contained in:
rohitwaghchaure
2026-06-21 17:30:20 +05:30
committed by GitHub
parent 9469889bd5
commit 3f53af8b1f
2 changed files with 17 additions and 5 deletions

View File

@@ -11,14 +11,16 @@
"add_deduct_tax", "add_deduct_tax",
"charge_type", "charge_type",
"row_id", "row_id",
"allocate_full_amount_to_stock_items",
"included_in_print_rate",
"included_in_paid_amount",
"col_break1", "col_break1",
"account_head", "account_head",
"description", "description",
"section_break_mvae",
"is_tax_withholding_account", "is_tax_withholding_account",
"set_by_item_tax_template", "set_by_item_tax_template",
"allocate_full_amount_to_stock_items",
"column_break_odzz",
"included_in_print_rate",
"included_in_paid_amount",
"section_break_10", "section_break_10",
"rate", "rate",
"accounting_dimensions_section", "accounting_dimensions_section",
@@ -85,7 +87,8 @@
"description": "If checked, the entire amount (e.g. Freight) is allocated to the valuation of stock & asset items only. If unchecked, the amount is distributed across all items and the portion belonging to non-stock items is not added to valuation.", "description": "If checked, the entire amount (e.g. Freight) is allocated to the valuation of stock & asset items only. If unchecked, the amount is distributed across all items and the portion belonging to non-stock items is not added to valuation.",
"fieldname": "allocate_full_amount_to_stock_items", "fieldname": "allocate_full_amount_to_stock_items",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Allocate Full Amount to Stock Items" "label": "Allocate Full Amount to Stock Items",
"show_description_on_click": 1
}, },
{ {
"default": "0", "default": "0",
@@ -281,13 +284,21 @@
"label": "Don't Recompute Tax", "label": "Don't Recompute Tax",
"print_hide": 1, "print_hide": 1,
"read_only": 1 "read_only": 1
},
{
"fieldname": "section_break_mvae",
"fieldtype": "Section Break"
},
{
"fieldname": "column_break_odzz",
"fieldtype": "Column Break"
} }
], ],
"grid_page_length": 50, "grid_page_length": 50,
"idx": 1, "idx": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2025-11-24 18:22:56.886010", "modified": "2026-06-21 17:08:57.096729",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Purchase Taxes and Charges", "name": "Purchase Taxes and Charges",

View File

@@ -17,6 +17,7 @@ class PurchaseTaxesandCharges(Document):
account_currency: DF.Link | None account_currency: DF.Link | None
account_head: DF.Link account_head: DF.Link
add_deduct_tax: DF.Literal["Add", "Deduct"] add_deduct_tax: DF.Literal["Add", "Deduct"]
allocate_full_amount_to_stock_items: DF.Check
base_net_amount: DF.Currency base_net_amount: DF.Currency
base_tax_amount: DF.Currency base_tax_amount: DF.Currency
base_tax_amount_after_discount_amount: DF.Currency base_tax_amount_after_discount_amount: DF.Currency