Hey! Nice video. I had a question. I've got a project at my job and our TL wants us to use Odoo for it, so I'm quite new to this. I was wondering how I'd go about making a functionality where a user would lose access to selected modules when a certain duration passes, lets say 15 days. Would I have to make a custom module for this or does this functionality (or something similar) already exist in Odoo? Thanks!
@odoo-it-yourself yep! They are given access for a limited time and then it takes the access away by itself when the current time surpasses the set date. I looked into Odoo and you're able to define a cron job in an xml but I still am not sure whether this needs to be custom or if this exists already.
@@saadnizami399 I don't know of a place where this functionality already exists, but you could set this up without too much trouble. I'd just set up a new table that links groups to users and then have a start date and end date for the relationship.
@@odoo-it-yourself okay that's what I was thinking! I'd just make a group and give it access rights, and then just use the module to add or remove users to it. Glad to know I'm on the right track. Thanks!
Server actions and automations usually will come through okay, but you need to make sure and test them in the upgrade before pushing live. Normally, the changes that come with an upgrade don't touch these too heavily unless Odoo made a fairly major change, but it definitely depends. I wouldn't start from scratch, but I'd watch them closely.
I am learning odoo community. These videos are very helpful, thanks!
Glad to hear that! Best of luck as you keep moving forward!
Hey! Nice video.
I had a question.
I've got a project at my job and our TL wants us to use Odoo for it, so I'm quite new to this. I was wondering how I'd go about making a functionality where a user would lose access to selected modules when a certain duration passes, lets say 15 days.
Would I have to make a custom module for this or does this functionality (or something similar) already exist in Odoo?
Thanks!
Thank you! Hmmm...so what resets the clock? Do they just keep access for 15 days whether or not they interact with it?
@odoo-it-yourself yep! They are given access for a limited time and then it takes the access away by itself when the current time surpasses the set date. I looked into Odoo and you're able to define a cron job in an xml but I still am not sure whether this needs to be custom or if this exists already.
@@saadnizami399 I don't know of a place where this functionality already exists, but you could set this up without too much trouble. I'd just set up a new table that links groups to users and then have a start date and end date for the relationship.
@@odoo-it-yourself okay that's what I was thinking! I'd just make a group and give it access rights, and then just use the module to add or remove users to it. Glad to know I'm on the right track. Thanks!
How well do server actions and automations survive the upgrade process to a newer version? Is it better to delete them and start over after upgrading?
Server actions and automations usually will come through okay, but you need to make sure and test them in the upgrade before pushing live. Normally, the changes that come with an upgrade don't touch these too heavily unless Odoo made a fairly major change, but it definitely depends. I wouldn't start from scratch, but I'd watch them closely.