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

POS Total Amount not changing on removal of an item from cart. #41103

Open
nrhdasa opened this issue Apr 19, 2024 · 0 comments
Open

POS Total Amount not changing on removal of an item from cart. #41103

nrhdasa opened this issue Apr 19, 2024 · 0 comments
Labels

Comments

@nrhdasa
Copy link

nrhdasa commented Apr 19, 2024

Information about bug

In POS, whenever we remove an item from cart, the total amount of cart doesn't get refreshed and ends with the error in console.
image

Module

selling

Version

Frappe Version : v15.23.0
ERPNext Version : v15.20.5

Installation method

None

Relevant log output / Stack trace / Full Error Message.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'price_list_rate')
    at Object.round_floats_in (model.js:793:25)
    at FormController._set_values_for_item_list (transaction.js:1700:17)
    at frappe.run_serially.me.in_apply_price_list (transaction.js:1800:12)

TypeError: Cannot read properties of undefined (reading 'price_list_rate')
    at Object.round_floats_in (model.js:793:25)
    at FormController._set_values_for_item_list (transaction.js:1700:17)
    at Object.callback [as original_callback] (transaction.js:1590:9)
    at opts.callback (form.js:1725:36)
    at Object.callback [as success_callback] (request.js:85:16)
    at 200 (request.js:133:34)
    at Object.<anonymous> (request.js:305:6)
    at fire (jquery.js:3213:31)
    at Object.fireWith [as resolveWith] (jquery.js:3343:7)
    at done (jquery.js:9617:14)
@nrhdasa nrhdasa added the bug label Apr 19, 2024
@nrhdasa nrhdasa changed the title POS Total Amount not changing on removal of a item from cart. POS Total Amount not changing on removal of an item from cart. Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant