activate the auto-generate rental invoice function