chore: rename 'unreconcile payments' to 'unreconcile payment'
This commit is contained in:
parent
f50d933a25
commit
9006c9b747
@ -10,7 +10,7 @@ from erpnext.accounts.doctype.sales_invoice.test_sales_invoice import create_sal
|
|||||||
from erpnext.accounts.test.accounts_mixin import AccountsTestMixin
|
from erpnext.accounts.test.accounts_mixin import AccountsTestMixin
|
||||||
|
|
||||||
|
|
||||||
class TestUnreconcilePayments(AccountsTestMixin, FrappeTestCase):
|
class TestUnreconcilePayment(AccountsTestMixin, FrappeTestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.create_company()
|
self.create_company()
|
||||||
self.create_customer()
|
self.create_customer()
|
||||||
@ -1,7 +1,7 @@
|
|||||||
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors
|
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors
|
||||||
// For license information, please see license.txt
|
// For license information, please see license.txt
|
||||||
|
|
||||||
frappe.ui.form.on("Unreconcile Payments", {
|
frappe.ui.form.on("Unreconcile Payment", {
|
||||||
refresh(frm) {
|
refresh(frm) {
|
||||||
frm.set_query("voucher_type", function() {
|
frm.set_query("voucher_type", function() {
|
||||||
return {
|
return {
|
||||||
@ -61,7 +61,7 @@
|
|||||||
"modified": "2023-08-28 17:42:50.261377",
|
"modified": "2023-08-28 17:42:50.261377",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Unreconcile Payments",
|
"name": "Unreconcile Payment",
|
||||||
"naming_rule": "Expression",
|
"naming_rule": "Expression",
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
@ -15,7 +15,7 @@ from erpnext.accounts.utils import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class UnreconcilePayments(Document):
|
class UnreconcilePayment(Document):
|
||||||
def validate(self):
|
def validate(self):
|
||||||
self.supported_types = ["Payment Entry", "Journal Entry"]
|
self.supported_types = ["Payment Entry", "Journal Entry"]
|
||||||
if not self.voucher_type in self.supported_types:
|
if not self.voucher_type in self.supported_types:
|
||||||
Loading…
x
Reference in New Issue
Block a user