Check with the HR department whether a reference would state the reason for your exit. Many don’t, and will just give your employment dates and job title.
If that’s the case, just leave it on you CV and if needs be explain constructively the reasons why you maybe weren’t happy there and looked for other opportunities.
I don’t think any application process has asked me whether I’ve been dismissed. They’ve all been skills and experience based.