7 answers

You don't actually need a trigger for this. You can simply create a create a formula field on the opportunity object that will reference the field on the user object. See the path in this screenshot. Because you're pulling the value of a picklist, the actual formula using the below example would be:TEXT(Owner:User.pjsdev__Manager_Group__c)