fix: make credit note and debit note exclusive (#35781)
* fix: make credit note and debit note exclusive (#35781)
(cherry picked from commit 4fbff20954)
# Conflicts:
# erpnext/accounts/doctype/sales_invoice/sales_invoice.json
* chore: resolve conflicts
---------
Co-authored-by: Smit Vora <smitvora203@gmail.com>
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
This commit is contained in:
@@ -320,6 +320,7 @@
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"depends_on": "eval: !doc.is_debit_note",
|
||||
"fieldname": "is_return",
|
||||
"fieldtype": "Check",
|
||||
"hide_days": 1,
|
||||
@@ -1959,6 +1960,7 @@
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"depends_on": "eval: !doc.is_return",
|
||||
"description": "Issue a debit note with 0 qty against an existing Sales Invoice",
|
||||
"fieldname": "is_debit_note",
|
||||
"fieldtype": "Check",
|
||||
@@ -2153,7 +2155,7 @@
|
||||
"link_fieldname": "consolidated_invoice"
|
||||
}
|
||||
],
|
||||
"modified": "2023-04-28 14:15:59.901154",
|
||||
"modified": "2023-06-19 16:02:05.309332",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Accounts",
|
||||
"name": "Sales Invoice",
|
||||
|
||||
Reference in New Issue
Block a user