Thanks Jean, another question....
One class A has references to many (n or *) classes B. Is it possible?
Post by Jean-Paul SmetsPost by Rafael MonneratCould anyone explain me how works the categories and how can I use? I
read the ' Rapid Application Development with ERP5' but I still don't
understand how I can use that.
I'm trying to create a reference from classe A to class B (for
example). What do I need to do?
Just state in the portal_types that portal_type A is based category
"foocat". (supposing that foocat is an existing base category in
portal_categories)
You will then get an accessor created for you
getFoocatValue()
setFoocatValue()
You can set a relation between object a and object b by stating
a.setFoocatValue(b)
Then retrieve the relation by
a.getFoocatValue()
JPS.
Post by Rafael MonneratWaiting for answers... : )
--
Rafael M. Monnerat
http://monnerat.objectis.net
_______________________________________________
Erp5-dev mailing list
Erp5-dev at erp5.org
http://erp5.org/mailman/listinfo/erp5-dev
--
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org
Rentalinux: Desktop Linux Server
http://www.rentalinux.com
_______________________________________________
Erp5-dev mailing list
Erp5-dev at erp5.org
http://erp5.org/mailman/listinfo/erp5-dev
Rafael M. Monnerat