Skip to content

required positional argument : customer. Ready for PR #647

@johnwslongland

Description

@johnwslongland

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions