After having gastric bypass weight loss surgery you'll need to take off work for a minimum of one week but some patients of gastric bypass surgery take off work for 2 weeks to fully recover.
I would recommend taking off 2 weeks to fully recover from the gastric bypass surgery so that you'll be feeling better and ready to work again.