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

required positional argument : customer. Ready for PR #647

Open
1 task done
johnwslongland opened this issue Apr 11, 2025 · 0 comments
Open
1 task done

required positional argument : customer. Ready for PR #647

johnwslongland opened this issue Apr 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@johnwslongland
Copy link
Contributor

Information about bug

Replication:

Goto > Sales Invoice : [ no patient selected ]
Goto > Get Items From > Healthcare Services

Error message
Server Error: get_healthcare_services_to_invoice() missing 1 required positional argument : customer

This is because, in the "refresh" trigger, a frappe.db.get_value is executed without checking if "patient" contains
data.

Ready to do PR on this, once my previous PR has been adjudicated.

Image

Module

Outpatient Module

Version

ERPNext: v15.55.4 (version-15)

Frappe Framework: v15.63.0 (version-15)

Marley Health: v16.0.0-dev (develop)

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

See attached screenshot

Code of Conduct

  • I agree to follow this project's Code of Conduct
@johnwslongland johnwslongland added the bug Something isn't working label Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant