Merge pull request #27927 from Anuja-pawar/invoice-sections

fix: minor ux fixes in Sales & Purchase Invoice
This commit is contained in:
Deepesh Garg 2021-10-12 23:05:48 +05:30 committed by GitHub
commit 0b263c5100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 26 deletions

View File

@ -149,16 +149,18 @@
"cb_17", "cb_17",
"hold_comment", "hold_comment",
"more_info", "more_info",
"status",
"inter_company_invoice_reference",
"represents_company",
"column_break_147",
"is_internal_supplier",
"accounting_details_section",
"credit_to", "credit_to",
"party_account_currency", "party_account_currency",
"is_opening", "is_opening",
"against_expense_account", "against_expense_account",
"column_break_63", "column_break_63",
"unrealized_profit_loss_account", "unrealized_profit_loss_account",
"status",
"inter_company_invoice_reference",
"is_internal_supplier",
"represents_company",
"remarks", "remarks",
"subscription_section", "subscription_section",
"from_date", "from_date",
@ -1171,6 +1173,15 @@
"options": "fa fa-file-text", "options": "fa fa-file-text",
"print_hide": 1 "print_hide": 1
}, },
{
"default": "0",
"fetch_from": "supplier.is_internal_supplier",
"fieldname": "is_internal_supplier",
"fieldtype": "Check",
"ignore_user_permissions": 1,
"label": "Is Internal Supplier",
"read_only": 1
},
{ {
"fieldname": "credit_to", "fieldname": "credit_to",
"fieldtype": "Link", "fieldtype": "Link",
@ -1196,7 +1207,7 @@
"default": "No", "default": "No",
"fieldname": "is_opening", "fieldname": "is_opening",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Is Opening", "label": "Is Opening Entry",
"oldfieldname": "is_opening", "oldfieldname": "is_opening",
"oldfieldtype": "Select", "oldfieldtype": "Select",
"options": "No\nYes", "options": "No\nYes",
@ -1298,15 +1309,6 @@
"fieldname": "dimension_col_break", "fieldname": "dimension_col_break",
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{
"default": "0",
"fetch_from": "supplier.is_internal_supplier",
"fieldname": "is_internal_supplier",
"fieldtype": "Check",
"ignore_user_permissions": 1,
"label": "Is Internal Supplier",
"read_only": 1
},
{ {
"fieldname": "tax_withholding_category", "fieldname": "tax_withholding_category",
"fieldtype": "Link", "fieldtype": "Link",
@ -1395,13 +1397,24 @@
"hidden": 1, "hidden": 1,
"label": "Ignore Default Payment Terms Template", "label": "Ignore Default Payment Terms Template",
"read_only": 1 "read_only": 1
},
{
"collapsible": 1,
"fieldname": "accounting_details_section",
"fieldtype": "Section Break",
"label": "Accounting Details",
"print_hide": 1
},
{
"fieldname": "column_break_147",
"fieldtype": "Column Break"
} }
], ],
"icon": "fa fa-file-text", "icon": "fa fa-file-text",
"idx": 204, "idx": 204,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2021-09-28 13:10:28.351810", "modified": "2021-10-12 20:55:16.145651",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Purchase Invoice", "name": "Purchase Invoice",

View File

@ -124,6 +124,13 @@
"total_advance", "total_advance",
"outstanding_amount", "outstanding_amount",
"disable_rounded_total", "disable_rounded_total",
"column_break4",
"write_off_amount",
"base_write_off_amount",
"write_off_outstanding_amount_automatically",
"column_break_74",
"write_off_account",
"write_off_cost_center",
"advances_section", "advances_section",
"allocate_advances_automatically", "allocate_advances_automatically",
"get_advances", "get_advances",
@ -144,13 +151,6 @@
"column_break_90", "column_break_90",
"change_amount", "change_amount",
"account_for_change_amount", "account_for_change_amount",
"column_break4",
"write_off_amount",
"base_write_off_amount",
"write_off_outstanding_amount_automatically",
"column_break_74",
"write_off_account",
"write_off_cost_center",
"terms_section_break", "terms_section_break",
"tc_name", "tc_name",
"terms", "terms",
@ -161,14 +161,14 @@
"column_break_84", "column_break_84",
"language", "language",
"more_information", "more_information",
"status",
"inter_company_invoice_reference", "inter_company_invoice_reference",
"is_internal_customer",
"represents_company", "represents_company",
"customer_group", "customer_group",
"campaign", "campaign",
"is_discounted",
"col_break23", "col_break23",
"status", "is_internal_customer",
"is_discounted",
"source", "source",
"more_info", "more_info",
"debit_to", "debit_to",
@ -2031,7 +2031,7 @@
"link_fieldname": "consolidated_invoice" "link_fieldname": "consolidated_invoice"
} }
], ],
"modified": "2021-10-02 03:36:10.251715", "modified": "2021-10-11 20:19:38.667508",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Sales Invoice", "name": "Sales Invoice",