Hi,
I have restricted access to a product field to a certain group. When I try to duplicate the product with read-only access user, it gives me an error just in that “field”. I have created default for that field without success, same error.
I’ve also seen something similar being talked about in:
But I can’t see a solution.
I would greatly appreciate help in this regard since being able to duplicate products for the rest of the staff would be of great help.
It will be great to know which version are you working on because it may alter the behaviour of the system. Also it will be great if you can give more info about the field usage and why you added the restriction for some users.
I’m using Tryton 5.2. The field is a “deprecated” Boolean required. I have and a GROUP responsable from deprected products and others and only they can modify this field.
Im tryting to do a backport but the problem persist when im trying to duplicate.
So in your case, any user that is not responsible of the deprecated products can not modify this field.
The best will be to upgrade to a 6.2 series (where the new behaviour is already available) and set the deprecated flag to false when duplicating records.
We had in mind to do that update in a ““short time””.
Some trick to do this UPGRADE? since there are several versions and it is a bit scary since we have the corporate information as you can imagine
There is no trick for the upgrade. Just have a look at the migration topics for all the series, upgrade your code, run the database upgrade and do some test on a non production environment before going live.
We normally try to clean obsolete code and reduce the number of custom modules (if you have some) when doing some upgrade process.
Hi again, returning at UPGRADE TOPIC i have a requirement soon to do some API Endpoint to do some job. I see that Tryton 6.0 / 6.2 works with werkzeug 2.0 and i dont kwow if that upgrade that we talk can be better to do after/before now that know that explianed new needs.