keeping historical data. There were some discussions about that some time ago 
but I don't think it was ever developed, was it?

see
http://tinyerp.org/forum/viewtopic.php?t=1791

fabien wrote:
> Tiny ERP can manage temporal data, by adding only a few lines. Without 
> testing it is smething ike this
> 
> class osv_temporal(osv.osv):
> def write(self, cr, uid, ids, data, context):
> newids = map(lambda id: self.copy(cr, uid, id, data, context), ids )
> self.write(cr, uid, ids, {'active':False}, context)
> return newids
> 
> and replace res_partner(osv.osv) by res_partner(osv.osv_temporal) and for all 
> others object that you want to use these functionnalities.
> 
> It is about 6 lines of code to change the whole software. So, it is not a 
> technical problem but a functionnal choice. I tried to use such a system but 
> I find it not usefull for small businesses. (I like to add a phone number to 
> an existing customer used in an invoice, and that the phone number change for 
> this invoice. For instance, we sometimes forgot the VAT number and I prefer 
> changing it in the partner than in all existing invoice using this partner).
> 
> PS: everything is simple with a good framework...


and 
http://www.tinyerp.org/forum/viewtopic.php?t=132

Maybe these adjustments can be put into a module?

knerz





_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to