While you are at it, you can replace:
import decimal_precision as dp
By
import openerp.addons.decimal_precision as dp
Besides the nitpickings, seems fine to me.
--
https://code.launchpad.net/~elbati/account-payment/adding_account_voucher_cash_basis_7/+merge/159379
Your team Account Payment is subscribed to branch lp:account-payment/7.0.
--
Mailing list: https://launchpad.net/~account-payment-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~account-payment-team
More help : https://help.launchpad.net/ListHelp