This question has been flagged

Hello guys, I have a little problem, I want change a js options of the datepicker in Odoo, this js file is inside web module but when I try update this module I get the following error:


KeyError: 'event.registration' , If I restart the server Odoo works fine but I can't update the module, anyone could help me? Thanks!

Avatar
Discard
Best Answer

Hi,

Did you add the event module as dependent module in the manifest file ?.

If not add the event as depend along with the other dependent module.

'depends': ['event'],

Thanks

Avatar
Discard
Author

Thanks for your reply Niyas Raphy, It looks like is a bug because when I restarted a second time the server It let me update the web module, Thanks!!