California Civil Code section 683.2

Can a California will sever a joint tenancy such that the decedent’s interest in real property passes per will’s terms instead of vesting in the surviving joint tenant(s)? Additionally, when a general partnership dissolves after the death of a partner’s spouse, does the deceased spouse’s estate have a community property interest in the distributed partnership assets?