novacode-nl / odoo-celery

Odoo & Celery integration
GNU Lesser General Public License v3.0
42 stars 44 forks source link

TypeError: value is undefined #7

Closed zohaibrehman closed 5 years ago

zohaibrehman commented 5 years ago

I am using celery_example module but when i try to create add line it shows this error

bobslee commented 5 years ago

Please add the error and any info needed to analyse.

zohaibrehman commented 5 years ago

Error: TypeError: value is undefined

http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:962 Traceback: formatDateTime@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:962:57 _renderBodyCell@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1583:137 _renderRow/$cells<@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1601:127 _.collect@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:13:270 _renderRow@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1601:80 _renderRow@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1546:59 OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3819:368 _.collect@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:13:270 _renderRows@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1602:83 _renderRows@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1547:48 OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3819:368 _renderBody@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1577:52 _renderBody@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1545:364 OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3819:368 _renderView@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1603:499 OdooClass.extend/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3816:485 _renderView@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1548:67 OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3819:368 _render@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1297:173 _render@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1545:295 OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3819:613 updateState@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1081:510 updateState@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1570:1452 OdooClass.extend/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3816:485 _render@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1034:19 OdooClass.extend/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3816:485 reset@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:892:348 reset@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1033:8 OdooClass.extend/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3816:485 reset@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1041:1320 OdooClass.extend/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3816:485 confirmChange/<@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1283:187 _.forEach@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:12:558 confirmChange@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1283:33 confirmChange@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1330:845 OdooClass.extend/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3816:485 confirmChange@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:2265:8 OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3819:368 _confirmChange@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1271:2211 _applyChanges/<@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1303:711 then/</</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:678 fire@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:796:281 add@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:797:467 then/</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:649 each@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:625:758 then/<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:553 Deferred@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:803:189 then@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:518 _applyChanges@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1303:557 _applyChanges/<@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1271:1458 exec/<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:4009:295 then/</</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:678 fire@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:796:281 add@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:797:467 then/</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:649 each@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:625:758 then/<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:553 Deferred@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:803:189 then@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:518 exec@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:4009:257 _applyChanges@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1271:1424 OdooClass.extend/</prototype[name]</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3816:485 _onFieldChanged@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1303:922 _onFieldChanged@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1278:1 proxy/<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3917:8 trigger@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3915:166 _trigger_up@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3921:340 _trigger_up@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3921:442 _trigger_up@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3921:442 trigger_up@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:3921:275 _setValue@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:895:62 on_saved@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1041:2390 _save/<@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1321:370 then/</</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:678 fire@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:796:281 add@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:797:467 then/</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:649 each@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:625:758 then/<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:553 Deferred@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:803:189 then@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:802:518 _save@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1321:282 click@http://localhost:1091/web/content/556-2b43e53/web.assets_backend.js:1316:1905 set_buttons/</<@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:4049:404 dispatch@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:892:378 add/elemData.handle@http://localhost:1091/web/content/532-9e212ce/web.assets_common.js:865:151

zohaibrehman commented 5 years ago

I ve added the error On Apr 21, 2019 4:18 PM, "Bob Leers" notifications@github.com wrote:

Please add the error and any info needed to analyse.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/novacode-nl/odoo-celery/issues/7#issuecomment-485243736, or mute the thread https://github.com/notifications/unsubscribe-auth/AEBT4XVOQB66IBQL3V3CNDLPRREPRANCNFSM4HHLL6LA .

zohaibrehman commented 5 years ago

Have you received my recent update regarding error?

On Sun, Apr 21, 2019 at 4:18 PM Bob Leers notifications@github.com wrote:

Please add the error and any info needed to analyse.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/novacode-nl/odoo-celery/issues/7#issuecomment-485243736, or mute the thread https://github.com/notifications/unsubscribe-auth/AEBT4XVOQB66IBQL3V3CNDLPRREPRANCNFSM4HHLL6LA .

bobslee commented 5 years ago

Hi @zohaibrehman

I just tested with Odoo 11 and 12 versions of those modules (celery, celery_example). It just works on my side.

Maybe the following led to confusion, because it's still not documented (my debt).

On the "Celery Example" screen you see 3 buttons, whereby each button dispatches to a different worker which has a queue name configured. For more Celery worker options, like concurrency, see the Celery (project) documentation.

Start the workers like following:

Task queue=default (action button) celery -A odoo worker --loglevel=info

Task queue=high (action button) celery -A odoo worker -l info -Q high

Task queue=low (action button) celery -A odoo worker -l info -Q low

Incase this won't help you...

Please provide more info:

bobslee commented 5 years ago

Hi @zohaibrehman is the issue still valid ?

zohaibrehman commented 5 years ago

Yes I was still facing and then did nt touch after that On May 15, 2019 12:59 PM, "Bob Leers" notifications@github.com wrote:

Hi @zohaibrehman https://github.com/zohaibrehman is the issue still valid ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/novacode-nl/odoo-celery/issues/7?email_source=notifications&email_token=AEBT4XSRIR27E44TQAM4SELPVO7ENA5CNFSM4HHLL6LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVN3INQ#issuecomment-492549174, or mute the thread https://github.com/notifications/unsubscribe-auth/AEBT4XRLPWBIFAIOOTRQPA3PVO7ENANCNFSM4HHLL6LA .

bobslee commented 5 years ago

Ok, in case you need support... Could you please provide me the info I asked?

zohaibrehman commented 5 years ago

its giving javascrit error

bobslee commented 5 years ago

That's a bummer. It just works on my side, my customers and a lot of other users/developers.

Could you just test with these modules celery and celery_example? Without any custom modules please.

Also see my explanation and request for more info in my comment: https://github.com/novacode-nl/odoo-celery/issues/7#issuecomment-486542425

zohaibrehman commented 5 years ago

Actually I also lost my server access so I can't show anything right now. As soon I will get back access I will inform you wt the issue is coming. I ve also shown screen shot on email and detailed error on git On May 15, 2019 1:22 PM, "Bob Leers" notifications@github.com wrote:

That's a bummer. It just works on my side, my customers and a lot of other users/developers.

Could you just test with these modules celery and celery_example? Without any custom modules please.

Also see my explanation and request for more info in my comment: #7 (comment) https://github.com/novacode-nl/odoo-celery/issues/7#issuecomment-486542425

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/novacode-nl/odoo-celery/issues/7?email_source=notifications&email_token=AEBT4XVND3BEJM3DLP66OH3PVPB5PA5CNFSM4HHLL6LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVN5EUY#issuecomment-492556883, or mute the thread https://github.com/notifications/unsubscribe-auth/AEBT4XRLRSGX3CY2HMLOCF3PVPB5PANCNFSM4HHLL6LA .

bobslee commented 5 years ago

Ok. I hope you'll come back with more detailed info. Until then I close this issue, because the circumstances I asked for ain't clear to me yet.