hilarak / odoo_community_addons

Odoo Community Addons (My works) Hilar AK
https://www.odoo.com/apps/modules/browse?author=Hilar%20AK
GNU Affero General Public License v3.0
23 stars 23 forks source link

HR Dashboard Module without Website #11

Closed Faraz76 closed 5 years ago

Faraz76 commented 6 years ago

Dear Hilarak,

I have checked the HR Dashboard Modified Module and found below mentioned error. I have tested this module on different 02 OS and different 02 Machines;

Error: Uncaught TypeError: Cannot read property 'type' of undefined

http://localhost:8069/web/content/600-54f17ba/web.assets_backend.js:478 Traceback: TypeError: Cannot read property 'type' of undefined at Class.get_default_view (http://localhost:8069/web/content/600-54f17ba/web.assets_backend.js:478:432) at Class.init (http://localhost:8069/web/content/600-54f17ba/web.assets_backend.js:472:752) at Class.prototype.(anonymous function) [as init] (http://localhost:8069/web/content/517-6afaf3e/web.assets_common.js:3816:488) at new Class (http://localhost:8069/web/content/517-6afaf3e/web.assets_common.js:3817:65) at Object.widget (http://localhost:8069/web/content/600-54f17ba/web.assets_backend.js:451:80) at Object. (http://localhost:8069/web/content/600-54f17ba/web.assets_backend.js:449:219) at Object. (http://localhost:8069/web/content/517-6afaf3e/web.assets_common.js:802:681) at fire (http://localhost:8069/web/content/517-6afaf3e/web.assets_common.js:796:299) at Object.add [as done] (http://localhost:8069/web/content/517-6afaf3e/web.assets_common.js:797:467) at Array. (http://localhost:8069/web/content/517-6afaf3e/web.assets_common.js:802:649)

Appreciate if you can spare sometime and resolve it.

Regards, Faraz

hilarak commented 6 years ago

I tested the same and I am not experiencing the mentioned problem, Try to restart and reload the server and page.

Faraz76 commented 6 years ago

Dear Hilarak,

I have tested the module by usig different scnarios; Please see below;

1- Tested on different machines 2- Tested on different OS (Windows 10 and Windows Server 2016) 3- Tested on newly installed OS and also done fresh installation of Odoo 11. 4- Tested with Google Chrome, Firefox and IE 5- Restarted a machines and also restarted a Odoo Server and services.

If the module is working perfect at your end than there must be an issue with the dependent module which i am using. Can you provide me a copy of dependent modules in one RAR file.

Regards, Faraz

Faraz76 commented 5 years ago

Hi Hilarak,

Should i expect this module with changes?

Faraz

hilarak commented 5 years ago

branch 12 is updated, now without website dependency.

Faraz76 commented 5 years ago

Dear Hilar,

HR Dashboard Module is throwing below error.

Odoo Client Error

http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:3374 Traceback: Error: QWeb2: Template 'hr_dashboard.dashboard' not found at Object.exception (http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:3374:7) at Engine._render (http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:3419:103) at Engine.render (http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:3415:151) at Class.render (http://localhost:8069/web/content/362-f9e1899/web.assets_backend.js:3263:1712) at Class.prototype. [as render] (http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:3538:488) at Object. (http://localhost:8069/web/content/362-f9e1899/web.assets_backend.js:3263:1457) at fire (http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:796:299) at Object.fireWith [as resolveWith] (http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:801:198) at Object. (http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:802:874) at fire (http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:796:299)

hilarak commented 5 years ago

That's because the contents are property get loaded, A proper server restart will solves your problem and also do hard refresh the windo.

On Thu, 4 Jul 2019, 2:34 pm Faraz Khan, notifications@github.com wrote:

Dear Hilar,

HR Dashboard Module is throwing below error.

Odoo Client Error

http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:3374 Traceback: Error: QWeb2: Template 'hr_dashboard.dashboard' not found at Object.exception ( http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:3374:7) at Engine._render ( http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:3419:103 ) at Engine.render ( http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:3415:151 ) at Class.render ( http://localhost:8069/web/content/362-f9e1899/web.assets_backend.js:3263:1712 ) at Class.prototype. [as render] ( http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:3538:488 ) at Object. ( http://localhost:8069/web/content/362-f9e1899/web.assets_backend.js:3263:1457 ) at fire ( http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:796:299 ) at Object.fireWith [as resolveWith] ( http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:801:198 ) at Object. ( http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:802:874 ) at fire ( http://localhost:8069/web/content/351-75ce0d5/web.assets_common.js:796:299 )

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/hilarak/odoo_community_addons/issues/11?email_source=notifications&email_token=AF6XGJVHPJM5W4UYVX7LQLLP5XG23A5CNFSM4FPEH3F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZHBJ4Y#issuecomment-508433651, or mute the thread https://github.com/notifications/unsubscribe-auth/AF6XGJTTFDNVW4G3IJM4HYLP5XG23ANCNFSM4FPEH3FQ .