177. When community of property exists, the separation operates its dissolution, imposes on the husband the obligation of making an inventory, and gives to the wife, in case of acceptance, the right to demand the partition of the property, unless by the judgment she has been declared to have forfeited this right.