Hi,
we have an installation of ERPnext v4 on our server. The webshop is activated, but when someone wants to add a product is to the Cart. It give an error: ‘Error: Value missing for: Subject’
Hi, Thank you.
Does that mean that version 4 did not supported shopping cart at all?
Is it possible to move to version 5 by keeping all the customizations (both ERP an web) that we have done to version 4? Please give me a link to read about it. Thanks!
I have solved one error: Error: Value missing for: Sales Partner
For this I edited my test user in the ERP, by assigning proper Territory and Sales Partner.
Now I don’t know, what means ‘Subject’ in the context of the shopping cart. Could it be that shopping cart module is not properly installed? How do I check that?
Hello rmehta,
One and half years later I decided to try fresh install on a new Ubuntu 14 server. An I receive the same error, when I try to add items to the shopping cart.
The error related to Sales Partner can be solved as i described above by me. But what is this issue with “Subject?”. Now I installed ERPNext v7.2.13
Please help us figure this out. I wonder whether there are any users who really use the e-shop functionality of ERPnext? I would really like to do that on our site too.
Here is a trace of the error you are having (in Chrome, Ctrl-Shift-i brings up the console):
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 56, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 42, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 900, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/shopping_cart/cart.py”, line 91, in update_cart
quotation.save()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 223, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 246, in _save
self.insert()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 190, in insert
self._validate()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 388, in _validate
self._validate_mandatory()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 608, in _validate_mandatory
name=self.name))
MandatoryError: [Quotation, QTN-00004]: subject
Do you have any customization in the Quotation doctype?
No, with this fresh installation I tried not to change any files in the server. I only configure what is accessible from ERPnext interface.
I have an older installation working on a production server and what I understood is that once I change files in the server, it becomes difficult to update to a newrs version afterwards. This is why I don’t touch doctype files in this new testing server.
Finally solved this! Ben thank you very much for gettin me on track.
The problem was that I had a mandatory field in “Quotations” module called “Subject”. Now I unchecked the mandatory checkbox. Then it showed another error that quotation QUO-00004 is duplicate. Then I understood that after importing Quotations from our older system, I have not updated numbers or QUO- naming series. Once I did that, adding to car works like a charm.