Hi all,

In our application we have Patient model, which has a lot in common with Party 
model.
We would like to add a tree view for patient and add a menu item.
We would also like to create a dedicated form for adding/editing Patients.
It seems like there are two ways to achieve that but we have problems in either 
ways:

1. Patient inherit from Party - we are able to enhance the party model with the 
Patient fields but we didn't find a way to customize the form for Patient that 
will show the added Patient fields and only some of the fields (the relevant 
ones) from Party model.

2. Patient contains Party - This enables us to customize the Patient form but 
then the creation of a new Patient requires two steps: create a party and then 
add the Patient specific fields which make user experience less optimal.

Would appreciate any opinion on what is a better attitude and if I am missing 
something here.

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/8a4838a2-4aee-4770-9e31-f5b35fa3edd5%40googlegroups.com.

Reply via email to