[Erp5-dev] [Erp5-users] Question: New fields; getter method

Matthias Scheele matthias.scheele06 at googlemail.com
Wed Dec 14 19:06:56 CET 2011


Klaus,

thanks for the quick reply.
However in ERP5 in Favourites I can see 'configure categories' but not
'configure Property Sheets (release 5.46)
In ZMI this is located in portal_classes, right?
But I was not able to view the 'Order' property sheet for example

I have already gone through the Learning track but thought that the
creation would be automatic.
Ok, so in my example I would need to extend the SaleOrder property sheet
like described in
 http://www.erp5.org/HowToUsePropertySheets correct?

Thanks again
Matthias


2011/12/14 Klaus Wölfel <k.woelfel at gmx.de>

> Hi,
>
> in order to get getters and setters you need to define properties in
> property
> sheets: http://www.erp5.org/HowToUsePropertySheets Nowadays, they are
> defined
> directly in ERP5 using the Property Sheet Tool, accessible through
> "Favorites
> -> Configure Property Sheets" . I would recommend you go through the Forum
> Tutorial: http://www.erp5.com/developer-Learning.Track.Forum/view
>
> Regards,
>
> Klaus
>
> Am Mittwoch, 14. Dezember 2011, 16:55:25 schrieb Matthias Scheele:
> > Bonjour,
> >
> > I have the following scenario:
> >
> > We would like to add new fields to already existing modules in
> > ERP5/TIOLIVE, for example a sales order.
> > I created a copy of SaleOrder_view into the custom folder and added the
> new
> > field as a String field called my_new_field.
> > The field is visible immediately and values will be stored and also
> copied
> > when a document is cloned
> >
> > 1.)
> > According to the documents I found I would expect a 'getter' method to be
> > generated getNewField. This did not happen - I tried to view it using
> > /SaleOrderModule/xx/getNewField and got a dump.
> > What needs to be done to get this method created?
> > Where in the source code path can I find it?
> >
> > 2.)
> > I would like to know where in the database I can locate the new field and
> > the value.
> >
> > Thanks a lot for your input
> > Matthias
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> https://mail.tiolive.com/mailman/listinfo/erp5-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20111214/8b8992c7/attachment.htm>


More information about the Erp5-dev mailing list