pdm: support defining function on supply lines

We make it possible to define function the same way it's currently
possible to define accounts. The idea is similar: to be able to use this
information in accounting generation rules.

The typical accounting generation configuration using this will use the
function defined on the supply line if any is defined and with a fallback
to the function defined on business process' trade model path.

For now we don't introduce such configuration by default, but this may
become part of  the configuration generated by configurator some day.
7 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

01:08:36

passed ERP5.PerformanceTest-Master

failed ERP5.UnitTest-Master

03:37:41

failed ERP5.UnitTest-Master.Medusa

01:20:54

passed SlapOS.Eggs.UnitTest-Master.Python2

00:16:08

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:36

passed ERP5.PerformanceTest-Master

00:25:09