Code Monkey home page Code Monkey logo

erpnext-restaurant's People

Contributors

alaabadry avatar alphabit-technology avatar aramirezarg avatar phalouvas avatar rpineda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

erpnext-restaurant's Issues

Double Click on restaurant pos

is there any solution to change double click on pos cashier like new order , pay button to be only one click to be easy for the cashier user
Thanks

When we take order for a table, this error occurs

When we click on + button to take the table order then error is given and when we inspect we see that frappe_helper.api.call:1 is not happening.
I have attached both the screenshots below.

image

image

And one more things for example I took order of 5 tables or its id was generated from OR-2024-00001 to OR-2024-00005 then I deleted all those orders, after deleting those order i create new order the order id was generating OR-2024-00003. It should come from Or-2024-00001 or May be after OR-2024-00006.

Thanks.

Printing Format

hi
i want to change printing format but for pay not for account
please

Clicking on table show blank page with table name

Hi.

I'm trying to install the project on a Debian VM (Debian Bullseye)

Here are the steps I've taken from a fresh install :

Install base packages and configure MariaDB

apt install curl git sudo
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
apt update
apt install -y nodejs mariadb-server redis-server python3-pip nginx python3-testresources python3-distutils python3-setuptools python3.9-venv libssl-dev wkhtmltopdf supervisor
mariadb-secure-installation
adduser erp
adduser erp sudo
modified /etc/mysql/my.cnf for collation settings
modified /etc/mysql/mariadb.conf.d/50-server.cnf for collation settings
service mysql restart

Switch to "erp" user and install a frappe bench :

su erp
sudo npm install -g yarn
pip3 install frappe-bench
export PATH=$PATH:/home/erp/.local/bin
sudo pip3 install frappe-bench
bench init --frappe-branch version-13 frappe-bench
cd frappe-bench/

Install ERPNext

bench new-site site1.local
bench get-app --branch version-13 erpnext
bench --site site1.local install-app erpnext
sudo bench setup production erp
cp config/supervisor.conf /etc/supervisor/conf.d/

Installed Frapper Helper

bench get-app https://github.com/quantumbitcore/frappe_helper.git
bench setup requirements
bench build --app frappe_helper
bench --site site1.local install-app frappe_helper
bench --site site1.local migrate
sudo service supervisor restart

Installed ERPNext-Restaurante

bench get-app https://github.com/quantumbitcore/erpnext-restaurant.git
bench setup requirements
bench build --app restaurant_management
sudo service supervisor restart
bench --site site1.local install-app restaurant_management
bench --site site1.local migrate
bench build
bench clear-cache
bench --site site1.local clear-cache
sudo service supervisor restart

After the install, I've completed the setup on the portal by logging in as administrator, went into the "Restaurant management section" , create a room, a table and production center.
I also created a bunch of products under "stock" -> "items"

When I go into the "Restaurant Management" -> "Restaurant" screen, I see the room and the table.
If I click on the table, this is what I see :

image

I'm not sure what to do next or where to look to troubleshoot this issue.
The supervisor services seem to run fine. This is the output of "supervisorctl"

frappe-bench-redis:frappe-bench-redis-cache RUNNING pid 22656, uptime 0:09:16
frappe-bench-redis:frappe-bench-redis-queue RUNNING pid 22657, uptime 0:09:16
frappe-bench-redis:frappe-bench-redis-socketio RUNNING pid 22658, uptime 0:09:16
frappe-bench-web:frappe-bench-frappe-web RUNNING pid 22659, uptime 0:09:16
frappe-bench-web:frappe-bench-node-socketio RUNNING pid 22660, uptime 0:09:16
frappe-bench-workers:frappe-bench-frappe-default-worker-0 RUNNING pid 22662, uptime 0:09:16
frappe-bench-workers:frappe-bench-frappe-long-worker-0 RUNNING pid 22664, uptime 0:09:16
frappe-bench-workers:frappe-bench-frappe-schedule RUNNING pid 22661, uptime 0:09:16
frappe-bench-workers:frappe-bench-frappe-short-worker-0 RUNNING pid 22663, uptime 0:09:16

I've also noticed that if I try to add a table in the "Restaurant" UI, it doesnt show up immediately. I have to refresh the window for it to show up.

I've checked the browser logs and network requests and nothing seems to be missing.
There is a websocket opening but not much activity there.

When clicking on a table in the Restaurant view, there are 3 ajax calls being made.

The first one to /api/method/erpnext.selling.page.point_of_sale.point_of_sale.check_opening_entry
Which returns :
{"message":[{"name":"POS-OPE-2022-00001","company":"Arawak","pos_profile":"Demo POS Profile","period_start_date":"2022-12-24 16:49:14.015767"}]}

The second one to /api/method/frappe.client.get_value?doctype=Stock+Settings&fieldname=allow_negative_stock&_=1671921703759
Which returns :
{"message":{"allow_negative_stock":"0"}}

The thrids one to /api/method/frappe.client.get?doctype=POS+Profile&name=Demo+POS+Profile&_=1671921703760
Which returns :
{"message":{"name":"Demo POS Profile","owner":"[email protected]","creation":"2022-12-24 15:58:17.192876","modified":"2022-12-24 15:58:17.192876","modified_by":"[email protected]","parent":null,"parentfield":null,"parenttype":null,"idx":0,"docstatus":0,"company":"Arawak","customer":null,"country":"Anguilla","disabled":0,"warehouse":"Finished Goods - ARK","campaign":null,"company_address":null,"hide_images":0,"hide_unavailable_items":0,"auto_add_item_to_cart":0,"validate_stock_on_save":0,"update_stock":1,"ignore_pricing_rule":0,"allow_rate_change":0,"allow_discount_change":0,"print_format":null,"letter_head":null,"tc_name":null,"select_print_heading":null,"selling_price_list":"Standard Selling","currency":"XCD","write_off_account":"Write Off - ARK","write_off_cost_center":"Main - ARK","write_off_limit":1.0,"account_for_change_amount":null,"disable_rounded_total":0,"income_account":null,"expense_account":null,"taxes_and_charges":null,"tax_category":null,"posa_tax_inclusive":0,"apply_discount_on":"Grand Total","cost_center":null,"doctype":"POS Profile","applicable_for_users":[],"payments":[{"name":"bfe701452b","owner":"[email protected]","creation":"2022-12-24 15:58:17.192876","modified":"2022-12-24 15:58:17.192876","modified_by":"[email protected]","parent":"Demo POS Profile","parentfield":"payments","parenttype":"POS Profile","idx":1,"docstatus":0,"default":1,"allow_in_returns":0,"mode_of_payment":"Credit Card","doctype":"POS Payment Method"},{"name":"cf13f8a050","owner":"[email protected]","creation":"2022-12-24 15:58:17.192876","modified":"2022-12-24 15:58:17.192876","modified_by":"[email protected]","parent":"Demo POS Profile","parentfield":"payments","parenttype":"POS Profile","idx":2,"docstatus":0,"default":0,"allow_in_returns":0,"mode_of_payment":"Cash","doctype":"POS Payment Method"}],"item_groups":[],"customer_groups":[]}}

Have I missed something in the configuration ?

PS : I also tried installing the "develop" branch but that didnt make a difference

Any pointers as to what could be going on would be greatly appreciated.

Restaurant Management app Lags and Need to Refresh everytime

Hi quantumbitcore.

first of all. i love what you did for the restaurant management. i have integrate it to ERPNext and test it out. the UI is good and the functions are even better. its just that, there are lags on the restaurant management app. each time i add new tables, add new item to the menu and add item to the cart, it lags and didn't update directly. i have to refresh the website first to see the changes in the UI. maybe you could support me with some insights on how to mitigate this lag? i am using ERPNext V13 btw.

i suspect it has something to do with ERPNext Socket.io that handles the real-time updates, but i am not sure also. my VM has adequate numbers of cores and RAM so the server side will not be the issue. i am still new with this ERPNext hahahaha. Please do assist me on solving this thank you so much.

Some extra feature

add little feature on kitchen card how can i add customer name or any field inside item to display on kitchen order card is it possible?

fix errors: when installing restaurant_management on ERPNext-v14, it shows me the following

Hi, I recently installed ERPNext V14 on a new server, where I installed:

  • frappe_helper
  • restaurant_management

But, this is displayed on the browser screen, I think the restaurant_management workspace was not created correctly

** ๐Ÿ‘ I would really appreciate your help**

List Apps

+------------------------+-----------+------------+---------+
| App                    | Version   | Branch     | Commit  |
+------------------------+-----------+------------+---------+
| ecommerce_integrations | 2.0.0-dev | develop    | 1cbdf6b |
| erpnext                | 14.12.1   | version-14 | 1b3df09 |
| frappe                 | 14.22.1   | version-14 | 565ee37 |
| frappe_helper          | 0.2.8     | master     | ba14199 |
| hospitality            | 0.0.1     | develop    | 078f5b2 |
| hrms                   | 1.0.0     | develop    | f9c9ba3 |
| payments               | 0.0.1     | develop    | b66a784 |
| restaurant_management  | 1.3.7     | master     | cc3823a |
+------------------------+-----------+------------+---------+

Screenshots

Workspace -> Restaurant Management, shows blank

image

If I go to this route in the browser, it shows me the following message:

image

Object not found

After installation, I could not see were to create table and production. The error message on Object click is "Object not found".

Erpnext V13.14 OVA production

Showing Price

Hello,

I appreciate the work done on the restaurant app. It's been a great experience so far.

I've encountered an issue, and I'm hoping to get some guidance on how to resolve it. When I select an item, it doesn't display on the right side as expected. Could you please provide some insights on how I can fix this?

Thank you in advance for your assistance!

Screenshot 2023-11-11 015951

@alphabit-technology

Frappe v15 compatibility?

Is it possible to make it run over frappe v15? or any plans in the near future?

I've tried it but keep getting this error on the last step (migrate):

File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/utils.py", line 241, in load_doctype_module
    raise ImportError(msg) from e
      doctype = 'Desk Form'
      module = 'Frappe Helper'
      prefix = ''
      suffix = ''
      app = 'frappe_helper'
      key = ('frappe_helper', 'Desk Form', '', '')
      module_name = 'frappe_helper.frappe_helper.doctype.desk_form.desk_form'
      msg = "Module import failed for Desk Form, the DocType you're trying to open might be deleted.<br> Error: cannot import name 'get_max_file_size' from 'frappe.core.doctype.file.file' (/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py)"
builtins.ImportError: Module import failed for Desk Form, the DocType you're trying to open might be deleted.<br> Error: cannot import name 'get_max_file_size' from 'frappe.core.doctype.file.file' (/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py)

any thoughts?
thanks in advance!

Wrong discounted prices

Items has fixed prices. When adding items to tables, price is getting discounted. There is no pricing rule or anything that justify this behavior.

Loyalty Points Program is not working

We have enabled a loyalty points program for the customer and there are loyalty points balances available but the payment screen does not show the redemption option.

desk form restaurant-room not found

hello
1- iam always see this notification when i edit restaurant name or table
2- after add new restaurant i must refresh page to show it
thanks
12122333

CRITICAL: Unable to install this app.

Frappe/ERPNext Version: Version 13

During get-app:

Installing restaurant_management
$ ./env/bin/python -m pip install -q -U -e ./apps/restaurant_management
ERROR: Could not find a version that satisfies the requirement frappe_helper (from restaurant-management) (from versions: none)
ERROR: No matching distribution found for frappe_helper

The problem is with requirements.txt:

Screenshot 2021-12-06 at 1 44 42 PM

This dependencies should not be put in requirements.txt. This are already present in bench, removing these should fix the issue.

UI not updating

UI not updating new order creation , order deletion, and other actions. Things get done in the background and you have to refresh manually or reopen the table to see changes.

Page restaurant-object not found

Hi , after installation , in restaurant management module when i going to Restaurant its showing a blank page , also while clicking in object "Page restaurant-object not found" is popping up

Closing Pos Amount

hello
I tried To Close Pos Profile but not showing all my pos real amount its give me closing amount 0 although i already have orders .
thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.