If your Sims makes a meal or dessert and serves it, and you cancel out the interation just before he/she sits down to eat a slice, you can place the individual servings in the inventory and sell them.
I know this, but I'm asking for a hack to avoid all the boring clicking (click serve, click cancel, click put in the inventory etc....) : I'm a bit lazy !