feat(selling): surface proforma settings in Selling Settings tabs

- Move the Proforma Invoice settings section from the Subcontracting Inward tab
  to the Transaction tab
- List Proforma Invoice in the Document Naming tab so its naming series can be
  configured there
This commit is contained in:
Nabin Hait
2026-07-19 11:21:41 +05:30
parent 2a9603fcd6
commit 7314cedd53
2 changed files with 4 additions and 3 deletions

View File

@@ -50,6 +50,7 @@ function get_transactions(frm) {
{ label: __("Sales Order"), doctype: "Sales Order" }, { label: __("Sales Order"), doctype: "Sales Order" },
{ label: __("Sales Invoice"), doctype: "Sales Invoice" }, { label: __("Sales Invoice"), doctype: "Sales Invoice" },
{ label: __("Delivery Note"), doctype: "Delivery Note" }, { label: __("Delivery Note"), doctype: "Delivery Note" },
{ label: __("Proforma Invoice"), doctype: "Proforma Invoice" },
]; ];
if (frm.doc.cust_master_name !== "Naming Series") { if (frm.doc.cust_master_name !== "Naming Series") {

View File

@@ -48,6 +48,9 @@
"allow_zero_qty_in_sales_order", "allow_zero_qty_in_sales_order",
"blanket_orders_section", "blanket_orders_section",
"blanket_order_allowance", "blanket_order_allowance",
"proforma_invoice_section",
"enable_proforma_invoice",
"default_proforma_print_format",
"advanced_features_tab", "advanced_features_tab",
"section_break_avhb", "section_break_avhb",
"enable_tracking_sales_commissions", "enable_tracking_sales_commissions",
@@ -60,9 +63,6 @@
"allow_delivery_of_overproduced_qty", "allow_delivery_of_overproduced_qty",
"column_break_mla9", "column_break_mla9",
"deliver_secondary_items", "deliver_secondary_items",
"proforma_invoice_section",
"enable_proforma_invoice",
"default_proforma_print_format",
"default_naming_tab", "default_naming_tab",
"transaction_naming_html" "transaction_naming_html"
], ],