[Erp5-users] Antw.: Question: New fields; getter method
k.woelfel@gmx.de
k.woelfel at gmx.de
Wed Dec 14 17:24:16 CET 2011
Hi Matthias,
I answered your question on Erp5-dev mailing list.
Regards, Klaus
----- Reply message -----
Von: "Matthias Scheele" <matthias.scheele06 at googlemail.com>
An: <erp5-dev at erp5.org>, <erp5-users at erp5.org>
Betreff: [Erp5-users] Question: New fields; getter method
Datum: Mi., Dez. 14, 2011 16:55
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 inputMatthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20111214/03691c86/attachment.htm>
More information about the Erp5-users
mailing list