Community mailing list archives

community@mail.odoo.com

Re: 8.00 - Bug on address customer in relation with invoice in Odoo

by
Pedro M. Baeza
- 11/03/2014 04:49:49
The best way to do this kind of "data freeze" is developing an historization attribute on fields, that stores any change on the field with its date, and retrieve conveniently with a context date, and thus can be applied to any field.

Regards.

2014-11-03 10:33 GMT+01:00 Lionel Sausin <ls@numerigraphe.com>:
Le 02/11/2014 14:47, Ferdinand Gassauer a écrit :
<blockquote cite="mid:14970c01588.276c.36925ad4847953c1af5de867400f8a36@camptocamp.com" type="cite">

Imo its not only invoices, but all documents referring to partner data
Account info, VAT number

The system makes fraud easy
Ferdinand

I think it would even be best pushed down to the framework level, because depending on the business we may need this on just about any data. For example expiry dates from production lots could be frozen when we make delivery orders.
Maybe we can hack this using some sort of "related" field with a "store" argument wich makes them unchangeable in specific states?
Lionel Sausin.

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe