Issue in POS ERPnext v9

i have an account in chart of accounts which is of type debit, if i’m doing a return from sales invoice in POS, it tells me that this account number should be of type debit , but it is already debit which i don’t get it ,
i still use ERP version 9 develop, it might be a bug ?