It is not lawful for any district attorney who has a law partner to allow that partner to prosecute or defend divorce cases or to defend cases in which the state is plaintiff and the district attorney is the public prosecutor. It is the duty of the judicial officers of this state to prohibit such practice in all cases coming before them.
ORS 8.730