Fix for OVPMS-1470 NPE importing product data

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/trunk@5939 9e4fa352-aafb-0310-9071-df624684024b
Changes for OVPMS-1320 The standard distribution is missing document templates for some types

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/trunk@5942 9e4fa352-aafb-0310-9071-df624684024b
Merged back changes from trunk

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/branches/1.8-dev@5950 9e4fa352-aafb-0310-9071-df624684024b
Changes for OVPMS-1473 Add support for multiple customer notes linked to estimates and invoices

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/branches/1.8-dev@5951 9e4fa352-aafb-0310-9071-df624684024b