Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleted doc type (Payment Gateway) is still referenced #45220

Open
saivineeth100 opened this issue Jan 11, 2025 · 6 comments
Open

Deleted doc type (Payment Gateway) is still referenced #45220

saivineeth100 opened this issue Jan 11, 2025 · 6 comments
Assignees
Labels

Comments

@saivineeth100
Copy link

saivineeth100 commented Jan 11, 2025

Information about bug

image
I observed that DocType : Payment Gateway is deleted here

but it is still referenced in Payment Gateway Account

{
"fieldname": "payment_gateway",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Payment Gateway",
"options": "Payment Gateway",
"reqd": 1
},

Module

accounts

Version

ERPNext: v15.48.2

Frappe Framework: v15.51.2

Installation method

docker

Relevant log output / Stack trace / Full Error Message.

No response

@maniamartial
Copy link
Contributor

Did you install the payments app and uninstall by any chance?

@saivineeth100
Copy link
Author

saivineeth100 commented Jan 12, 2025

its fresh install,
just try running tests in ERP Next, this error is coming

It's not specific to any installation as it is there in main branch also

{
"fieldname": "payment_gateway",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Payment Gateway",
"options": "Payment Gateway",
"reqd": 1
},

@maniamartial
Copy link
Contributor

Just install payment app and it will solve the issue. I think maybe we need to push the payment gateway account to payments app to avoid this or vice vice versa.

@saivineeth100
Copy link
Author

I know that, by default ERP next is not dependent on payments app,
so, I believe it's not ideal to keep that reference

@maniamartial
Copy link
Contributor

@nabinhait Can we push this to Payment Gateway Account to payments, or vice-versa we bring the Payment Gateway in ERPNext.
Or we Payment Gateway reference as a data field.

@nabinhait
Copy link
Member

Thanks for reporting the issue. We will move payment_gateway field to the Payments app and create those field as custom field on installation of payments app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants