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

[Bug] [JS] Make Sales Order breaks with Custom Fields #7300

Closed
vjFaLk opened this issue Dec 22, 2016 · 0 comments
Closed

[Bug] [JS] Make Sales Order breaks with Custom Fields #7300

vjFaLk opened this issue Dec 22, 2016 · 0 comments
Labels

Comments

@vjFaLk
Copy link
Contributor

vjFaLk commented Dec 22, 2016

On Frappe (Latest Dev) + ERPNext (Latest Dev) + Custom Fields + Property Setters

image

Uncaught TypeError: Cannot read property 'map' of undefined
    at Class.get_selected (http://erpdev.com/assets/js/form.min.js:267:513)
    at http://erpdev.com/assets/js/form.min.js:183:178
    at Array.forEach (native)
    at _f.Frm.get_selected (http://erpdev.com/assets/js/form.min.js:183:109)
    at Object.open_mapped_doc (http://erpdev.com/assets/js/desk.min.js:610:159)
    at HTMLButtonElement.cur_frm.cscript.Make Sales Order (eval at setup (http://erpdev.com/assets/js/form.min.js:258:109), <anonymous>:830:15)
    at HTMLButtonElement.dispatch (http://erpdev.com/assets/frappe/js/lib/jquery/jquery.min.js:3:7537)
    at HTMLButtonElement.$event.dispatch (http://erpdev.com/assets/js/report.min.js:211:18)
    at HTMLButtonElement.r.handle (http://erpdev.com/assets/frappe/js/lib/jquery/jquery.min.js:3:5620)

Works perfectly on current stable branches with Custom Fields and Property Setters

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

2 participants