Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: Widget with calculator?

by
bill
- 15/04/2020 07:55:17
I’m looking for this too Alexy.  I’m stuck on V11 for a few more years unfortunately though.

The migration to V11 seems to have been abandoned part way through and, as far as I can tell, is kind of broken in it’s current state.  It may be a conflict with something else I have installed, but on my installation I keep getting errors like:

http://192.168.1.21:8069/web/content/9648-de29d70/web.assets_backend.js:4911
Traceback:
TypeError: Cannot read property 'val' of undefined
    at Class._compute_result (http://192.168.1.21:8069/web/content/9648-de29d70/web.assets_backend.js:4911:92)
    at Class.commitChanges (http://192.168.1.21:8069/web/content/9648-de29d70/web.assets_backend.js:4906:514)
    at http://192.168.1.21:8069/web/content/9648-de29d70/web.assets_backend.js:1335:191
    at Function._.map._.collect (http://192.168.1.21:8069/web/content/9617-225943d/web.assets_common.js:13:270)
    at Class.commitChanges (http://192.168.1.21:8069/web/content/9648-de29d70/web.assets_backend.js:1335:125)
    at Object.<anonymous> (http://192.168.1.21:8069/web/content/9617-225943d/web.assets_common.js:4010:295)
    at Object.<anonymous> (http://192.168.1.21:8069/web/content/9617-225943d/web.assets_common.js:802:681)
    at fire (http://192.168.1.21:8069/web/content/9617-225943d/web.assets_common.js:796:299)
    at Object.add [as done] (http://192.168.1.21:8069/web/content/9617-225943d/web.assets_common.js:797:467)
    at Array.<anonymous> (http://192.168.1.21:8069/web/content/9617-225943d/web.assets_common.js:802:649)
…for the most basic of operations, like trying to save a change to the name of a product.  It did work in a float field, but not in a numeric field, which would greatly reduce it’s usefulness anyway.

Just in case anyone is interested in picking up the migration from 10 to 11, I’d be interested in helping to finance it.

Kind regards,

Bill Ennals.


On 15 Apr 2020, at 5:31 PM, Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:

That's native in v13 and previously in OCA through https://odoo-community.org/shop/product/2833

Regards.

Reference