Merge pull request #32408 from nabinhait/sales-purchase-tab-break

feat: Tab Breaks in all Sales and Purchase cycle transactions
This commit is contained in:
Deepesh Garg 2022-10-11 16:02:45 +05:30 committed by GitHub
commit 38b34f2a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 1304 additions and 758 deletions

View File

@ -12,39 +12,23 @@
"supplier", "supplier",
"supplier_name", "supplier_name",
"tax_id", "tax_id",
"due_date",
"tax_withholding_category",
"column_break1",
"company", "company",
"column_break_6",
"posting_date", "posting_date",
"posting_time", "posting_time",
"set_posting_time", "set_posting_time",
"due_date",
"column_break1",
"is_paid", "is_paid",
"is_return", "is_return",
"return_against",
"apply_tds", "apply_tds",
"tax_withholding_category",
"amended_from", "amended_from",
"accounting_dimensions_section", "accounting_dimensions_section",
"cost_center", "cost_center",
"dimension_col_break", "dimension_col_break",
"project", "project",
"supplier_invoice_details",
"bill_no",
"column_break_15",
"bill_date",
"returns",
"return_against",
"section_addresses",
"supplier_address",
"address_display",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"col_break_address",
"shipping_address",
"shipping_address_display",
"billing_address",
"billing_address_display",
"currency_and_price_list", "currency_and_price_list",
"currency", "currency",
"conversion_rate", "conversion_rate",
@ -54,39 +38,33 @@
"plc_conversion_rate", "plc_conversion_rate",
"ignore_pricing_rule", "ignore_pricing_rule",
"sec_warehouse", "sec_warehouse",
"set_warehouse",
"rejected_warehouse",
"col_break_warehouse",
"set_from_warehouse",
"supplier_warehouse",
"is_subcontracted",
"items_section",
"update_stock",
"scan_barcode", "scan_barcode",
"col_break_warehouse",
"update_stock",
"set_warehouse",
"set_from_warehouse",
"is_subcontracted",
"rejected_warehouse",
"supplier_warehouse",
"items_section",
"items", "items",
"pricing_rule_details",
"pricing_rules",
"raw_materials_supplied",
"supplied_items",
"section_break_26", "section_break_26",
"total_qty", "total_qty",
"total_net_weight",
"column_break_50",
"base_total", "base_total",
"base_net_total", "base_net_total",
"column_break_28", "column_break_28",
"total_net_weight",
"total", "total",
"net_total", "net_total",
"taxes_section", "taxes_section",
"taxes_and_charges",
"column_break_58",
"tax_category", "tax_category",
"column_break_49", "column_break_49",
"shipping_rule", "shipping_rule",
"section_break_51", "section_break_51",
"taxes_and_charges",
"taxes", "taxes",
"tax_withheld_vouchers_section",
"tax_withheld_vouchers",
"sec_tax_breakup",
"other_charges_calculation",
"totals", "totals",
"base_taxes_and_charges_added", "base_taxes_and_charges_added",
"base_taxes_and_charges_deducted", "base_taxes_and_charges_deducted",
@ -95,12 +73,6 @@
"taxes_and_charges_added", "taxes_and_charges_added",
"taxes_and_charges_deducted", "taxes_and_charges_deducted",
"total_taxes_and_charges", "total_taxes_and_charges",
"section_break_44",
"apply_discount_on",
"base_discount_amount",
"column_break_46",
"additional_discount_percentage",
"discount_amount",
"section_break_49", "section_break_49",
"base_grand_total", "base_grand_total",
"base_rounding_adjustment", "base_rounding_adjustment",
@ -114,24 +86,58 @@
"total_advance", "total_advance",
"outstanding_amount", "outstanding_amount",
"disable_rounded_total", "disable_rounded_total",
"section_break_44",
"apply_discount_on",
"base_discount_amount",
"additional_discount_account",
"column_break_46",
"additional_discount_percentage",
"discount_amount",
"tax_withheld_vouchers_section",
"tax_withheld_vouchers",
"sec_tax_breakup",
"other_charges_calculation",
"pricing_rule_details",
"pricing_rules",
"raw_materials_supplied",
"supplied_items",
"payments_tab",
"payments_section", "payments_section",
"mode_of_payment", "mode_of_payment",
"cash_bank_account", "base_paid_amount",
"clearance_date", "clearance_date",
"col_br_payments", "col_br_payments",
"cash_bank_account",
"paid_amount", "paid_amount",
"base_paid_amount", "advances_section",
"allocate_advances_automatically",
"get_advances",
"advances",
"advance_tax",
"write_off", "write_off",
"write_off_amount", "write_off_amount",
"base_write_off_amount", "base_write_off_amount",
"column_break_61", "column_break_61",
"write_off_account", "write_off_account",
"write_off_cost_center", "write_off_cost_center",
"advances_section", "address_and_contact_tab",
"allocate_advances_automatically", "section_addresses",
"get_advances", "supplier_address",
"advances", "address_display",
"advance_tax", "col_break_address",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"company_shipping_address_section",
"shipping_address",
"column_break_126",
"shipping_address_display",
"company_billing_address_section",
"billing_address",
"column_break_130",
"billing_address_display",
"terms_tab",
"payment_schedule_section", "payment_schedule_section",
"payment_terms_template", "payment_terms_template",
"ignore_default_payment_terms_template", "ignore_default_payment_terms_template",
@ -139,23 +145,15 @@
"terms_section_break", "terms_section_break",
"tc_name", "tc_name",
"terms", "terms",
"printing_settings", "more_info_tab",
"letter_head", "status_section",
"select_print_heading",
"column_break_112",
"group_same_items",
"language",
"sb_14",
"on_hold",
"release_date",
"cb_17",
"hold_comment",
"more_info",
"status", "status",
"inter_company_invoice_reference", "column_break_177",
"represents_company", "per_received",
"column_break_147", "supplier_invoice_details",
"is_internal_supplier", "bill_no",
"column_break_15",
"bill_date",
"accounting_details_section", "accounting_details_section",
"credit_to", "credit_to",
"party_account_currency", "party_account_currency",
@ -163,15 +161,32 @@
"against_expense_account", "against_expense_account",
"column_break_63", "column_break_63",
"unrealized_profit_loss_account", "unrealized_profit_loss_account",
"remarks",
"subscription_section", "subscription_section",
"from_date",
"to_date",
"column_break_114",
"auto_repeat", "auto_repeat",
"update_auto_repeat_reference", "update_auto_repeat_reference",
"per_received", "column_break_114",
"is_old_subcontracting_flow" "from_date",
"to_date",
"printing_settings",
"letter_head",
"group_same_items",
"column_break_112",
"select_print_heading",
"language",
"sb_14",
"on_hold",
"release_date",
"cb_17",
"hold_comment",
"additional_info_section",
"is_internal_supplier",
"represents_company",
"column_break_147",
"inter_company_invoice_reference",
"is_old_subcontracting_flow",
"remarks",
"connections_tab",
"column_break_38"
], ],
"fields": [ "fields": [
{ {
@ -354,7 +369,7 @@
"collapsible_depends_on": "bill_no", "collapsible_depends_on": "bill_no",
"fieldname": "supplier_invoice_details", "fieldname": "supplier_invoice_details",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Supplier Invoice Details" "label": "Supplier Invoice"
}, },
{ {
"fieldname": "bill_no", "fieldname": "bill_no",
@ -377,12 +392,6 @@
"oldfieldtype": "Date", "oldfieldtype": "Date",
"print_hide": 1 "print_hide": 1
}, },
{
"depends_on": "return_against",
"fieldname": "returns",
"fieldtype": "Section Break",
"label": "Returns"
},
{ {
"depends_on": "return_against", "depends_on": "return_against",
"fieldname": "return_against", "fieldname": "return_against",
@ -394,10 +403,9 @@
"read_only": 1 "read_only": 1
}, },
{ {
"collapsible": 1,
"fieldname": "section_addresses", "fieldname": "section_addresses",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Address and Contact" "label": "Supplier Address"
}, },
{ {
"fieldname": "supplier_address", "fieldname": "supplier_address",
@ -518,11 +526,12 @@
}, },
{ {
"fieldname": "sec_warehouse", "fieldname": "sec_warehouse",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"hide_border": 1,
"label": "Items"
}, },
{ {
"depends_on": "update_stock", "depends_on": "update_stock",
"description": "Sets 'Accepted Warehouse' in each row of the items table.",
"fieldname": "set_warehouse", "fieldname": "set_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Set Accepted Warehouse", "label": "Set Accepted Warehouse",
@ -531,7 +540,6 @@
}, },
{ {
"depends_on": "update_stock", "depends_on": "update_stock",
"description": "Warehouse where you are maintaining stock of rejected items",
"fieldname": "rejected_warehouse", "fieldname": "rejected_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Rejected Warehouse", "label": "Rejected Warehouse",
@ -554,6 +562,7 @@
{ {
"fieldname": "items_section", "fieldname": "items_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-shopping-cart" "options": "fa fa-shopping-cart"
}, },
@ -581,6 +590,7 @@
"reqd": 1 "reqd": 1
}, },
{ {
"collapsible": 1,
"fieldname": "pricing_rule_details", "fieldname": "pricing_rule_details",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Pricing Rules" "label": "Pricing Rules"
@ -593,6 +603,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"collapsible": 1,
"collapsible_depends_on": "supplied_items", "collapsible_depends_on": "supplied_items",
"fieldname": "raw_materials_supplied", "fieldname": "raw_materials_supplied",
"fieldtype": "Section Break", "fieldtype": "Section Break",
@ -656,6 +667,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "total_net_weight",
"fieldname": "total_net_weight", "fieldname": "total_net_weight",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Total Net Weight", "label": "Total Net Weight",
@ -665,6 +677,8 @@
{ {
"fieldname": "taxes_section", "fieldname": "taxes_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"label": "Taxes and Charges",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money" "options": "fa fa-money"
}, },
@ -688,7 +702,8 @@
}, },
{ {
"fieldname": "section_break_51", "fieldname": "section_break_51",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"hide_border": 1
}, },
{ {
"fieldname": "taxes_and_charges", "fieldname": "taxes_and_charges",
@ -792,7 +807,6 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "discount_amount",
"fieldname": "section_break_44", "fieldname": "section_break_44",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Additional Discount" "label": "Additional Discount"
@ -832,7 +846,8 @@
}, },
{ {
"fieldname": "section_break_49", "fieldname": "section_break_49",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"label": "Totals"
}, },
{ {
"fieldname": "base_grand_total", "fieldname": "base_grand_total",
@ -1003,8 +1018,6 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "write_off_amount",
"depends_on": "grand_total",
"fieldname": "write_off", "fieldname": "write_off",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Write Off" "label": "Write Off"
@ -1081,7 +1094,6 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"collapsible": 1,
"collapsible_depends_on": "eval:(!doc.is_return)", "collapsible_depends_on": "eval:(!doc.is_return)",
"fieldname": "payment_schedule_section", "fieldname": "payment_schedule_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
@ -1102,8 +1114,6 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"collapsible": 1,
"collapsible_depends_on": "terms",
"fieldname": "terms_section_break", "fieldname": "terms_section_break",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Terms and Conditions", "label": "Terms and Conditions",
@ -1119,13 +1129,13 @@
{ {
"fieldname": "terms", "fieldname": "terms",
"fieldtype": "Text Editor", "fieldtype": "Text Editor",
"label": "Terms and Conditions1" "label": "Terms and Conditions"
}, },
{ {
"collapsible": 1, "collapsible": 1,
"fieldname": "printing_settings", "fieldname": "printing_settings",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Printing Settings" "label": "Print Settings"
}, },
{ {
"allow_on_submit": 1, "allow_on_submit": 1,
@ -1166,15 +1176,6 @@
"print_hide": 1, "print_hide": 1,
"read_only": 1 "read_only": 1
}, },
{
"collapsible": 1,
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Information",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text",
"print_hide": 1
},
{ {
"default": "0", "default": "0",
"fetch_from": "supplier.is_internal_supplier", "fetch_from": "supplier.is_internal_supplier",
@ -1260,7 +1261,7 @@
"collapsible": 1, "collapsible": 1,
"fieldname": "subscription_section", "fieldname": "subscription_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Subscription Section", "label": "Subscription",
"print_hide": 1 "print_hide": 1
}, },
{ {
@ -1339,7 +1340,7 @@
}, },
{ {
"depends_on": "eval:doc.is_internal_supplier", "depends_on": "eval:doc.is_internal_supplier",
"description": "Unrealized Profit / Loss account for intra-company transfers", "description": "Unrealized Profit/Loss account for intra-company transfers",
"fieldname": "unrealized_profit_loss_account", "fieldname": "unrealized_profit_loss_account",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Unrealized Profit / Loss Account", "label": "Unrealized Profit / Loss Account",
@ -1356,7 +1357,6 @@
}, },
{ {
"depends_on": "eval:doc.update_stock && doc.is_internal_supplier", "depends_on": "eval:doc.update_stock && doc.is_internal_supplier",
"description": "Sets 'From Warehouse' in each row of the items table.",
"fieldname": "set_from_warehouse", "fieldname": "set_from_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Set From Warehouse", "label": "Set From Warehouse",
@ -1422,6 +1422,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"collapsible_depends_on": "tax_withheld_vouchers",
"fieldname": "tax_withheld_vouchers_section", "fieldname": "tax_withheld_vouchers_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Tax Withheld Vouchers" "label": "Tax Withheld Vouchers"
@ -1433,13 +1434,92 @@
"no_copy": 1, "no_copy": 1,
"options": "Tax Withheld Vouchers", "options": "Tax Withheld Vouchers",
"read_only": 1 "read_only": 1
},
{
"fieldname": "payments_tab",
"fieldtype": "Tab Break",
"label": "Payments"
},
{
"fieldname": "address_and_contact_tab",
"fieldtype": "Tab Break",
"label": "Address & Contact"
},
{
"fieldname": "terms_tab",
"fieldtype": "Tab Break",
"label": "Terms"
},
{
"fieldname": "more_info_tab",
"fieldtype": "Tab Break",
"label": "More Info"
},
{
"fieldname": "connections_tab",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"fieldname": "column_break_6",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_38",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_50",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_58",
"fieldtype": "Column Break"
},
{
"fieldname": "company_shipping_address_section",
"fieldtype": "Section Break",
"label": "Company Shipping Address"
},
{
"fieldname": "column_break_126",
"fieldtype": "Column Break"
},
{
"fieldname": "company_billing_address_section",
"fieldtype": "Section Break",
"label": "Company Billing Address"
},
{
"fieldname": "column_break_130",
"fieldtype": "Column Break"
},
{
"collapsible": 1,
"fieldname": "status_section",
"fieldtype": "Section Break",
"label": "Status"
},
{
"fieldname": "column_break_177",
"fieldtype": "Column Break"
},
{
"collapsible": 1,
"fieldname": "additional_info_section",
"fieldtype": "Section Break",
"label": "Additional Info",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text",
"print_hide": 1
} }
], ],
"icon": "fa fa-file-text", "icon": "fa fa-file-text",
"idx": 204, "idx": 204,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-10-07 14:19:14.214157", "modified": "2022-10-11 13:04:44.304389",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Purchase Invoice", "name": "Purchase Invoice",

View File

@ -12,44 +12,29 @@
"customer", "customer",
"customer_name", "customer_name",
"tax_id", "tax_id",
"pos_profile",
"is_pos",
"is_consolidated",
"is_return",
"is_debit_note",
"update_billed_amount_in_sales_order",
"column_break1",
"company", "company",
"company_tax_id", "company_tax_id",
"column_break1",
"posting_date", "posting_date",
"posting_time", "posting_time",
"set_posting_time", "set_posting_time",
"due_date", "due_date",
"column_break_14",
"is_pos",
"pos_profile",
"is_consolidated",
"is_return",
"return_against", "return_against",
"update_billed_amount_in_sales_order",
"is_debit_note",
"amended_from", "amended_from",
"accounting_dimensions_section", "accounting_dimensions_section",
"project",
"dimension_col_break",
"cost_center", "cost_center",
"customer_po_details", "dimension_col_break",
"po_no", "project",
"column_break_23", "column_break_27",
"po_date", "campaign",
"address_and_contact", "source",
"customer_address",
"address_display",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"territory",
"col_break4",
"shipping_address_name",
"shipping_address",
"company_address",
"company_address_display",
"dispatch_address_name",
"dispatch_address",
"currency_and_price_list", "currency_and_price_list",
"currency", "currency",
"conversion_rate", "conversion_rate",
@ -58,60 +43,35 @@
"price_list_currency", "price_list_currency",
"plc_conversion_rate", "plc_conversion_rate",
"ignore_pricing_rule", "ignore_pricing_rule",
"sec_warehouse",
"set_warehouse",
"column_break_55",
"set_target_warehouse",
"items_section", "items_section",
"update_stock",
"scan_barcode", "scan_barcode",
"update_stock",
"column_break_39",
"set_warehouse",
"set_target_warehouse",
"section_break_42",
"items", "items",
"pricing_rule_details",
"pricing_rules",
"packing_list",
"packed_items",
"product_bundle_help",
"time_sheet_list",
"timesheets",
"total_billing_amount",
"total_billing_hours",
"section_break_30", "section_break_30",
"total_qty", "total_qty",
"total_net_weight",
"column_break_32",
"base_total", "base_total",
"base_net_total", "base_net_total",
"column_break_32", "column_break_52",
"total_net_weight",
"total", "total",
"net_total", "net_total",
"taxes_section", "taxes_section",
"taxes_and_charges", "taxes_and_charges",
"column_break_38", "column_break_38",
"shipping_rule", "shipping_rule",
"column_break_55",
"tax_category", "tax_category",
"section_break_40", "section_break_40",
"taxes", "taxes",
"sec_tax_breakup",
"other_charges_calculation",
"section_break_43", "section_break_43",
"base_total_taxes_and_charges", "base_total_taxes_and_charges",
"column_break_47", "column_break_47",
"total_taxes_and_charges", "total_taxes_and_charges",
"loyalty_points_redemption",
"loyalty_points",
"loyalty_amount",
"redeem_loyalty_points",
"column_break_77",
"loyalty_program",
"loyalty_redemption_account",
"loyalty_redemption_cost_center",
"section_break_49",
"apply_discount_on",
"is_cash_or_non_trade_discount",
"base_discount_amount",
"additional_discount_account",
"column_break_51",
"additional_discount_percentage",
"discount_amount",
"totals", "totals",
"base_grand_total", "base_grand_total",
"base_rounding_adjustment", "base_rounding_adjustment",
@ -125,21 +85,28 @@
"total_advance", "total_advance",
"outstanding_amount", "outstanding_amount",
"disable_rounded_total", "disable_rounded_total",
"column_break4", "section_break_49",
"write_off_amount", "apply_discount_on",
"base_write_off_amount", "base_discount_amount",
"write_off_outstanding_amount_automatically", "is_cash_or_non_trade_discount",
"column_break_74", "additional_discount_account",
"write_off_account", "column_break_51",
"write_off_cost_center", "additional_discount_percentage",
"advances_section", "discount_amount",
"allocate_advances_automatically", "sec_tax_breakup",
"get_advances", "other_charges_calculation",
"advances", "pricing_rule_details",
"payment_schedule_section", "pricing_rules",
"ignore_default_payment_terms_template", "packing_list",
"payment_terms_template", "packed_items",
"payment_schedule", "product_bundle_help",
"time_sheet_list",
"timesheets",
"section_break_104",
"total_billing_hours",
"column_break_106",
"total_billing_amount",
"payments_tab",
"payments_section", "payments_section",
"cash_bank_account", "cash_bank_account",
"payments", "payments",
@ -152,47 +119,95 @@
"column_break_90", "column_break_90",
"change_amount", "change_amount",
"account_for_change_amount", "account_for_change_amount",
"advances_section",
"allocate_advances_automatically",
"get_advances",
"advances",
"write_off_section",
"write_off_amount",
"base_write_off_amount",
"write_off_outstanding_amount_automatically",
"column_break_74",
"write_off_account",
"write_off_cost_center",
"loyalty_points_redemption",
"redeem_loyalty_points",
"loyalty_points",
"loyalty_amount",
"column_break_77",
"loyalty_program",
"loyalty_redemption_account",
"loyalty_redemption_cost_center",
"contact_and_address_tab",
"address_and_contact",
"customer_address",
"address_display",
"col_break4",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"territory",
"shipping_address_section",
"shipping_address_name",
"shipping_address",
"shipping_addr_col_break",
"dispatch_address_name",
"dispatch_address",
"company_address_section",
"company_address",
"company_addr_col_break",
"company_address_display",
"terms_tab",
"payment_schedule_section",
"ignore_default_payment_terms_template",
"payment_terms_template",
"payment_schedule",
"terms_section_break", "terms_section_break",
"tc_name", "tc_name",
"terms", "terms",
"edit_printing_settings", "more_info_tab",
"letter_head", "customer_po_details",
"group_same_items", "po_no",
"select_print_heading", "column_break_23",
"column_break_84", "po_date",
"language",
"more_information",
"status",
"inter_company_invoice_reference",
"represents_company",
"customer_group",
"campaign",
"col_break23",
"is_internal_customer",
"is_discounted",
"source",
"more_info", "more_info",
"debit_to", "debit_to",
"party_account_currency", "party_account_currency",
"is_opening", "is_opening",
"column_break8", "column_break8",
"unrealized_profit_loss_account", "unrealized_profit_loss_account",
"remarks", "against_income_account",
"sales_team_section_break", "sales_team_section_break",
"sales_partner", "sales_partner",
"column_break10",
"amount_eligible_for_commission", "amount_eligible_for_commission",
"column_break10",
"commission_rate", "commission_rate",
"total_commission", "total_commission",
"section_break2", "section_break2",
"sales_team", "sales_team",
"edit_printing_settings",
"letter_head",
"group_same_items",
"column_break_84",
"select_print_heading",
"language",
"subscription_section", "subscription_section",
"from_date", "from_date",
"to_date",
"column_break_140",
"auto_repeat", "auto_repeat",
"column_break_140",
"to_date",
"update_auto_repeat_reference", "update_auto_repeat_reference",
"against_income_account" "more_information",
"status",
"inter_company_invoice_reference",
"represents_company",
"customer_group",
"col_break23",
"is_internal_customer",
"is_discounted",
"remarks",
"connections_tab"
], ],
"fields": [ "fields": [
{ {
@ -453,12 +468,11 @@
"label": "Customer's Purchase Order Date" "label": "Customer's Purchase Order Date"
}, },
{ {
"collapsible": 1,
"fieldname": "address_and_contact", "fieldname": "address_and_contact",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Address and Contact" "label": "Billing Address"
}, },
{ {
"fieldname": "customer_address", "fieldname": "customer_address",
@ -560,7 +574,6 @@
{ {
"fieldname": "company_address_display", "fieldname": "company_address_display",
"fieldtype": "Small Text", "fieldtype": "Small Text",
"hidden": 1,
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Company Address", "label": "Company Address",
@ -651,13 +664,6 @@
"label": "Ignore Pricing Rule", "label": "Ignore Pricing Rule",
"print_hide": 1 "print_hide": 1
}, },
{
"fieldname": "sec_warehouse",
"fieldtype": "Section Break",
"hide_days": 1,
"hide_seconds": 1,
"label": "Warehouse"
},
{ {
"depends_on": "update_stock", "depends_on": "update_stock",
"fieldname": "set_warehouse", "fieldname": "set_warehouse",
@ -671,6 +677,7 @@
{ {
"fieldname": "items_section", "fieldname": "items_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Items", "label": "Items",
@ -702,7 +709,6 @@
"fieldtype": "Table", "fieldtype": "Table",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Items",
"oldfieldname": "entries", "oldfieldname": "entries",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Sales Invoice Item", "options": "Sales Invoice Item",
@ -755,9 +761,10 @@
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "eval:doc.total_billing_amount > 0", "collapsible_depends_on": "eval:doc.total_billing_amount > 0",
"depends_on": "eval: !doc.is_return", "depends_on": "eval:!doc.is_return",
"fieldname": "time_sheet_list", "fieldname": "time_sheet_list",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Time Sheet List" "label": "Time Sheet List"
@ -845,6 +852,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "total_net_weight",
"fieldname": "total_net_weight", "fieldname": "total_net_weight",
"fieldtype": "Float", "fieldtype": "Float",
"hide_days": 1, "hide_days": 1,
@ -856,8 +864,10 @@
{ {
"fieldname": "taxes_section", "fieldname": "taxes_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Taxes and Charges",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money" "options": "fa fa-money"
}, },
@ -900,6 +910,7 @@
{ {
"fieldname": "section_break_40", "fieldname": "section_break_40",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1 "hide_seconds": 1
}, },
@ -908,7 +919,6 @@
"fieldtype": "Table", "fieldtype": "Table",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Sales Taxes and Charges",
"oldfieldname": "other_charges", "oldfieldname": "other_charges",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Sales Taxes and Charges" "options": "Sales Taxes and Charges"
@ -1046,7 +1056,6 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "discount_amount",
"fieldname": "section_break_49", "fieldname": "section_break_49",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
@ -1102,6 +1111,7 @@
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Totals",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money", "options": "fa fa-money",
"print_hide": 1 "print_hide": 1
@ -1283,8 +1293,6 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"collapsible": 1,
"collapsible_depends_on": "eval:(!doc.is_pos && !doc.is_return)",
"fieldname": "payment_schedule_section", "fieldname": "payment_schedule_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
@ -1314,7 +1322,9 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"depends_on": "eval:doc.is_pos===1||(doc.advances && doc.advances.length>0)", "collapsible": 1,
"collapsible_depends_on": "eval:!doc.is_pos",
"depends_on": "eval:doc.is_pos===1",
"fieldname": "payments_section", "fieldname": "payments_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
@ -1352,6 +1362,7 @@
"hide_seconds": 1 "hide_seconds": 1
}, },
{ {
"depends_on": "eval: doc.is_pos || doc.redeem_loyalty_points",
"fieldname": "base_paid_amount", "fieldname": "base_paid_amount",
"fieldtype": "Currency", "fieldtype": "Currency",
"hide_days": 1, "hide_days": 1,
@ -1383,10 +1394,13 @@
"read_only": 1 "read_only": 1
}, },
{ {
"collapsible": 1,
"depends_on": "is_pos",
"fieldname": "section_break_88", "fieldname": "section_break_88",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1 "hide_seconds": 1,
"label": "Changes"
}, },
{ {
"depends_on": "is_pos", "depends_on": "is_pos",
@ -1427,17 +1441,6 @@
"options": "Account", "options": "Account",
"print_hide": 1 "print_hide": 1
}, },
{
"collapsible": 1,
"collapsible_depends_on": "write_off_amount",
"depends_on": "grand_total",
"fieldname": "column_break4",
"fieldtype": "Section Break",
"hide_days": 1,
"hide_seconds": 1,
"label": "Write Off",
"width": "50%"
},
{ {
"fieldname": "write_off_amount", "fieldname": "write_off_amount",
"fieldtype": "Currency", "fieldtype": "Currency",
@ -1495,8 +1498,6 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"collapsible": 1,
"collapsible_depends_on": "terms",
"fieldname": "terms_section_break", "fieldname": "terms_section_break",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
@ -1530,7 +1531,7 @@
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Printing Settings" "label": "Print Settings"
}, },
{ {
"allow_on_submit": 1, "allow_on_submit": 1,
@ -1591,7 +1592,7 @@
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "More Information" "label": "Additional Info"
}, },
{ {
"fieldname": "inter_company_invoice_reference", "fieldname": "inter_company_invoice_reference",
@ -1814,7 +1815,7 @@
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Subscription Section" "label": "Subscription"
}, },
{ {
"allow_on_submit": 1, "allow_on_submit": 1,
@ -1935,10 +1936,6 @@
"options": "Company", "options": "Company",
"read_only": 1 "read_only": 1
}, },
{
"fieldname": "column_break_55",
"fieldtype": "Column Break"
},
{ {
"depends_on": "eval: doc.is_internal_customer && doc.update_stock", "depends_on": "eval: doc.is_internal_customer && doc.update_stock",
"fieldname": "set_target_warehouse", "fieldname": "set_target_warehouse",
@ -2009,6 +2006,97 @@
"fieldname": "is_cash_or_non_trade_discount", "fieldname": "is_cash_or_non_trade_discount",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Is Cash or Non Trade Discount" "label": "Is Cash or Non Trade Discount"
},
{
"fieldname": "contact_and_address_tab",
"fieldtype": "Tab Break",
"label": "Contact & Address"
},
{
"fieldname": "payments_tab",
"fieldtype": "Tab Break",
"label": "Payments"
},
{
"fieldname": "terms_tab",
"fieldtype": "Tab Break",
"label": "Terms"
},
{
"fieldname": "more_info_tab",
"fieldtype": "Tab Break",
"label": "More Info"
},
{
"fieldname": "connections_tab",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"fieldname": "column_break_14",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_39",
"fieldtype": "Column Break"
},
{
"fieldname": "section_break_42",
"fieldtype": "Section Break",
"hide_border": 1,
"hide_days": 1,
"hide_seconds": 1
},
{
"fieldname": "column_break_55",
"fieldtype": "Column Break"
},
{
"fieldname": "shipping_address_section",
"fieldtype": "Section Break",
"label": "Shipping Address"
},
{
"fieldname": "company_address_section",
"fieldtype": "Section Break",
"label": "Company Address"
},
{
"fieldname": "shipping_addr_col_break",
"fieldtype": "Column Break"
},
{
"fieldname": "company_addr_col_break",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_27",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_52",
"fieldtype": "Column Break"
},
{
"depends_on": "eval:(!doc.is_return && doc.total_billing_amount > 0)",
"fieldname": "section_break_104",
"fieldtype": "Section Break"
},
{
"fieldname": "column_break_106",
"fieldtype": "Column Break"
},
{
"collapsible": 1,
"collapsible_depends_on": "write_off_amount",
"depends_on": "grand_total",
"fieldname": "write_off_section",
"fieldtype": "Section Break",
"hide_days": 1,
"hide_seconds": 1,
"label": "Write Off",
"width": "50%"
} }
], ],
"icon": "fa fa-file-text", "icon": "fa fa-file-text",
@ -2021,7 +2109,7 @@
"link_fieldname": "consolidated_invoice" "link_fieldname": "consolidated_invoice"
} }
], ],
"modified": "2022-09-16 17:44:22.227332", "modified": "2022-10-11 13:07:36.488095",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Sales Invoice", "name": "Sales Invoice",

View File

@ -12,43 +12,24 @@
"title", "title",
"naming_series", "naming_series",
"supplier", "supplier",
"get_items_from_open_material_requests",
"supplier_name", "supplier_name",
"order_confirmation_no",
"order_confirmation_date",
"get_items_from_open_material_requests",
"column_break_7",
"transaction_date",
"schedule_date",
"column_break1",
"company",
"apply_tds", "apply_tds",
"tax_withholding_category", "tax_withholding_category",
"is_subcontracted", "is_subcontracted",
"supplier_warehouse", "supplier_warehouse",
"column_break1",
"company",
"transaction_date",
"schedule_date",
"order_confirmation_no",
"order_confirmation_date",
"amended_from", "amended_from",
"accounting_dimensions_section", "accounting_dimensions_section",
"cost_center", "cost_center",
"dimension_col_break", "dimension_col_break",
"project", "project",
"drop_ship",
"customer",
"customer_name",
"column_break_19",
"customer_contact_person",
"customer_contact_display",
"customer_contact_mobile",
"customer_contact_email",
"section_addresses",
"supplier_address",
"address_display",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"col_break_address",
"shipping_address",
"shipping_address_display",
"billing_address",
"billing_address_display",
"currency_and_price_list", "currency_and_price_list",
"currency", "currency",
"conversion_rate", "conversion_rate",
@ -57,7 +38,6 @@
"price_list_currency", "price_list_currency",
"plc_conversion_rate", "plc_conversion_rate",
"ignore_pricing_rule", "ignore_pricing_rule",
"section_break_45",
"before_items_section", "before_items_section",
"scan_barcode", "scan_barcode",
"set_from_warehouse", "set_from_warehouse",
@ -67,10 +47,11 @@
"items", "items",
"sb_last_purchase", "sb_last_purchase",
"total_qty", "total_qty",
"total_net_weight",
"column_break_40",
"base_total", "base_total",
"base_net_total", "base_net_total",
"column_break_26", "column_break_26",
"total_net_weight",
"total", "total",
"net_total", "net_total",
"section_break_48", "section_break_48",
@ -79,14 +60,13 @@
"set_reserve_warehouse", "set_reserve_warehouse",
"supplied_items", "supplied_items",
"taxes_section", "taxes_section",
"taxes_and_charges",
"column_break_53",
"tax_category", "tax_category",
"column_break_50", "column_break_50",
"shipping_rule", "shipping_rule",
"section_break_52", "section_break_52",
"taxes_and_charges",
"taxes", "taxes",
"sec_tax_breakup",
"other_charges_calculation",
"totals", "totals",
"base_taxes_and_charges_added", "base_taxes_and_charges_added",
"base_taxes_and_charges_deducted", "base_taxes_and_charges_deducted",
@ -95,12 +75,6 @@
"taxes_and_charges_added", "taxes_and_charges_added",
"taxes_and_charges_deducted", "taxes_and_charges_deducted",
"total_taxes_and_charges", "total_taxes_and_charges",
"discount_section",
"apply_discount_on",
"base_discount_amount",
"column_break_45",
"additional_discount_percentage",
"discount_amount",
"totals_section", "totals_section",
"base_grand_total", "base_grand_total",
"base_rounding_adjustment", "base_rounding_adjustment",
@ -113,37 +87,73 @@
"disable_rounded_total", "disable_rounded_total",
"in_words", "in_words",
"advance_paid", "advance_paid",
"discount_section",
"apply_discount_on",
"base_discount_amount",
"column_break_45",
"additional_discount_percentage",
"discount_amount",
"sec_tax_breakup",
"other_charges_calculation",
"address_and_contact_tab",
"section_addresses",
"supplier_address",
"address_display",
"col_break_address",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"company_shipping_address_section",
"shipping_address",
"column_break_99",
"shipping_address_display",
"company_billing_address_section",
"billing_address",
"column_break_103",
"billing_address_display",
"drop_ship",
"customer",
"customer_name",
"column_break_19",
"customer_contact_person",
"customer_contact_display",
"customer_contact_mobile",
"customer_contact_email",
"terms_tab",
"payment_schedule_section", "payment_schedule_section",
"payment_terms_template", "payment_terms_template",
"payment_schedule", "payment_schedule",
"terms_section_break",
"tc_name",
"terms",
"more_info_tab",
"tracking_section", "tracking_section",
"status", "status",
"column_break_75", "column_break_75",
"per_billed", "per_billed",
"per_received", "per_received",
"terms_section_break",
"tc_name",
"terms",
"column_break5", "column_break5",
"letter_head", "letter_head",
"select_print_heading",
"column_break_86",
"language",
"group_same_items", "group_same_items",
"column_break_86",
"select_print_heading",
"language",
"subscription_section", "subscription_section",
"from_date", "from_date",
"to_date", "to_date",
"column_break_97", "column_break_97",
"auto_repeat", "auto_repeat",
"update_auto_repeat_reference", "update_auto_repeat_reference",
"more_info", "additional_info_section",
"is_internal_supplier",
"represents_company",
"ref_sq", "ref_sq",
"column_break_74", "column_break_74",
"party_account_currency", "party_account_currency",
"is_internal_supplier",
"represents_company",
"inter_company_order_reference", "inter_company_order_reference",
"is_old_subcontracting_flow" "is_old_subcontracting_flow",
"dashboard"
], ],
"fields": [ "fields": [
{ {
@ -267,8 +277,9 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:doc.customer",
"fieldname": "drop_ship", "fieldname": "drop_ship",
"fieldtype": "Section Break", "fieldtype": "Tab Break",
"label": "Drop Ship" "label": "Drop Ship"
}, },
{ {
@ -299,7 +310,6 @@
{ {
"fieldname": "customer_contact_display", "fieldname": "customer_contact_display",
"fieldtype": "Small Text", "fieldtype": "Small Text",
"hidden": 1,
"label": "Customer Contact", "label": "Customer Contact",
"print_hide": 1 "print_hide": 1
}, },
@ -319,10 +329,9 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"collapsible": 1,
"fieldname": "section_addresses", "fieldname": "section_addresses",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Address and Contact" "label": "Supplier Address"
}, },
{ {
"fieldname": "supplier_address", "fieldname": "supplier_address",
@ -445,7 +454,6 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"description": "Sets 'Warehouse' in each row of the Items table.",
"fieldname": "set_warehouse", "fieldname": "set_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Set Target Warehouse", "label": "Set Target Warehouse",
@ -483,7 +491,6 @@
"allow_bulk_edit": 1, "allow_bulk_edit": 1,
"fieldname": "items", "fieldname": "items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Items",
"oldfieldname": "po_details", "oldfieldname": "po_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Purchase Order Item", "options": "Purchase Order Item",
@ -570,6 +577,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "total_net_weight",
"fieldname": "total_net_weight", "fieldname": "total_net_weight",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Total Net Weight", "label": "Total Net Weight",
@ -579,6 +587,8 @@
{ {
"fieldname": "taxes_section", "fieldname": "taxes_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"label": "Taxes and Charges",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money" "options": "fa fa-money"
}, },
@ -633,7 +643,6 @@
{ {
"fieldname": "totals", "fieldname": "totals",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Taxes and Charges",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money" "options": "fa fa-money"
}, },
@ -698,7 +707,6 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "total_taxes_and_charges",
"fieldname": "total_taxes_and_charges", "fieldname": "total_taxes_and_charges",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Total Taxes and Charges", "label": "Total Taxes and Charges",
@ -708,7 +716,6 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "apply_discount_on",
"fieldname": "discount_section", "fieldname": "discount_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Additional Discount" "label": "Additional Discount"
@ -773,7 +780,6 @@
"read_only": 1 "read_only": 1
}, },
{ {
"description": "In Words will be visible once you save the Purchase Order.",
"fieldname": "base_in_words", "fieldname": "base_in_words",
"fieldtype": "Data", "fieldtype": "Data",
"label": "In Words (Company Currency)", "label": "In Words (Company Currency)",
@ -851,7 +857,6 @@
"read_only": 1 "read_only": 1
}, },
{ {
"collapsible": 1,
"fieldname": "payment_schedule_section", "fieldname": "payment_schedule_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Payment Terms" "label": "Payment Terms"
@ -871,11 +876,10 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"collapsible": 1,
"collapsible_depends_on": "terms", "collapsible_depends_on": "terms",
"fieldname": "terms_section_break", "fieldname": "terms_section_break",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Terms and Conditions", "label": "Terms & Conditions",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-legal" "options": "fa fa-legal"
}, },
@ -895,13 +899,6 @@
"oldfieldname": "terms", "oldfieldname": "terms",
"oldfieldtype": "Text Editor" "oldfieldtype": "Text Editor"
}, },
{
"collapsible": 1,
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Information",
"oldfieldtype": "Section Break"
},
{ {
"default": "Draft", "default": "Draft",
"fieldname": "status", "fieldname": "status",
@ -1023,7 +1020,7 @@
"collapsible": 1, "collapsible": 1,
"fieldname": "subscription_section", "fieldname": "subscription_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Subscription Section" "label": "Auto Repeat"
}, },
{ {
"allow_on_submit": 1, "allow_on_submit": 1,
@ -1098,7 +1095,9 @@
}, },
{ {
"fieldname": "before_items_section", "fieldname": "before_items_section",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"hide_border": 1,
"label": "Items"
}, },
{ {
"fieldname": "items_col_break", "fieldname": "items_col_break",
@ -1133,10 +1132,6 @@
"label": "Tax Withholding Category", "label": "Tax Withholding Category",
"options": "Tax Withholding Category" "options": "Tax Withholding Category"
}, },
{
"fieldname": "section_break_45",
"fieldtype": "Section Break"
},
{ {
"collapsible": 1, "collapsible": 1,
"fieldname": "accounting_dimensions_section", "fieldname": "accounting_dimensions_section",
@ -1173,13 +1168,71 @@
"fieldtype": "Link", "fieldtype": "Link",
"label": "Set From Warehouse", "label": "Set From Warehouse",
"options": "Warehouse" "options": "Warehouse"
},
{
"fieldname": "terms_tab",
"fieldtype": "Tab Break",
"label": "Terms"
},
{
"fieldname": "more_info_tab",
"fieldtype": "Tab Break",
"label": "More Info"
},
{
"fieldname": "dashboard",
"fieldtype": "Tab Break",
"label": "Dashboard",
"show_dashboard": 1
},
{
"fieldname": "column_break_7",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_40",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_53",
"fieldtype": "Column Break"
},
{
"fieldname": "address_and_contact_tab",
"fieldtype": "Tab Break",
"label": "Address & Contact"
},
{
"fieldname": "company_shipping_address_section",
"fieldtype": "Section Break",
"label": "Company Shipping Address"
},
{
"fieldname": "company_billing_address_section",
"fieldtype": "Section Break",
"label": "Company Billing Address"
},
{
"collapsible": 1,
"fieldname": "additional_info_section",
"fieldtype": "Section Break",
"label": "Additional Info",
"oldfieldtype": "Section Break"
},
{
"fieldname": "column_break_99",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_103",
"fieldtype": "Column Break"
} }
], ],
"icon": "fa fa-file-text", "icon": "fa fa-file-text",
"idx": 105, "idx": 105,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-09-16 17:45:04.954055", "modified": "2022-10-11 13:01:41.674352",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Purchase Order", "name": "Purchase Order",

