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.depends to specifies the field dependencies of a "compute" method.