In conformity with the agreement; if only the share of each partner in the profits has been agreed upon, the share of each in the losses shall be in the same proportion; in the absence of stipulation, the share shall be in proportion to what each partner contributed, but the industrial partner shall not be liable for the losses