Hi Matthias,<br><br>I answered your question on Erp5-dev mailing list.<br><br>Regards, Klaus<br><br><div id="htc_header" style="">----- Reply message -----<br>Von: "Matthias Scheele" <matthias.scheele06@googlemail.com><br>An: <erp5-dev@erp5.org>, <erp5-users@erp5.org><br>Betreff: [Erp5-users] Question: New fields; getter method<br>Datum: Mi., Dez. 14, 2011 16:55<br><br></div><br>Bonjour,<div><br></div><div>I have the following scenario:</div><div><br></div><div>We would like to add new fields to already existing modules in ERP5/TIOLIVE, for example a sales order.</div><div>I created a copy of SaleOrder_view into the custom folder and added the new field as a String field called my_new_field.</div>
<div>The field is visible immediately and values will be stored and also copied when a document is cloned</div><div><br></div><div>1.)</div><div>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. </div>
<div>What needs to be done to get this method created? </div><div>Where in the source code path can I find it?</div><div><br></div><div>2.)</div><div>I would like to know where in the database I can locate the new field and the value.</div>
<div><br></div><div>Thanks a lot for your input</div><div>Matthias</div><div><br></div>