[Erp5-dev] Monkey Patching problem
Pelletier Vincent
vincent at nexedi.com
Tue Sep 4 16:45:56 CEST 2007
Le Mardi 4 Septembre 2007 16:06, Łukasz Nowak a écrit :
> how wait/hook into it? Any code snippet to achieve it?
My opinion is that ERP5Type loading of document types should be a bit smarter
to avoid loading the same document type multiple times (list loaded document
types, list loadable document types, mix'n'match) or to develop a more
complete priority handling for document classes, allowing - in your case - to
create your own version of Resource document class which inherits explicitely
from ERP5 one but get loaded instead of it.
I have no idea of how long it can take nor of the right way to do it at the
moment...
--
Vincent Pelletier
More information about the Erp5-dev
mailing list