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

Creation of a shipment from Customer to Company leads to the error "AttributeError: 'NoneType' object has no attribute 'phone'" #28

Open
bastelfeak opened this issue Aug 21, 2024 · 0 comments

Comments

@bastelfeak
Copy link

Installed Apps
ALYF Banking: v15.2.1
ERPNext: v15.30.0
ERPNext Shipping: v15.0.1
Frappe Framework: v15.35.0
Frappe HR: v15.24.0
WooCommerce Fusion: v1.7.1

If we create the return label in shipment and use as "Pick Up From" "Customer" and as "Delivery to" "Company" it still tries to get the company contact phone from the "Pick Up From" field.

Because the customer is not linked to the company it leads to the error "AttributeError: 'NoneType' object has no attribute 'phone'"

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

No branches or pull requests

1 participant