Skip to content

erp5_credential: Allow create assignments with infinite duration

Rafael Monnerat requested to merge (removed):credential-without-duration into master

If preferences sets a negative duration, don't set stop/start dates on assignments.

Note: Usually we do a "very large number" to represent infinite which makes not so much sense, but we have a case on a 10 years old site reach the value and requiring massive update.

/cc @romain @jerome

Edited by Rafael Monnerat

Merge request reports