Bartek Gorny
2006-07-22 15:49:09 UTC
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
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"
"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"