Account voucher migrate new api.

Hello,
i have migrate account vocuher into new api and fixed some tarcebacks and yml test cases.
Thanks.
Use @api.model where there is no operation on recordset(s) and also fix the conversion of method.