Community mailing list archives

community@mail.odoo.com

Re: Invoice can be deleted but not recreated

by
SISalp
- 04/22/2015 11:54:48
2015-04-22 17:24 GMT+02:00 Eva Pinter <epinter@openit.ch>:
> thank you Dominique,
>
>
> This is something that is complicated to explain to all customers.
I agree, but it is the same for purchase request, shiping actions and
production orders, isn't it ?

> Maybe a
> correction of that could solve this one for all.

The one who would find how to fix it without rewriting Odoo would help
many indeed

> Or the system could block
> the deletion or at least have some kind of rollback, to take all the
> elements linked with the invoice creation back, in case of deletion.

I don't think this is easy, but it's only my guess. Check what was
done in the "well known fork", it was fixed the hard way by a
diverging framework.
May be a trade off would be to add a mention on documents generated by
the workflow to warn the user, but little chance to get it in core,
Odoo is reluctant to "warn users" because it can also worry them.

>
> ---
> Eva P.
>