Hi Paras
When you develop on GNU Health/Tryton, you don't have to modify the database manually, you have to declare the new fields on the model (python file), and also on the views (xml file).
Take a look at this example on how to create a new module [1]
For more information on the Tryton API, go to [2]
If you want to add fields on the patient it's better to create a new module and inherit the PatientData class instead of modifying the health.py file on the health directory. In that way when you upgrade GNU Health to a new version, you don't lose your changes.
Regards
[2]
http://doc.tryton.org/2.4/trytond/doc/index.html
2012/11/29 Paras Jasani
<address@hidden>
Hi
I would like to add a boolean column in gnu_patient. Which file do i need to modify so that column appears in Field section of GNU Health ? I have added the column in database but it doesn't show up when i see the model details of gnu_patient.
Thanks
Paras
--
Sebastián Marró
thymbr@
Converging Ideas for Emerging Realities
www.thymbra.com