perf(account.invoice): Integracion con base_cfdi_mixin

Manda a llamar a la función `unlink_cfdi()` para que explicitamente se borre el cfdi relacionado
parent 55fa2d11
......@@ -36,6 +36,7 @@ class AccountVoucher(models.Model):
"""Cancel CFDI for selected vouchers"""
res = super(AccountVoucher, self).cancel_voucher()
self.cancel_cfdi()
self.unlink_cfdi()
return res
@api.multi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment