Previously i shared about this case, almost the same with http://febru.soluvas.com/2013/05/solved-openerp-7-error-sprintf.html
well, today i will share more about how to solve
see this error :
For more about NaN, please recite this http://api.jquery.com/Types/#NaN_and_Infinity
its because of
well, today i will share more about how to solve
Error: [_.sprintf] expecting number but found array, because of NaN on JQuery
, in this case it happen because of some argument are empty, so when you do parseFloat it will return NaN type on JQuery.see this error :
For more about NaN, please recite this http://api.jquery.com/Types/#NaN_and_Infinity
its because of
error on underscore library of openerp 7
the solution is, edit web/static/lib/underscore/underscore.string.js then add some code to fixed NaN, you can use your own code to solve it, such as parseFloat().val() then check with isNaN() or anything up to you, in my case i show you the traditional solution as below :..show all:.
.
Previously i shared about this case, almost the same with http://febru.soluvas.com/2013/05/solved-openerp-7-error-sprintf.html
well, today i will share more about how to solve
see this error :
For more about NaN, please recite this http://api.jquery.com/Types/#NaN_and_Infinity
its because of
well, today i will share more about how to solve
Error: [_.sprintf] expecting number but found array, because of NaN on JQuery
, in this case it happen because of some argument are empty, so when you do parseFloat it will return NaN type on JQuery.see this error :
For more about NaN, please recite this http://api.jquery.com/Types/#NaN_and_Infinity
its because of
it is effective, thanks
ReplyDeleteMerci Ca marche ^^
ReplyDelete