Do I need to pay taxes on capital gains from California property in California, Oregon, or in both California and Oregon, if I am a resident of and work in Oregon?

A form 541 was submitted to FTB by the estate.