2228. A partner of a partnership constituted for a term that is not fixed or whose contract of partnership reserves the right of withdrawal may withdraw from the partnership by giving it notice of his withdrawal, in good faith and not at an inopportune moment.
A partner of a partnership constituted for a term that is fixed may withdraw only with the agreement of a majority of the other partners, unless other rules for that eventuality are contained in the contract of partnership.