fix: Use existing bank fields to match by bank account no/IBAN

- Remove newly added fields in Party doctypes to store bank details
- Use Bank Account's fields to match against account no/iban
- For employee, if Bank Account does not exist, find in Employee doctype against account no/iban
This commit is contained in:
marination
2023-05-09 20:36:07 +05:30
parent 88647c63ba
commit dbf7a479b6
3 changed files with 14 additions and 56 deletions

View File

@@ -61,10 +61,6 @@
"tax_category",
"tax_withholding_category",
"accounting_tab",
"bank_details_section",
"bank_account_no",
"column_break_xtwg",
"iban",
"credit_limit_section",
"payment_terms",
"credit_limits",
@@ -559,25 +555,6 @@
{
"fieldname": "column_break_54",
"fieldtype": "Column Break"
},
{
"fieldname": "bank_details_section",
"fieldtype": "Section Break",
"label": "Bank Details"
},
{
"fieldname": "bank_account_no",
"fieldtype": "Data",
"label": "Bank Account No"
},
{
"fieldname": "column_break_xtwg",
"fieldtype": "Column Break"
},
{
"fieldname": "iban",
"fieldtype": "Data",
"label": "IBAN"
}
],
"icon": "fa fa-user",
@@ -591,7 +568,7 @@
"link_fieldname": "party"
}
],
"modified": "2023-03-30 15:45:44.387975",
"modified": "2023-05-09 15:38:40.255193",
"modified_by": "Administrator",
"module": "Selling",
"name": "Customer",