Hey @youssef great work you’ve done here, I’d like to find out how the “sales of scale (weighted) products” works. We’re generating barcodes from a scale, how do we get ERPNext to know which item that barcode is referring to.
Thanks in advance
Hey @youssef great work you’ve done here, I’d like to find out how the “sales of scale (weighted) products” works. We’re generating barcodes from a scale, how do we get ERPNext to know which item that barcode is referring to.
Thanks in advance
@adam26d and I managed to figure it out.
The catch is to only add the first 7 digits of your barcode to the item like so
POS Profile starts with
Works just fine
Is POS Awesome running on version 12
Yes it does
How do I install the unmet dependency vue.js
Firstly, Thank you for the great app
I installed POS Awesome on local VM without any errors.
ERPNext: v12.18.0 (version-12)
Frappe Framework: v12.15.0 (version-12)
POS Awesome: v1.0.3 (master)
and I created new POS Profile but when I tried to open POS Awesome (http://192.168.1.11/desk#posapp) I have gotten empty page and I can not open or see the App UI.
please help me, what is the problem?
Hello and welcome to the forum,
Can you look at console and see if there is any error.
there is no error, I got this
Blockquote
16:43:59 web.1 | 127.0.0.1 - - [12/Mar/2021 16:43:59] “GET /desk HTTP/1.0” 200 -
16:44:03 web.1 | 127.0.0.1 - - [12/Mar/2021 16:44:03] “POST /api/method/erpnext.accounts.doctype.accounting_dimension.accounting_dimension.get_dimension_filters HTTP/1.0” 200 -
16:44:03 web.1 | 127.0.0.1 - - [12/Mar/2021 16:44:03] “POST /api/method/frappe.core.doctype.user_permission.user_permission.get_user_permissions HTTP/1.0” 200 -
16:44:03 web.1 | 127.0.0.1 - - [12/Mar/2021 16:44:03] “POST /api/method/frappe.client.get_hooks HTTP/1.0” 200 -
16:44:03 web.1 | 127.0.0.1 - - [12/Mar/2021 16:44:03] “GET /api/method/frappe.realtime.get_user_info?sid=1ef6d36b9aa978d3606f95b0dca6b9100a261a41d72e1c8b848b75f5 HTTP/1.0” 200 -
16:44:08 web.1 | 127.0.0.1 - - [12/Mar/2021 16:44:08] “POST /api/method/frappe.chat.doctype.chat_profile.chat_profile.create HTTP/1.0” 200 -
16:44:09 web.1 | 127.0.0.1 - - [12/Mar/2021 16:44:09] “POST /api/method/frappe.chat.doctype.chat_profile.chat_profile.create HTTP/1.0” 200 -
16:44:11 web.1 | 127.0.0.1 - - [12/Mar/2021 16:44:11] “POST /api/method/frappe.chat.doctype.chat_room.chat_room.get HTTP/1.0” 200 -
16:44:13 web.1 | 127.0.0.1 - - [12/Mar/2021 16:44:13] “GET /api/method/frappe.desk.form.load.getdoc?doctype=Notification+Settings&name=Administrator&=1615567440600 HTTP/1.0" 200 -
16:44:14 web.1 | 127.0.0.1 - - [12/Mar/2021 16:44:14] "GET /api/method/frappe.model.db_query.get_list?fields=%5B%22*%22%5D&limit=20&order_by=creation+desc&doctype=Notification+Log&=1615567440601 HTTP/1.0” 200 -
Blockquote
I found a solution, After installing POS Awesome:
bench update --requirements
bench clear-cache
bench build
bench start
Did you follow the installation method correctly?
How to Install
1.bench get-app https://github.com/yrestom/POS-Awesome.git
2.bench setup requirements
3.bench build --app posawesome
4.bench restart
5.bench --site [your.site.name] install-app posawesome
6.bench --site [your.site.name] migrate
Yes, I imported ERPNext VM from (http://build.erpnext.com/ERPNext-Production.ova) and updated bench, then I installed POS Awesome by following your steps but I found the problem and It has been fixed after I used these bench commands:
bench update --requirements
bench clear-cache
bench build
and I also changed it to development environment.
Hey again,
I found a miscalculation and bug in Royalty points redemption and I created github issue.
[BUG]: Royalty points redemption miscalculation #45
Nice catch
The assumption was that you will do it the other way round.
USD 20 to earn 1 point
1 point = USD 1
Pending when @youssef does the fix you might want to change to this approach. It gives the customer the same points/usd at the end of the day.
Thank you for solution
But Why POS Awesome does not deduct the royalty points after redemption. app added the new points but not deducted the used points. How can I fix that?
Please add offline feature as well.
Hi,
This is great. Thanks for building this. It looks, well, awesome so far.
When I try on a recently upgraded ver 12 instance of ERPNext and when I add to a Cart and then use Pay, I get the following error in my browser console.
I guess I am missing something:
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 67, in application
response = frappe.api.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/api.py”, line 59, in handle
return frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 24, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 64, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 1075, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/posawesome/posawesome/posawesome/api/posapp.py”, line 268, in save_draft_invoice
invoice_doc.save()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 273, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 296, in _save
self.insert()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 231, in insert
self._validate()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 461, in _validate
self._validate_mandatory()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 747, in _validate_mandatory
raise frappe.MandatoryError(‘[{doctype}, {name}]: {fields}’.format(
frappe.exceptions.MandatoryError: [Sales Invoice, SPN/21-22/00052]: posting_date
Thanks
Jay
Figured out the problem. The default value for Update Date and Time was Enabled (default value 1) in the Sales Invoice document and when changed that, the Sales Invoice went through just fine.
Thanks
Jay
Is this app already integrated in ERPNext v13? I saw two more options in POS profile after installing the app, but for the most part, it looks the same as the official POS.
Did you search for POS Awesome?