For the purposes of the preceding articles, obligations to give definite things and those which are not susceptible of partial performance shall be deemed to be indivisible.
When the obligation has for its object the execution of a certain number of days of work, the accomplishment of work by metrical units, or analogous things which by their nature are susceptible of partial performance, it shall be divisible.
However, even though the object or service may be physically divisible, an obligation is indivisible if so provided by law or intended by the parties.
In obligations not to do, divisibility or indivisibility shall be determined by the character of the prestation in each particular case. (1151a)