View File

@ -13,19 +13,13 @@
"naming_series", "naming_series",
"supplier", "supplier",
"supplier_name", "supplier_name",
"column_break1",
"company", "company",
"column_break1",
"status",
"transaction_date", "transaction_date",
"valid_till", "valid_till",
"quotation_number", "quotation_number",
"amended_from", "amended_from",
"address_section",
"supplier_address",
"contact_person",
"address_display",
"contact_display",
"contact_mobile",
"contact_email",
"currency_and_price_list", "currency_and_price_list",
"currency", "currency",
"conversion_rate", "conversion_rate",
@ -36,25 +30,23 @@
"ignore_pricing_rule", "ignore_pricing_rule",
"items_section", "items_section",
"items", "items",
"pricing_rule_details",
"pricing_rules",
"section_break_22", "section_break_22",
"total_qty", "total_qty",
"total_net_weight",
"column_break_26",
"base_total", "base_total",
"base_net_total", "base_net_total",
"column_break_24", "column_break_24",
"total", "total",
"net_total", "net_total",
"total_net_weight",
"taxes_section", "taxes_section",
"taxes_and_charges",
"column_break_34",
"tax_category", "tax_category",
"column_break_36", "column_break_36",
"shipping_rule", "shipping_rule",
"section_break_38", "section_break_38",
"taxes_and_charges",
"taxes", "taxes",
"tax_breakup",
"other_charges_calculation",
"totals", "totals",
"base_taxes_and_charges_added", "base_taxes_and_charges_added",
"base_taxes_and_charges_deducted", "base_taxes_and_charges_deducted",
@ -80,24 +72,36 @@
"rounded_total", "rounded_total",
"in_words", "in_words",
"disable_rounded_total", "disable_rounded_total",
"terms_section_break", "tax_breakup",
"other_charges_calculation",
"pricing_rule_details",
"pricing_rules",
"address_and_contact_tab",
"supplier_address",
"address_display",
"column_break_72",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"terms_tab",
"tc_name", "tc_name",
"terms", "terms",
"more_info_tab",
"printing_settings", "printing_settings",
"select_print_heading",
"group_same_items",
"column_break_72",
"letter_head", "letter_head",
"group_same_items",
"column_break_85",
"select_print_heading",
"language", "language",
"subscription_section", "subscription_section",
"auto_repeat", "auto_repeat",
"update_auto_repeat_reference", "update_auto_repeat_reference",
"more_info", "more_info",
"status",
"column_break_57",
"is_subcontracted", "is_subcontracted",
"reference", "column_break_57",
"opportunity" "opportunity",
"connections_tab"
], ],
"fields": [ "fields": [
{ {
@ -146,7 +150,7 @@
"fieldname": "supplier_name", "fieldname": "supplier_name",
"fieldtype": "Data", "fieldtype": "Data",
"in_global_search": 1, "in_global_search": 1,
"label": "Name", "label": "Supplier Name",
"read_only": 1 "read_only": 1
}, },
{ {
@ -193,12 +197,6 @@
"reqd": 1, "reqd": 1,
"search_index": 1 "search_index": 1
}, },
{
"collapsible": 1,
"fieldname": "address_section",
"fieldtype": "Section Break",
"label": "Address and Contact"
},
{ {
"fieldname": "supplier_address", "fieldname": "supplier_address",
"fieldtype": "Link", "fieldtype": "Link",
@ -309,6 +307,8 @@
{ {
"fieldname": "items_section", "fieldname": "items_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"label": "Items",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-shopping-cart" "options": "fa fa-shopping-cart"
}, },
@ -316,7 +316,6 @@
"allow_bulk_edit": 1, "allow_bulk_edit": 1,
"fieldname": "items", "fieldname": "items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Items",
"oldfieldname": "po_details", "oldfieldname": "po_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Supplier Quotation Item", "options": "Supplier Quotation Item",
@ -394,6 +393,7 @@
{ {
"fieldname": "taxes_section", "fieldname": "taxes_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"label": "Taxes and Charges", "label": "Taxes and Charges",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money" "options": "fa fa-money"
@ -417,7 +417,8 @@
}, },
{ {
"fieldname": "section_break_38", "fieldname": "section_break_38",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"hide_border": 1
}, },
{ {
"fieldname": "taxes_and_charges", "fieldname": "taxes_and_charges",
@ -523,7 +524,6 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "discount_amount",
"fieldname": "section_break_41", "fieldname": "section_break_41",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Additional Discount" "label": "Additional Discount"
@ -563,7 +563,8 @@
}, },
{ {
"fieldname": "section_break_46", "fieldname": "section_break_46",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"label": "Totals"
}, },
{ {
"fieldname": "base_grand_total", "fieldname": "base_grand_total",
@ -654,19 +655,10 @@
"fieldtype": "Check", "fieldtype": "Check",
"label": "Disable Rounded Total" "label": "Disable Rounded Total"
}, },
{
"collapsible": 1,
"collapsible_depends_on": "terms",
"fieldname": "terms_section_break",
"fieldtype": "Section Break",
"label": "Terms and Conditions",
"oldfieldtype": "Section Break",
"options": "fa fa-legal"
},
{ {
"fieldname": "tc_name", "fieldname": "tc_name",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Terms", "label": "Terms Template",
"oldfieldname": "tc_name", "oldfieldname": "tc_name",
"oldfieldtype": "Link", "oldfieldtype": "Link",
"options": "Terms and Conditions", "options": "Terms and Conditions",
@ -729,7 +721,7 @@
{ {
"fieldname": "subscription_section", "fieldname": "subscription_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Auto Repeat Section" "label": "Auto Repeat"
}, },
{ {
"fieldname": "auto_repeat", "fieldname": "auto_repeat",
@ -751,7 +743,7 @@
"collapsible": 1, "collapsible": 1,
"fieldname": "more_info", "fieldname": "more_info",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "More Information", "label": "Additional Info",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-file-text" "options": "fa fa-file-text"
}, },
@ -779,11 +771,6 @@
"label": "Is Subcontracted", "label": "Is Subcontracted",
"print_hide": 1 "print_hide": 1
}, },
{
"fieldname": "reference",
"fieldtype": "Section Break",
"label": "Reference"
},
{ {
"fieldname": "opportunity", "fieldname": "opportunity",
"fieldtype": "Link", "fieldtype": "Link",
@ -803,6 +790,39 @@
"fieldname": "quotation_number", "fieldname": "quotation_number",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Quotation Number" "label": "Quotation Number"
},
{
"fieldname": "address_and_contact_tab",
"fieldtype": "Tab Break",
"label": "Address & Contact"
},
{
"fieldname": "terms_tab",
"fieldtype": "Tab Break",
"label": "Terms"
},
{
"fieldname": "more_info_tab",
"fieldtype": "Tab Break",
"label": "More Info"
},
{
"fieldname": "connections_tab",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"fieldname": "column_break_26",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_34",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_85",
"fieldtype": "Column Break"
} }
], ],
"icon": "fa fa-shopping-cart", "icon": "fa fa-shopping-cart",
@ -810,7 +830,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-03-14 16:13:20.284572", "modified": "2022-09-27 18:20:09.462037",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Supplier Quotation", "name": "Supplier Quotation",

View File

@ -37,7 +37,7 @@ def make_custom_fields():
fieldname="vat_section", fieldname="vat_section",
label="VAT Details", label="VAT Details",
fieldtype="Section Break", fieldtype="Section Break",
insert_after="group_same_items", insert_after="language",
print_hide=1, print_hide=1,
collapsible=1, collapsible=1,
), ),

