chore: fix conflicts

Refactor purchase order JSON structure by cleaning up field order and removing unnecessary fields.
This commit is contained in:
rohitwaghchaure
2026-02-23 11:30:53 +05:30
committed by GitHub
parent 575fd4988b
commit 4b0d2558d7

View File

@@ -9,26 +9,20 @@
"engine": "InnoDB", "engine": "InnoDB",
"field_order": [ "field_order": [
"supplier_section", "supplier_section",
"company",
"title", "title",
"naming_series", "naming_series",
"supplier",
"supplier_name",
"order_confirmation_no", "order_confirmation_no",
"order_confirmation_date", "order_confirmation_date",
"get_items_from_open_material_requests",
"mps",
"column_break_7", "column_break_7",
"transaction_date", "transaction_date",
"schedule_date", "schedule_date",
"column_break1", "column_break1",
<<<<<<< HEAD "company",
"supplier",
=======
>>>>>>> bf20ecca60 (refactor: form cleanup for stock and manufacturing doctypes)
"is_subcontracted", "is_subcontracted",
"supplier_name",
"has_unit_price_items", "has_unit_price_items",
"supplier_warehouse", "supplier_warehouse",
"amended_from",
"accounting_dimensions_section", "accounting_dimensions_section",
"cost_center", "cost_center",
"dimension_col_break", "dimension_col_break",
@@ -82,16 +76,19 @@
"taxes_and_charges_deducted", "taxes_and_charges_deducted",
"total_taxes_and_charges", "total_taxes_and_charges",
"totals_section", "totals_section",
"grand_total",
"disable_rounded_total",
"rounding_adjustment",
"column_break4",
"in_words",
"rounded_total",
"base_totals_section",
"base_grand_total", "base_grand_total",
"base_rounding_adjustment", "base_rounding_adjustment",
"column_break_jkoz",
"base_in_words", "base_in_words",
"base_rounded_total", "base_rounded_total",
"column_break4", "section_break_tnkm",
"grand_total",
"rounding_adjustment",
"rounded_total",
"disable_rounded_total",
"in_words",
"advance_paid", "advance_paid",
"discount_section", "discount_section",
"apply_discount_on", "apply_discount_on",
@@ -157,11 +154,13 @@
"auto_repeat", "auto_repeat",
"update_auto_repeat_reference", "update_auto_repeat_reference",
"additional_info_section", "additional_info_section",
"is_internal_supplier", "party_account_currency",
"represents_company", "represents_company",
"ref_sq", "ref_sq",
"amended_from",
"column_break_74", "column_break_74",
"party_account_currency", "mps",
"is_internal_supplier",
"inter_company_order_reference", "inter_company_order_reference",
"is_old_subcontracting_flow", "is_old_subcontracting_flow",
"connections_tab" "connections_tab"
@@ -209,13 +208,6 @@
"reqd": 1, "reqd": 1,
"search_index": 1 "search_index": 1
}, },
{
"depends_on": "eval:doc.supplier && doc.docstatus===0 && (!(doc.items && doc.items.length) || (doc.items.length==1 && !doc.items[0].item_code))",
"description": "Fetch items based on Default Supplier.",
"fieldname": "get_items_from_open_material_requests",
"fieldtype": "Button",
"label": "Get Items from Open Material Requests"
},
{ {
"bold": 1, "bold": 1,
"fetch_from": "supplier.supplier_name", "fetch_from": "supplier.supplier_name",
@@ -776,7 +768,7 @@
{ {
"fieldname": "base_grand_total", "fieldname": "base_grand_total",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Grand Total (Company Currency)", "label": "Grand Total",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "grand_total", "oldfieldname": "grand_total",
"oldfieldtype": "Currency", "oldfieldtype": "Currency",
@@ -788,7 +780,7 @@
"depends_on": "eval:!doc.disable_rounded_total", "depends_on": "eval:!doc.disable_rounded_total",
"fieldname": "base_rounding_adjustment", "fieldname": "base_rounding_adjustment",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rounding Adjustment (Company Currency)", "label": "Rounding Adjustment",
"no_copy": 1, "no_copy": 1,
"options": "Company:company:default_currency", "options": "Company:company:default_currency",
"print_hide": 1, "print_hide": 1,
@@ -797,7 +789,7 @@
{ {
"fieldname": "base_in_words", "fieldname": "base_in_words",
"fieldtype": "Data", "fieldtype": "Data",
"label": "In Words (Company Currency)", "label": "In Words",
"length": 240, "length": 240,
"oldfieldname": "in_words", "oldfieldname": "in_words",
"oldfieldtype": "Data", "oldfieldtype": "Data",
@@ -807,7 +799,7 @@
{ {
"fieldname": "base_rounded_total", "fieldname": "base_rounded_total",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rounded Total (Company Currency)", "label": "Rounded Total",
"oldfieldname": "rounded_total", "oldfieldname": "rounded_total",
"oldfieldtype": "Currency", "oldfieldtype": "Currency",
"options": "Company:company:default_currency", "options": "Company:company:default_currency",
@@ -865,7 +857,7 @@
{ {
"fieldname": "advance_paid", "fieldname": "advance_paid",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Advance Paid", "label": "Advance Paid (Company Currency)",
"no_copy": 1, "no_copy": 1,
"options": "party_account_currency", "options": "party_account_currency",
"print_hide": 1, "print_hide": 1,
@@ -1304,8 +1296,21 @@
"hidden": 1, "hidden": 1,
"label": "Item Wise Tax Details", "label": "Item Wise Tax Details",
"no_copy": 1, "no_copy": 1,
"options": "Item Wise Tax Detail", "options": "Item Wise Tax Detail"
"print_hide": 1 },
{
"fieldname": "column_break_jkoz",
"fieldtype": "Column Break"
},
{
"fieldname": "base_totals_section",
"fieldtype": "Section Break",
"label": "Totals (Company Currency)",
"options": "Company:company:default_currency"
},
{
"fieldname": "section_break_tnkm",
"fieldtype": "Section Break"
} }
], ],
"grid_page_length": 50, "grid_page_length": 50,
@@ -1313,11 +1318,7 @@
"idx": 105, "idx": 105,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
<<<<<<< HEAD "modified": "2026-02-04 13:01:36.628472",
"modified": "2026-02-03 14:44:55.192192",
=======
"modified": "2026-02-06 17:07:24.249692",
>>>>>>> bf20ecca60 (refactor: form cleanup for stock and manufacturing doctypes)
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Purchase Order", "name": "Purchase Order",