[Erp5-dev] proposed change to File class

Bartek Gorny bartek at redpoint.mn.pl
Sat Jul 22 17:49:09 CEST 2006


Hello

I needed to put objects inside a class that inherits from File
(namely, I wanted to put Role Definition inside under OOoDocument
objects). To do that, I've made a change to
Product/ERP5/Document/File.py - made File inherit from XMLObject:

line 115
- class File(Base,  CMFFile)
+ class File(XMLObject, Base,  CMFFile)

Works for me, but is it ok from the system's point of view? Can it be
safely commited?

Bartek

-- 
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
Eric S.Raymond, "The Magic Cauldron"



More information about the Erp5-dev mailing list