[Erp5-dev] own getTitle - different solution

Tomasz Brzezina tomasz at brzezina.pl
Mon Mar 31 12:23:55 CEST 2008


Łukasz Nowak pisze:
> For this you shall use interaction workflow, AFAIK.
> 
> http://www.erp5.org/HowToUseAndDefineInteractionWorkflows
> 
> Solution provided below is good for "static" title - that on, which
> wouldn't change on object lifetime.
> 
Where the hell is Interactions tab?
(...)
So now we have to define interaction for our portal types. Go to 
Interactions tab, and create PurchaseOrder_titleSetInteraction. Edit it, 
and for set fields to:

     *      Filter : Purchase Order
     *      Trigger Method Id(s) : edit _edit _setDestinationValue 
_setDestinationSectionValue _setSourceValue _setSourceSectionValue order 
plan confirm cancel
     *      Script (after) : PurchaseOrder_titleSetter



-- 
Tomasz Brzezina

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3327 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080331/57e050da/attachment.bin>


More information about the Erp5-dev mailing list