* Add a test on portal type to bypass bad acquisition of group category from...
Kevin Deldycke authored
  * Add a test on portal type to bypass bad acquisition of group category from person to Orignisation. This help us filter employee of the source_section: because of acquisition via subordination they are seen as part of the group but in this accounting context group define a business unit composed of organisation.
  * Light reformating of code.
  * Don't call getSourceInventory and getDestinationInventory twice.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6371 20353a03-c40f-0410-a6d1-a30d3c3de9de
a4a94b43