fix: make credit note and debit note exclusive (#35781)
This commit is contained in:
parent
c1da3ddbbf
commit
4fbff20954
@ -320,6 +320,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"default": "0",
|
"default": "0",
|
||||||
|
"depends_on": "eval: !doc.is_debit_note",
|
||||||
"fieldname": "is_return",
|
"fieldname": "is_return",
|
||||||
"fieldtype": "Check",
|
"fieldtype": "Check",
|
||||||
"hide_days": 1,
|
"hide_days": 1,
|
||||||
@ -1960,6 +1961,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"default": "0",
|
"default": "0",
|
||||||
|
"depends_on": "eval: !doc.is_return",
|
||||||
"description": "Issue a debit note with 0 qty against an existing Sales Invoice",
|
"description": "Issue a debit note with 0 qty against an existing Sales Invoice",
|
||||||
"fieldname": "is_debit_note",
|
"fieldname": "is_debit_note",
|
||||||
"fieldtype": "Check",
|
"fieldtype": "Check",
|
||||||
@ -2155,7 +2157,7 @@
|
|||||||
"link_fieldname": "consolidated_invoice"
|
"link_fieldname": "consolidated_invoice"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"modified": "2023-06-03 16:22:16.219333",
|
"modified": "2023-06-19 16:02:05.309332",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Sales Invoice",
|
"name": "Sales Invoice",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user