Kan. Stat. Ann. § 84-2-303
Where this article allocates a risk or a burden as between the parties "unless otherwise agreed," the agreement may not only shift the allocation but may also divide the risk or burden.
L. 1965, ch. 564, § 37; January 1, 1966.