Hi,
I need to add some entries to the party.party table right at the
beginning of the installation of GNU Health. We have a list persons with
their details. We want them to be added right at the start. How should we
do this?
I need to do something like this -
def initialiseParties(partyList):
partyTable= Pool.get('party.party')
for i in partyList:
partyTable.create(i)
We have out own module. Is there a startup event where we can call this
code. Perhaps there is some place where such initialising database is
done.
Thanks