View File

@ -15,26 +15,13 @@
"quotation_to", "quotation_to",
"party_name", "party_name",
"customer_name", "customer_name",
"column_break1", "column_break_7",
"amended_from",
"company",
"transaction_date", "transaction_date",
"valid_till", "valid_till",
"column_break1",
"order_type", "order_type",
"contact_section", "company",
"customer_address", "amended_from",
"address_display",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"col_break98",
"shipping_address_name",
"shipping_address",
"company_address",
"company_address_display",
"customer_group",
"territory",
"currency_and_price_list", "currency_and_price_list",
"currency", "currency",
"conversion_rate", "conversion_rate",
@ -43,79 +30,105 @@
"price_list_currency", "price_list_currency",
"plc_conversion_rate", "plc_conversion_rate",
"ignore_pricing_rule", "ignore_pricing_rule",
"section_break_33",
"scan_barcode",
"items_section", "items_section",
"scan_barcode",
"items", "items",
"bundle_items_section",
"packed_items",
"pricing_rule_details",
"pricing_rules",
"sec_break23", "sec_break23",
"total_qty", "total_qty",
"total_net_weight",
"column_break_28",
"base_total", "base_total",
"base_net_total", "base_net_total",
"column_break_28", "column_break_31",
"total", "total",
"net_total", "net_total",
"total_net_weight",
"taxes_section", "taxes_section",
"taxes_and_charges",
"column_break_36",
"tax_category", "tax_category",
"column_break_34", "column_break_34",
"shipping_rule", "shipping_rule",
"section_break_36", "section_break_36",
"taxes_and_charges",
"taxes", "taxes",
"sec_tax_breakup",
"other_charges_calculation",
"section_break_39", "section_break_39",
"base_total_taxes_and_charges", "base_total_taxes_and_charges",
"column_break_42", "column_break_42",
"total_taxes_and_charges", "total_taxes_and_charges",
"section_break_44",
"coupon_code",
"referral_sales_partner",
"apply_discount_on",
"base_discount_amount",
"column_break_46",
"additional_discount_percentage",
"discount_amount",
"totals", "totals",
"base_grand_total", "base_grand_total",
"base_rounding_adjustment", "base_rounding_adjustment",
"base_in_words",
"base_rounded_total", "base_rounded_total",
"base_in_words",
"column_break3", "column_break3",
"grand_total", "grand_total",
"rounding_adjustment", "rounding_adjustment",
"rounded_total", "rounded_total",
"in_words", "in_words",
"section_break_44",
"apply_discount_on",
"base_discount_amount",
"coupon_code",
"column_break_46",
"additional_discount_percentage",
"discount_amount",
"referral_sales_partner",
"sec_tax_breakup",
"other_charges_calculation",
"bundle_items_section",
"packed_items",
"pricing_rule_details",
"pricing_rules",
"address_and_contact_tab",
"billing_address_section",
"customer_address",
"address_display",
"col_break98",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"shipping_address_section",
"shipping_address_name",
"column_break_81",
"shipping_address",
"company_address_section",
"company_address",
"column_break_87",
"company_address_display",
"terms_tab",
"payment_schedule_section", "payment_schedule_section",
"payment_terms_template", "payment_terms_template",
"payment_schedule", "payment_schedule",
"terms_section_break", "terms_section_break",
"tc_name", "tc_name",
"terms", "terms",
"more_info_tab",
"subscription_section",
"auto_repeat",
"update_auto_repeat_reference",
"print_settings", "print_settings",
"letter_head", "letter_head",
"group_same_items", "group_same_items",
"column_break_73", "column_break_73",
"select_print_heading", "select_print_heading",
"language", "language",
"subscription_section", "lost_reasons_section",
"auto_repeat", "lost_reasons",
"update_auto_repeat_reference", "competitors",
"more_info", "column_break_117",
"order_lost_reason",
"additional_info_section",
"status",
"customer_group",
"territory",
"column_break_108",
"campaign", "campaign",
"source", "source",
"order_lost_reason",
"column_break4", "column_break4",
"status",
"enq_det",
"supplier_quotation",
"opportunity", "opportunity",
"lost_reasons", "supplier_quotation",
"competitors" "enq_det",
"connections_tab"
], ],
"fields": [ "fields": [
{ {
@ -241,14 +254,6 @@
"print_hide": 1, "print_hide": 1,
"reqd": 1 "reqd": 1
}, },
{
"collapsible": 1,
"depends_on": "party_name",
"fieldname": "contact_section",
"fieldtype": "Section Break",
"label": "Address and Contact",
"options": "fa fa-bullhorn"
},
{ {
"fieldname": "customer_address", "fieldname": "customer_address",
"fieldtype": "Link", "fieldtype": "Link",
@ -296,7 +301,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:doc.quotation_to=='Customer' && doc.party_name", "depends_on": "eval:(doc.quotation_to=='Customer' && doc.party_name)",
"fieldname": "col_break98", "fieldname": "col_break98",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"width": "50%" "width": "50%"
@ -316,7 +321,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:doc.quotation_to=='Customer' && doc.party_name", "depends_on": "eval:(doc.quotation_to=='Customer' && doc.party_name)",
"fieldname": "customer_group", "fieldname": "customer_group",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 1, "hidden": 1,
@ -408,6 +413,8 @@
{ {
"fieldname": "items_section", "fieldname": "items_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"label": "Items",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-shopping-cart" "options": "fa fa-shopping-cart"
}, },
@ -415,7 +422,6 @@
"allow_bulk_edit": 1, "allow_bulk_edit": 1,
"fieldname": "items", "fieldname": "items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Items",
"oldfieldname": "quotation_details", "oldfieldname": "quotation_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Quotation Item", "options": "Quotation Item",
@ -423,6 +429,7 @@
"width": "40px" "width": "40px"
}, },
{ {
"collapsible": 1,
"fieldname": "pricing_rule_details", "fieldname": "pricing_rule_details",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Pricing Rules" "label": "Pricing Rules"
@ -483,6 +490,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "total_net_weight",
"fieldname": "total_net_weight", "fieldname": "total_net_weight",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Total Net Weight", "label": "Total Net Weight",
@ -492,6 +500,7 @@
{ {
"fieldname": "taxes_section", "fieldname": "taxes_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"label": "Taxes and Charges", "label": "Taxes and Charges",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money" "options": "fa fa-money"
@ -517,7 +526,8 @@
}, },
{ {
"fieldname": "section_break_36", "fieldname": "section_break_36",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"hide_border": 1
}, },
{ {
"fieldname": "taxes_and_charges", "fieldname": "taxes_and_charges",
@ -579,10 +589,9 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "discount_amount",
"fieldname": "section_break_44", "fieldname": "section_break_44",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Additional Discount and Coupon Code" "label": "Additional Discount"
}, },
{ {
"fieldname": "coupon_code", "fieldname": "coupon_code",
@ -632,6 +641,7 @@
{ {
"fieldname": "totals", "fieldname": "totals",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Totals",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money", "options": "fa fa-money",
"print_hide": 1 "print_hide": 1
@ -657,7 +667,6 @@
"read_only": 1 "read_only": 1
}, },
{ {
"description": "In Words will be visible once you save the Quotation.",
"fieldname": "base_in_words", "fieldname": "base_in_words",
"fieldtype": "Data", "fieldtype": "Data",
"label": "In Words (Company Currency)", "label": "In Words (Company Currency)",
@ -665,8 +674,7 @@
"oldfieldname": "in_words", "oldfieldname": "in_words",
"oldfieldtype": "Data", "oldfieldtype": "Data",
"print_hide": 1, "print_hide": 1,
"read_only": 1, "read_only": 1
"width": "200px"
}, },
{ {
"fieldname": "base_rounded_total", "fieldname": "base_rounded_total",
@ -749,7 +757,6 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"collapsible": 1,
"collapsible_depends_on": "terms", "collapsible_depends_on": "terms",
"fieldname": "terms_section_break", "fieldname": "terms_section_break",
"fieldtype": "Section Break", "fieldtype": "Section Break",
@ -824,7 +831,7 @@
{ {
"fieldname": "subscription_section", "fieldname": "subscription_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Auto Repeat Section" "label": "Auto Repeat"
}, },
{ {
"fieldname": "auto_repeat", "fieldname": "auto_repeat",
@ -837,20 +844,11 @@
}, },
{ {
"allow_on_submit": 1, "allow_on_submit": 1,
"depends_on": "eval: doc.auto_repeat", "depends_on": "eval:doc.auto_repeat",
"fieldname": "update_auto_repeat_reference", "fieldname": "update_auto_repeat_reference",
"fieldtype": "Button", "fieldtype": "Button",
"label": "Update Auto Repeat Reference" "label": "Update Auto Repeat Reference"
}, },
{
"collapsible": 1,
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Information",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text",
"print_hide": 1
},
{ {
"fieldname": "campaign", "fieldname": "campaign",
"fieldtype": "Link", "fieldtype": "Link",
@ -871,7 +869,7 @@
}, },
{ {
"allow_on_submit": 1, "allow_on_submit": 1,
"depends_on": "eval:doc.status===\"Lost\"", "depends_on": "eval:doc.status=='Lost'",
"fieldname": "order_lost_reason", "fieldname": "order_lost_reason",
"fieldtype": "Small Text", "fieldtype": "Small Text",
"label": "Detailed Reason", "label": "Detailed Reason",
@ -934,7 +932,6 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "packed_items",
"fieldname": "packed_items", "fieldname": "packed_items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Bundle Items", "label": "Bundle Items",
@ -943,7 +940,6 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "packed_items",
"depends_on": "packed_items", "depends_on": "packed_items",
"fieldname": "bundle_items_section", "fieldname": "bundle_items_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
@ -970,22 +966,99 @@
"label": "Company Address", "label": "Company Address",
"read_only": 1 "read_only": 1
}, },
{
"fieldname": "section_break_33",
"fieldtype": "Section Break"
},
{ {
"fieldname": "scan_barcode", "fieldname": "scan_barcode",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Scan Barcode", "label": "Scan Barcode",
"options": "Barcode" "options": "Barcode"
},
{
"fieldname": "address_and_contact_tab",
"fieldtype": "Tab Break",
"label": "Address & Contact"
},
{
"fieldname": "terms_tab",
"fieldtype": "Tab Break",
"label": "Terms"
},
{
"fieldname": "more_info_tab",
"fieldtype": "Tab Break",
"label": "More Info"
},
{
"fieldname": "connections_tab",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"fieldname": "column_break_7",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_31",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_36",
"fieldtype": "Column Break"
},
{
"fieldname": "billing_address_section",
"fieldtype": "Section Break",
"label": "Billing Address",
"options": "fa fa-bullhorn"
},
{
"fieldname": "shipping_address_section",
"fieldtype": "Section Break",
"label": "Shipping Address"
},
{
"fieldname": "column_break_81",
"fieldtype": "Column Break"
},
{
"fieldname": "company_address_section",
"fieldtype": "Section Break",
"label": "Company Address"
},
{
"fieldname": "column_break_87",
"fieldtype": "Column Break"
},
{
"collapsible": 1,
"depends_on": "eval:(doc.lost_reasons || doc.order_lost_reason)",
"fieldname": "lost_reasons_section",
"fieldtype": "Section Break",
"label": "Lost Reasons"
},
{
"fieldname": "column_break_117",
"fieldtype": "Column Break"
},
{
"collapsible": 1,
"fieldname": "additional_info_section",
"fieldtype": "Section Break",
"label": "Additional Info",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text",
"print_hide": 1
},
{
"fieldname": "column_break_108",
"fieldtype": "Column Break"
} }
], ],
"icon": "fa fa-shopping-cart", "icon": "fa fa-shopping-cart",
"idx": 82, "idx": 82,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-09-16 17:44:43.221804", "modified": "2022-10-11 13:06:33.479650",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Selling", "module": "Selling",
"name": "Quotation", "name": "Quotation",
@ -1083,4 +1156,4 @@
"states": [], "states": [],
"timeline_field": "party_name", "timeline_field": "party_name",
"title_field": "title" "title_field": "title"
} }

View File

@ -15,37 +15,25 @@
"naming_series", "naming_series",
"customer", "customer",
"customer_name", "customer_name",
"tax_id",
"order_type", "order_type",
"skip_delivery_note", "column_break_7",
"column_break1",
"amended_from",
"company",
"transaction_date", "transaction_date",
"delivery_date", "delivery_date",
"column_break1",
"po_no", "po_no",
"po_date", "po_date",
"tax_id", "company",
"skip_delivery_note",
"amended_from",
"accounting_dimensions_section", "accounting_dimensions_section",
"cost_center", "cost_center",
"dimension_col_break", "dimension_col_break",
"project", "project",
"contact_info", "column_break_77",
"customer_address", "source",
"address_display", "campaign",
"contact_person", "custom_dimensions_section",
"contact_display",
"contact_phone",
"contact_mobile",
"contact_email",
"company_address",
"company_address_display",
"col_break46",
"shipping_address_name",
"shipping_address",
"dispatch_address_name",
"dispatch_address",
"customer_group",
"territory",
"currency_and_price_list", "currency_and_price_list",
"currency", "currency",
"conversion_rate", "conversion_rate",
@ -55,46 +43,32 @@
"plc_conversion_rate", "plc_conversion_rate",
"ignore_pricing_rule", "ignore_pricing_rule",
"sec_warehouse", "sec_warehouse",
"scan_barcode",
"column_break_28",
"set_warehouse", "set_warehouse",
"items_section", "items_section",
"scan_barcode",
"items", "items",
"packing_list",
"packed_items",
"pricing_rule_details",
"pricing_rules",
"section_break_31", "section_break_31",
"column_break_33a",
"total_qty", "total_qty",
"total_net_weight",
"column_break_33",
"base_total", "base_total",
"base_net_total", "base_net_total",
"column_break_33", "column_break_33a",
"total_net_weight",
"total", "total",
"net_total", "net_total",
"taxes_section", "taxes_section",
"tax_category", "taxes_and_charges",
"column_break_38", "column_break_38",
"tax_category",
"column_break_49",
"shipping_rule", "shipping_rule",
"section_break_40", "section_break_40",
"taxes_and_charges",
"taxes", "taxes",
"sec_tax_breakup",
"other_charges_calculation",
"section_break_43", "section_break_43",
"base_total_taxes_and_charges", "base_total_taxes_and_charges",
"column_break_46", "column_break_46",
"total_taxes_and_charges", "total_taxes_and_charges",
"loyalty_points_redemption",
"loyalty_points",
"loyalty_amount",
"section_break_48",
"coupon_code",
"apply_discount_on",
"base_discount_amount",
"column_break_50",
"additional_discount_percentage",
"discount_amount",
"totals", "totals",
"base_grand_total", "base_grand_total",
"base_rounding_adjustment", "base_rounding_adjustment",
@ -107,26 +81,49 @@
"in_words", "in_words",
"advance_paid", "advance_paid",
"disable_rounded_total", "disable_rounded_total",
"section_break_48",
"apply_discount_on",
"base_discount_amount",
"coupon_code",
"column_break_50",
"additional_discount_percentage",
"discount_amount",
"sec_tax_breakup",
"other_charges_calculation",
"packing_list",
"packed_items",
"pricing_rule_details",
"pricing_rules",
"contact_info",
"billing_address_column",
"customer_address",
"address_display",
"customer_group",
"territory",
"column_break_84",
"contact_person",
"contact_display",
"contact_phone",
"contact_mobile",
"contact_email",
"shipping_address_column",
"shipping_address_name",
"shipping_address",
"column_break_93",
"dispatch_address_name",
"dispatch_address",
"col_break46",
"company_address",
"column_break_92",
"company_address_display",
"payment_schedule_section", "payment_schedule_section",
"payment_terms_section",
"payment_terms_template", "payment_terms_template",
"payment_schedule", "payment_schedule",
"terms_section_break", "terms_section_break",
"tc_name", "tc_name",
"terms", "terms",
"more_info", "more_info",
"is_internal_customer",
"represents_company",
"inter_company_order_reference",
"party_account_currency",
"column_break_77",
"source",
"campaign",
"printing_details",
"language",
"letter_head",
"column_break4",
"select_print_heading",
"group_same_items",
"section_break_78", "section_break_78",
"status", "status",
"delivery_status", "delivery_status",
@ -143,12 +140,29 @@
"total_commission", "total_commission",
"section_break1", "section_break1",
"sales_team", "sales_team",
"loyalty_points_redemption",
"loyalty_points",
"column_break_116",
"loyalty_amount",
"subscription_section", "subscription_section",
"from_date", "from_date",
"to_date", "to_date",
"column_break_108", "column_break_108",
"auto_repeat", "auto_repeat",
"update_auto_repeat_reference" "update_auto_repeat_reference",
"printing_details",
"letter_head",
"group_same_items",
"column_break4",
"select_print_heading",
"language",
"additional_info_section",
"is_internal_customer",
"represents_company",
"column_break_152",
"inter_company_order_reference",
"party_account_currency",
"connections_tab"
], ],
"fields": [ "fields": [
{ {
@ -334,10 +348,10 @@
"collapsible": 1, "collapsible": 1,
"depends_on": "customer", "depends_on": "customer",
"fieldname": "contact_info", "fieldname": "contact_info",
"fieldtype": "Section Break", "fieldtype": "Tab Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Address and Contact", "label": "Address & Contact",
"options": "fa fa-bullhorn" "options": "fa fa-bullhorn"
}, },
{ {
@ -414,9 +428,10 @@
}, },
{ {
"fieldname": "col_break46", "fieldname": "col_break46",
"fieldtype": "Column Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Company Address",
"width": "50%" "width": "50%"
}, },
{ {
@ -550,8 +565,10 @@
{ {
"fieldname": "sec_warehouse", "fieldname": "sec_warehouse",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1 "hide_seconds": 1,
"label": "Items"
}, },
{ {
"fieldname": "set_warehouse", "fieldname": "set_warehouse",
@ -565,6 +582,7 @@
{ {
"fieldname": "items_section", "fieldname": "items_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
@ -675,6 +693,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "total_net_weight",
"fieldname": "total_net_weight", "fieldname": "total_net_weight",
"fieldtype": "Float", "fieldtype": "Float",
"hide_days": 1, "hide_days": 1,
@ -688,7 +707,7 @@
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Taxes and Charges", "label": "Taxes",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money" "options": "fa fa-money"
}, },
@ -720,6 +739,7 @@
{ {
"fieldname": "section_break_40", "fieldname": "section_break_40",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1 "hide_seconds": 1
}, },
@ -804,7 +824,7 @@
"hidden": 1, "hidden": 1,
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Loyalty Points Redemption", "label": "Loyalty Points",
"print_hide": 1 "print_hide": 1
}, },
{ {
@ -828,12 +848,11 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "discount_amount",
"fieldname": "section_break_48", "fieldname": "section_break_48",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Additional Discount and Coupon Code" "label": "Additional Discount"
}, },
{ {
"fieldname": "coupon_code", "fieldname": "coupon_code",
@ -891,6 +910,7 @@
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Totals",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money", "options": "fa fa-money",
"print_hide": 1 "print_hide": 1
@ -1045,10 +1065,10 @@
}, },
{ {
"fieldname": "payment_schedule_section", "fieldname": "payment_schedule_section",
"fieldtype": "Section Break", "fieldtype": "Tab Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Payment Terms" "label": "Terms"
}, },
{ {
"fieldname": "payment_terms_template", "fieldname": "payment_terms_template",
@ -1070,13 +1090,12 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"collapsible": 1,
"collapsible_depends_on": "terms", "collapsible_depends_on": "terms",
"fieldname": "terms_section_break", "fieldname": "terms_section_break",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Terms and Conditions", "label": "Terms & Conditions",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-legal" "options": "fa fa-legal"
}, },
@ -1104,10 +1123,10 @@
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "project", "collapsible_depends_on": "project",
"fieldname": "more_info", "fieldname": "more_info",
"fieldtype": "Section Break", "fieldtype": "Tab Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "More Information", "label": "More Info",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-file-text", "options": "fa fa-file-text",
"print_hide": 1 "print_hide": 1
@ -1122,7 +1141,6 @@
"read_only": 1 "read_only": 1
}, },
{ {
"description": "Track this Sales Order against any Project",
"fieldname": "project", "fieldname": "project",
"fieldtype": "Link", "fieldtype": "Link",
"hide_days": 1, "hide_days": 1,
@ -1240,7 +1258,7 @@
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Billing and Delivery Status", "label": "Status",
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
"print_hide": 1, "print_hide": 1,
"width": "50%" "width": "50%"
@ -1410,7 +1428,7 @@
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"label": "Auto Repeat Section", "label": "Auto Repeat",
"no_copy": 1, "no_copy": 1,
"print_hide": 1, "print_hide": 1,
"read_only": 1 "read_only": 1
@ -1542,13 +1560,76 @@
{ {
"fieldname": "dimension_col_break", "fieldname": "dimension_col_break",
"fieldtype": "Column Break" "fieldtype": "Column Break"
},
{
"fieldname": "column_break_7",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_28",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_49",
"fieldtype": "Column Break"
},
{
"fieldname": "connections_tab",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"fieldname": "payment_terms_section",
"fieldtype": "Section Break",
"label": "Payment Terms"
},
{
"fieldname": "column_break_116",
"fieldtype": "Column Break"
},
{
"fieldname": "billing_address_column",
"fieldtype": "Section Break",
"label": "Billing Address"
},
{
"fieldname": "shipping_address_column",
"fieldtype": "Section Break",
"label": "Shipping Address"
},
{
"fieldname": "column_break_93",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_84",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_92",
"fieldtype": "Column Break"
},
{
"fieldname": "custom_dimensions_section",
"fieldtype": "Section Break"
},
{
"collapsible": 1,
"fieldname": "additional_info_section",
"fieldtype": "Section Break",
"label": "Additional Info"
},
{
"fieldname": "column_break_152",
"fieldtype": "Column Break"
} }
], ],
"icon": "fa fa-file-text", "icon": "fa fa-file-text",
"idx": 105, "idx": 105,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-09-16 17:43:57.007441", "modified": "2022-10-11 13:06:10.469796",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Selling", "module": "Selling",
"name": "Sales Order", "name": "Sales Order",

View File

@ -8,46 +8,29 @@
"document_type": "Document", "document_type": "Document",
"engine": "InnoDB", "engine": "InnoDB",
"field_order": [ "field_order": [
"delivery_to_section",
"column_break0",
"title", "title",
"naming_series", "naming_series",
"customer", "customer",
"tax_id",
"customer_name", "customer_name",
"column_break1", "column_break1",
"amended_from",
"company",
"posting_date", "posting_date",
"posting_time", "posting_time",
"set_posting_time", "set_posting_time",
"column_break_10",
"company",
"amended_from",
"is_return", "is_return",
"issue_credit_note", "issue_credit_note",
"return_against", "return_against",
"accounting_dimensions_section", "accounting_dimensions_section",
"cost_center", "cost_center",
"dimension_col_break", "column_break_18",
"project", "project",
"customer_po_details", "dimension_col_break",
"po_no", "campaign",
"column_break_17", "source",
"po_date", "custom_dimensions_section",
"section_break_18",
"pick_list",
"contact_info",
"shipping_address_name",
"shipping_address",
"dispatch_address_name",
"dispatch_address",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"col_break21",
"customer_address",
"tax_id",
"address_display",
"company_address",
"company_address_display",
"currency_and_price_list", "currency_and_price_list",
"currency", "currency",
"conversion_rate", "conversion_rate",
@ -56,45 +39,35 @@
"price_list_currency", "price_list_currency",
"plc_conversion_rate", "plc_conversion_rate",
"ignore_pricing_rule", "ignore_pricing_rule",
"sec_warehouse",
"set_warehouse",
"col_break_warehouse",
"set_target_warehouse",
"items_section", "items_section",
"scan_barcode", "scan_barcode",
"pick_list",
"col_break_warehouse",
"set_warehouse",
"set_target_warehouse",
"section_break_30",
"items", "items",
"pricing_rule_details",
"pricing_rules",
"packing_list",
"packed_items",
"product_bundle_help",
"section_break_31", "section_break_31",
"total_qty", "total_qty",
"total_net_weight",
"column_break_35",
"base_total", "base_total",
"base_net_total", "base_net_total",
"column_break_33", "column_break_33",
"total_net_weight",
"total", "total",
"net_total", "net_total",
"taxes_section", "taxes_section",
"taxes_and_charges",
"column_break_43",
"tax_category", "tax_category",
"column_break_39", "column_break_39",
"shipping_rule", "shipping_rule",
"section_break_41", "section_break_41",
"taxes_and_charges",
"taxes", "taxes",
"sec_tax_breakup",
"other_charges_calculation",
"section_break_44", "section_break_44",
"base_total_taxes_and_charges", "base_total_taxes_and_charges",
"column_break_47", "column_break_47",
"total_taxes_and_charges", "total_taxes_and_charges",
"section_break_49",
"apply_discount_on",
"base_discount_amount",
"column_break_51",
"additional_discount_percentage",
"discount_amount",
"totals", "totals",
"base_grand_total", "base_grand_total",
"base_rounding_adjustment", "base_rounding_adjustment",
@ -106,9 +79,50 @@
"rounded_total", "rounded_total",
"in_words", "in_words",
"disable_rounded_total", "disable_rounded_total",
"terms_section_break", "section_break_49",
"apply_discount_on",
"base_discount_amount",
"column_break_51",
"additional_discount_percentage",
"discount_amount",
"sec_tax_breakup",
"other_charges_calculation",
"packing_list",
"packed_items",
"product_bundle_help",
"pricing_rule_details",
"pricing_rules",
"address_and_contact_tab",
"contact_info",
"customer_address",
"address_display",
"col_break21",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"shipping_address_section",
"shipping_address_name",
"shipping_address",
"column_break_95",
"dispatch_address_name",
"dispatch_address",
"company_address_section",
"company_address",
"column_break_101",
"company_address_display",
"terms_tab",
"tc_name", "tc_name",
"terms", "terms",
"more_info_tab",
"section_break_83",
"per_billed",
"status",
"column_break_112",
"per_installed",
"installation_status",
"column_break_89",
"per_returned",
"transporter_info", "transporter_info",
"transporter", "transporter",
"driver", "driver",
@ -118,56 +132,40 @@
"transporter_name", "transporter_name",
"driver_name", "driver_name",
"lr_date", "lr_date",
"more_info", "customer_po_details",
"campaign", "po_no",
"source", "column_break_17",
"column_break5", "po_date",
"is_internal_customer",
"represents_company",
"inter_company_reference",
"per_billed",
"customer_group",
"territory",
"printing_details",
"letter_head",
"select_print_heading",
"language",
"column_break_88",
"print_without_amount",
"group_same_items",
"section_break_83",
"status",
"per_installed",
"installation_status",
"column_break_89",
"per_returned",
"excise_page",
"instructions",
"subscription_section",
"auto_repeat",
"sales_team_section_break", "sales_team_section_break",
"sales_partner", "sales_partner",
"column_break7",
"amount_eligible_for_commission", "amount_eligible_for_commission",
"column_break7",
"commission_rate", "commission_rate",
"total_commission", "total_commission",
"section_break1", "section_break1",
"sales_team" "sales_team",
"subscription_section",
"auto_repeat",
"printing_details",
"letter_head",
"print_without_amount",
"group_same_items",
"column_break_88",
"select_print_heading",
"language",
"more_info",
"is_internal_customer",
"represents_company",
"inter_company_reference",
"customer_group",
"territory",
"column_break5",
"excise_page",
"instructions",
"connections_tab",
"column_break_25"
], ],
"fields": [ "fields": [
{
"fieldname": "delivery_to_section",
"fieldtype": "Section Break",
"label": "Delivery To",
"options": "fa fa-user"
},
{
"fieldname": "column_break0",
"fieldtype": "Column Break",
"oldfieldtype": "Column Break",
"print_width": "50%",
"width": "50%"
},
{ {
"allow_on_submit": 1, "allow_on_submit": 1,
"default": "{customer_name}", "default": "{customer_name}",
@ -337,11 +335,10 @@
"width": "100px" "width": "100px"
}, },
{ {
"collapsible": 1,
"depends_on": "customer", "depends_on": "customer",
"fieldname": "contact_info", "fieldname": "contact_info",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Address and Contact", "label": "Billing Address",
"options": "fa fa-bullhorn" "options": "fa fa-bullhorn"
}, },
{ {
@ -493,10 +490,6 @@
"permlevel": 1, "permlevel": 1,
"print_hide": 1 "print_hide": 1
}, },
{
"fieldname": "sec_warehouse",
"fieldtype": "Section Break"
},
{ {
"fieldname": "set_warehouse", "fieldname": "set_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
@ -511,6 +504,8 @@
{ {
"fieldname": "items_section", "fieldname": "items_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"label": "Items",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-shopping-cart" "options": "fa fa-shopping-cart"
}, },
@ -524,7 +519,6 @@
"allow_bulk_edit": 1, "allow_bulk_edit": 1,
"fieldname": "items", "fieldname": "items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Items",
"oldfieldname": "delivery_note_details", "oldfieldname": "delivery_note_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Delivery Note Item", "options": "Delivery Note Item",
@ -619,6 +613,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "total_net_weight",
"fieldname": "total_net_weight", "fieldname": "total_net_weight",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Total Net Weight", "label": "Total Net Weight",
@ -628,6 +623,7 @@
{ {
"fieldname": "taxes_section", "fieldname": "taxes_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"label": "Taxes and Charges", "label": "Taxes and Charges",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money" "options": "fa fa-money"
@ -653,10 +649,10 @@
}, },
{ {
"fieldname": "section_break_41", "fieldname": "section_break_41",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"hide_border": 1
}, },
{ {
"description": "If you have created a standard template in Sales Taxes and Charges Template, select one and click on the button below.",
"fieldname": "taxes_and_charges", "fieldname": "taxes_and_charges",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Sales Taxes and Charges Template", "label": "Sales Taxes and Charges Template",
@ -668,7 +664,6 @@
{ {
"fieldname": "taxes", "fieldname": "taxes",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Sales Taxes and Charges",
"oldfieldname": "other_charges", "oldfieldname": "other_charges",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Sales Taxes and Charges" "options": "Sales Taxes and Charges"
@ -718,7 +713,6 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "discount_amount",
"fieldname": "section_break_49", "fieldname": "section_break_49",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Additional Discount" "label": "Additional Discount"
@ -759,6 +753,7 @@
{ {
"fieldname": "totals", "fieldname": "totals",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Totals",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-money" "options": "fa fa-money"
}, },
@ -863,15 +858,6 @@
"read_only": 1, "read_only": 1,
"width": "150px" "width": "150px"
}, },
{
"collapsible": 1,
"collapsible_depends_on": "terms",
"fieldname": "terms_section_break",
"fieldtype": "Section Break",
"label": "Terms and Conditions",
"oldfieldtype": "Section Break",
"options": "fa fa-legal"
},
{ {
"fieldname": "tc_name", "fieldname": "tc_name",
"fieldtype": "Link", "fieldtype": "Link",
@ -965,13 +951,12 @@
"collapsible": 1, "collapsible": 1,
"fieldname": "more_info", "fieldname": "more_info",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "More Information", "label": "Additional Info",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-file-text", "options": "fa fa-file-text",
"print_hide": 1 "print_hide": 1
}, },
{ {
"description": "Track this Delivery Note against any Project",
"fieldname": "project", "fieldname": "project",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Project", "label": "Project",
@ -1110,7 +1095,6 @@
}, },
{ {
"depends_on": "eval:!doc.__islocal", "depends_on": "eval:!doc.__islocal",
"description": "% of materials delivered against this Delivery Note",
"fieldname": "per_installed", "fieldname": "per_installed",
"fieldtype": "Percent", "fieldtype": "Percent",
"in_list_view": 1, "in_list_view": 1,
@ -1237,10 +1221,6 @@
"options": "Pick List", "options": "Pick List",
"read_only": 1 "read_only": 1
}, },
{
"fieldname": "section_break_18",
"fieldtype": "Section Break"
},
{ {
"default": "0", "default": "0",
"fetch_from": "customer.is_internal_customer", "fetch_from": "customer.is_internal_customer",
@ -1329,13 +1309,85 @@
{ {
"fieldname": "dimension_col_break", "fieldname": "dimension_col_break",
"fieldtype": "Column Break" "fieldtype": "Column Break"
},
{
"fieldname": "address_and_contact_tab",
"fieldtype": "Tab Break",
"label": "Address & Contact"
},
{
"fieldname": "terms_tab",
"fieldtype": "Tab Break",
"label": "Terms"
},
{
"fieldname": "more_info_tab",
"fieldtype": "Tab Break",
"label": "More Info"
},
{
"fieldname": "connections_tab",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"fieldname": "column_break_10",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_25",
"fieldtype": "Column Break"
},
{
"fieldname": "section_break_30",
"fieldtype": "Section Break",
"hide_border": 1
},
{
"fieldname": "column_break_35",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_43",
"fieldtype": "Column Break"
},
{
"fieldname": "custom_dimensions_section",
"fieldtype": "Section Break"
},
{
"fieldname": "shipping_address_section",
"fieldtype": "Section Break",
"label": "Shipping Address"
},
{
"fieldname": "column_break_95",
"fieldtype": "Column Break"
},
{
"fieldname": "company_address_section",
"fieldtype": "Section Break",
"label": "Company Address"
},
{
"fieldname": "column_break_101",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_112",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_18",
"fieldtype": "Column Break"
} }
], ],
"icon": "fa fa-truck", "icon": "fa fa-truck",
"idx": 146, "idx": 146,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-09-16 17:46:17.701904", "modified": "2022-10-11 13:06:58.655635",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Delivery Note", "name": "Delivery Note",

View File

@ -11,34 +11,40 @@
"naming_series", "naming_series",
"title", "title",
"material_request_type", "material_request_type",
"transfer_status",
"customer", "customer",
"status", "company",
"column_break_2", "column_break_2",
"transaction_date", "transaction_date",
"schedule_date", "schedule_date",
"company",
"amended_from", "amended_from",
"warehouse_section", "warehouse_section",
"scan_barcode",
"column_break_13",
"set_from_warehouse", "set_from_warehouse",
"column_break5", "column_break5",
"set_warehouse", "set_warehouse",
"items_section", "items_section",
"scan_barcode",
"items", "items",
"more_info", "terms_tab",
"per_ordered",
"column_break2",
"per_received",
"printing_details",
"letter_head",
"select_print_heading",
"terms_section_break", "terms_section_break",
"tc_name", "tc_name",
"terms", "terms",
"more_info_tab",
"status_section",
"status",
"per_ordered",
"column_break2",
"transfer_status",
"per_received",
"printing_details",
"letter_head",
"column_break_31",
"select_print_heading",
"reference", "reference",
"job_card", "job_card",
"work_order" "column_break_35",
"work_order",
"connections_tab"
], ],
"fields": [ "fields": [
{ {
@ -147,14 +153,6 @@
"options": "Material Request Item", "options": "Material Request Item",
"reqd": 1 "reqd": 1
}, },
{
"collapsible": 1,
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Information",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text"
},
{ {
"default": "Today", "default": "Today",
"fieldname": "transaction_date", "fieldname": "transaction_date",
@ -239,7 +237,6 @@
"collapsible_depends_on": "terms", "collapsible_depends_on": "terms",
"fieldname": "terms_section_break", "fieldname": "terms_section_break",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Terms and Conditions",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-legal" "options": "fa fa-legal"
}, },
@ -277,10 +274,10 @@
{ {
"fieldname": "warehouse_section", "fieldname": "warehouse_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Warehouse" "hide_border": 1,
"label": "Items"
}, },
{ {
"description": "Sets 'Target Warehouse' in each row of the Items table.",
"fieldname": "set_warehouse", "fieldname": "set_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1, "in_list_view": 1,
@ -296,7 +293,6 @@
}, },
{ {
"depends_on": "eval:doc.material_request_type == 'Material Transfer'", "depends_on": "eval:doc.material_request_type == 'Material Transfer'",
"description": "Sets 'Source Warehouse' in each row of the Items table.",
"fieldname": "set_from_warehouse", "fieldname": "set_from_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Set Source Warehouse", "label": "Set Source Warehouse",
@ -317,13 +313,49 @@
"label": "Work Order", "label": "Work Order",
"options": "Work Order", "options": "Work Order",
"read_only": 1 "read_only": 1
},
{
"fieldname": "terms_tab",
"fieldtype": "Tab Break",
"label": "Terms"
},
{
"fieldname": "more_info_tab",
"fieldtype": "Tab Break",
"label": "More Info"
},
{
"fieldname": "connections_tab",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"collapsible": 1,
"fieldname": "status_section",
"fieldtype": "Section Break",
"label": "Status",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text"
},
{
"fieldname": "column_break_31",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_35",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_13",
"fieldtype": "Column Break"
} }
], ],
"icon": "fa fa-ticket", "icon": "fa fa-ticket",
"idx": 70, "idx": 70,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-08-25 11:49:28.155048", "modified": "2022-09-27 17:58:26.366469",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Material Request", "name": "Material Request",

View File

@ -17,10 +17,11 @@
"supplier_name", "supplier_name",
"supplier_delivery_note", "supplier_delivery_note",
"column_break1", "column_break1",
"company",
"posting_date", "posting_date",
"posting_time", "posting_time",
"set_posting_time", "set_posting_time",
"column_break_12",
"company",
"apply_putaway_rule", "apply_putaway_rule",
"is_return", "is_return",
"return_against", "return_against",
@ -28,18 +29,6 @@
"cost_center", "cost_center",
"dimension_col_break", "dimension_col_break",
"project", "project",
"section_addresses",
"supplier_address",
"contact_person",
"address_display",
"contact_display",
"contact_mobile",
"contact_email",
"col_break_address",
"shipping_address",
"shipping_address_display",
"billing_address",
"billing_address_display",
"currency_and_price_list", "currency_and_price_list",
"currency", "currency",
"conversion_rate", "conversion_rate",
@ -49,37 +38,33 @@
"plc_conversion_rate", "plc_conversion_rate",
"ignore_pricing_rule", "ignore_pricing_rule",
"sec_warehouse", "sec_warehouse",
"scan_barcode",
"column_break_31",
"set_warehouse", "set_warehouse",
"rejected_warehouse",
"col_break_warehouse",
"set_from_warehouse", "set_from_warehouse",
"col_break_warehouse",
"rejected_warehouse",
"is_subcontracted", "is_subcontracted",
"supplier_warehouse", "supplier_warehouse",
"items_section", "items_section",
"scan_barcode",
"items", "items",
"section_break0", "section_break0",
"total_qty", "total_qty",
"total_net_weight",
"column_break_43",
"base_total", "base_total",
"base_net_total", "base_net_total",
"column_break_27", "column_break_27",
"total_net_weight",
"total", "total",
"net_total", "net_total",
"pricing_rule_details",
"pricing_rules",
"raw_material_details",
"get_current_stock",
"supplied_items",
"taxes_charges_section", "taxes_charges_section",
"tax_category", "taxes_and_charges",
"shipping_col", "shipping_col",
"tax_category",
"column_break_53",
"shipping_rule", "shipping_rule",
"taxes_section", "taxes_section",
"taxes_and_charges",
"taxes", "taxes",
"sec_tax_breakup",
"other_charges_calculation",
"totals", "totals",
"base_taxes_and_charges_added", "base_taxes_and_charges_added",
"base_taxes_and_charges_deducted", "base_taxes_and_charges_deducted",
@ -88,53 +73,81 @@
"taxes_and_charges_added", "taxes_and_charges_added",
"taxes_and_charges_deducted", "taxes_and_charges_deducted",
"total_taxes_and_charges", "total_taxes_and_charges",
"section_break_42",
"apply_discount_on",
"base_discount_amount",
"column_break_44",
"additional_discount_percentage",
"discount_amount",
"section_break_46", "section_break_46",
"base_grand_total", "base_grand_total",
"base_rounding_adjustment", "base_rounding_adjustment",
"base_in_words",
"base_rounded_total", "base_rounded_total",
"base_in_words",
"column_break_50", "column_break_50",
"grand_total", "grand_total",
"rounding_adjustment", "rounding_adjustment",
"rounded_total", "rounded_total",
"in_words", "in_words",
"disable_rounded_total", "disable_rounded_total",
"terms_section_break", "section_break_42",
"apply_discount_on",
"base_discount_amount",
"column_break_44",
"additional_discount_percentage",
"discount_amount",
"sec_tax_breakup",
"other_charges_calculation",
"pricing_rule_details",
"pricing_rules",
"raw_material_details",
"get_current_stock",
"supplied_items",
"address_and_contact_tab",
"section_addresses",
"supplier_address",
"address_display",
"col_break_address",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"section_break_98",
"shipping_address",
"column_break_100",
"shipping_address_display",
"billing_address_section",
"billing_address",
"column_break_104",
"billing_address_display",
"terms_tab",
"tc_name", "tc_name",
"terms", "terms",
"more_info", "more_info_tab",
"status_section",
"status", "status",
"amended_from",
"range",
"column_break4", "column_break4",
"per_billed", "per_billed",
"per_returned", "per_returned",
"is_internal_supplier",
"inter_company_reference",
"represents_company",
"subscription_detail", "subscription_detail",
"auto_repeat", "auto_repeat",
"printing_settings", "printing_settings",
"letter_head", "letter_head",
"language", "group_same_items",
"instructions",
"column_break_97", "column_break_97",
"select_print_heading", "select_print_heading",
"other_details", "language",
"remarks",
"group_same_items",
"transporter_info", "transporter_info",
"transporter_name", "transporter_name",
"column_break5", "column_break5",
"lr_no", "lr_no",
"lr_date", "lr_date",
"is_old_subcontracting_flow" "additional_info_section",
"instructions",
"is_internal_supplier",
"represents_company",
"inter_company_reference",
"column_break_131",
"remarks",
"range",
"amended_from",
"is_old_subcontracting_flow",
"other_details",
"connections_tab"
], ],
"fields": [ "fields": [
{ {
@ -223,7 +236,6 @@
"width": "100px" "width": "100px"
}, },
{ {
"description": "Time at which materials were received",
"fieldname": "posting_time", "fieldname": "posting_time",
"fieldtype": "Time", "fieldtype": "Time",
"label": "Posting Time", "label": "Posting Time",
@ -277,15 +289,14 @@
"read_only": 1 "read_only": 1
}, },
{ {
"collapsible": 1,
"fieldname": "section_addresses", "fieldname": "section_addresses",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Address and Contact" "label": "Supplier Address"
}, },
{ {
"fieldname": "supplier_address", "fieldname": "supplier_address",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Select Supplier Address", "label": "Supplier Address",
"options": "Address", "options": "Address",
"print_hide": 1 "print_hide": 1
}, },
@ -330,7 +341,7 @@
{ {
"fieldname": "shipping_address", "fieldname": "shipping_address",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Select Shipping Address", "label": "Shipping Address Template",
"options": "Address", "options": "Address",
"print_hide": 1 "print_hide": 1
}, },
@ -410,10 +421,11 @@
}, },
{ {
"fieldname": "sec_warehouse", "fieldname": "sec_warehouse",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"hide_border": 1,
"label": "Items"
}, },
{ {
"description": "Sets 'Accepted Warehouse' in each row of the items table.",
"fieldname": "set_warehouse", "fieldname": "set_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Accepted Warehouse", "label": "Accepted Warehouse",
@ -421,7 +433,6 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"description": "Sets 'Rejected Warehouse' in each row of the items table.",
"fieldname": "rejected_warehouse", "fieldname": "rejected_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Rejected Warehouse", "label": "Rejected Warehouse",
@ -461,6 +472,7 @@
{ {
"fieldname": "items_section", "fieldname": "items_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hide_border": 1,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-shopping-cart" "options": "fa fa-shopping-cart"
}, },
@ -571,6 +583,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "total_net_weight",
"fieldname": "total_net_weight", "fieldname": "total_net_weight",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Total Net Weight", "label": "Total Net Weight",
@ -578,11 +591,11 @@
"read_only": 1 "read_only": 1
}, },
{ {
"description": "Add / Edit Taxes and Charges",
"fieldname": "taxes_charges_section", "fieldname": "taxes_charges_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"oldfieldtype": "Section Break", "hide_border": 1,
"options": "fa fa-money" "label": "Taxes and Charges",
"oldfieldtype": "Section Break"
}, },
{ {
"fieldname": "tax_category", "fieldname": "tax_category",
@ -603,7 +616,8 @@
}, },
{ {
"fieldname": "taxes_section", "fieldname": "taxes_section",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"hide_border": 1
}, },
{ {
"fieldname": "taxes_and_charges", "fieldname": "taxes_and_charges",
@ -709,7 +723,6 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "discount_amount",
"fieldname": "section_break_42", "fieldname": "section_break_42",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Additional Discount" "label": "Additional Discount"
@ -749,7 +762,8 @@
}, },
{ {
"fieldname": "section_break_46", "fieldname": "section_break_46",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"label": "Totals"
}, },
{ {
"fieldname": "base_grand_total", "fieldname": "base_grand_total",
@ -841,15 +855,6 @@
"fieldtype": "Check", "fieldtype": "Check",
"label": "Disable Rounded Total" "label": "Disable Rounded Total"
}, },
{
"collapsible": 1,
"collapsible_depends_on": "terms",
"fieldname": "terms_section_break",
"fieldtype": "Section Break",
"label": "Terms and Conditions",
"oldfieldtype": "Section Break",
"options": "fa fa-legal"
},
{ {
"fieldname": "tc_name", "fieldname": "tc_name",
"fieldtype": "Link", "fieldtype": "Link",
@ -866,14 +871,6 @@
"oldfieldname": "terms", "oldfieldname": "terms",
"oldfieldtype": "Text Editor" "oldfieldtype": "Text Editor"
}, },
{
"collapsible": 1,
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Information",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text"
},
{ {
"default": "Draft", "default": "Draft",
"fieldname": "status", "fieldname": "status",
@ -924,7 +921,6 @@
"width": "50%" "width": "50%"
}, },
{ {
"description": "Track this Purchase Receipt against any Project",
"fieldname": "project", "fieldname": "project",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Project", "label": "Project",
@ -941,7 +937,7 @@
{ {
"fieldname": "subscription_detail", "fieldname": "subscription_detail",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Auto Repeat Detail" "label": "Auto Repeat"
}, },
{ {
"fieldname": "auto_repeat", "fieldname": "auto_repeat",
@ -1025,7 +1021,7 @@
"collapsible_depends_on": "transporter_name", "collapsible_depends_on": "transporter_name",
"fieldname": "transporter_info", "fieldname": "transporter_info",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Transporter Details", "label": "Transporter",
"options": "fa fa-truck" "options": "fa fa-truck"
}, },
{ {
@ -1087,7 +1083,7 @@
{ {
"fieldname": "billing_address", "fieldname": "billing_address",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Select Billing Address", "label": "Billing Address",
"options": "Address" "options": "Address"
}, },
{ {
@ -1113,7 +1109,6 @@
}, },
{ {
"depends_on": "eval: doc.is_internal_supplier", "depends_on": "eval: doc.is_internal_supplier",
"description": "Sets 'From Warehouse' in each row of the items table.",
"fieldname": "set_from_warehouse", "fieldname": "set_from_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Set From Warehouse", "label": "Set From Warehouse",
@ -1151,13 +1146,85 @@
"hidden": 1, "hidden": 1,
"label": "Is Old Subcontracting Flow", "label": "Is Old Subcontracting Flow",
"read_only": 1 "read_only": 1
},
{
"fieldname": "address_and_contact_tab",
"fieldtype": "Tab Break",
"label": "Address & Contact"
},
{
"fieldname": "terms_tab",
"fieldtype": "Tab Break",
"label": "Terms"
},
{
"fieldname": "more_info_tab",
"fieldtype": "Tab Break",
"label": "More Info"
},
{
"fieldname": "connections_tab",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"fieldname": "column_break_12",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_31",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_43",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_53",
"fieldtype": "Column Break"
},
{
"fieldname": "section_break_98",
"fieldtype": "Section Break",
"label": "Company Shipping Address"
},
{
"fieldname": "billing_address_section",
"fieldtype": "Section Break",
"label": "Company Billing Address"
},
{
"collapsible": 1,
"fieldname": "status_section",
"fieldtype": "Section Break",
"label": "Status",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text"
},
{
"fieldname": "additional_info_section",
"fieldtype": "Section Break",
"label": "Additional Info"
},
{
"fieldname": "column_break_131",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_100",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_104",
"fieldtype": "Column Break"
} }
], ],
"icon": "fa fa-truck", "icon": "fa fa-truck",
"idx": 261, "idx": 261,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-09-16 17:45:58.430132", "modified": "2022-10-11 13:02:31.776256",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Purchase Receipt", "name": "Purchase Receipt",