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

Create Quotation from web site #42129

Closed
thida-bcn opened this issue Jul 1, 2024 · 1 comment
Closed

Create Quotation from web site #42129

thida-bcn opened this issue Jul 1, 2024 · 1 comment
Labels

Comments

@thida-bcn
Copy link

Information about bug

choose items at website
image

click add to quote
go to quote
image
request for quote
image

image

Traceback (most recent call last):
File "apps/frappe/frappe/website/serve.py", line 20, in get_response
response = renderer_instance.render()
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 84, in render
html = self.get_html()
File "apps/frappe/frappe/website/utils.py", line 523, in cache_html_decorator
html = func(*args, **kwargs)
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 95, in get_html
self.update_context()
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 163, in update_context
data = self.run_pymodule_method("get_context")
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 223, in run_pymodule_method
return method(self.context)
File "apps/webshop/webshop/templates/pages/order.py", line 43, in get_context
"Customer", context.doc.customer, "loyalty_program"
AttributeError: 'Quotation' object has no attribute 'customer'

Module

selling, ecommerce

Version

ERPNext: v15.27.1 (version-15)

Frappe Framework: v15.29.1 (version-15)

Frappe HR: v15.22.1 (version-15)

Payments: v0.0.1 (version-15)

Webshop: v0.0.1 (version-15)

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

No response

@thida-bcn thida-bcn added the bug label Jul 1, 2024
@Nihantra-Patel
Copy link
Contributor

Issue already raised in webshop app: frappe/webshop#146 & frappe/webshop#114

PR already raised: frappe/webshop#139

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants