Use payment conditions in "create related payment" action

To ease "manual" (ie. not from payment rule simulation) creation of payments,
update "create relate payment" so that it suggests the payment mode and the
payment date from payment conditions of the invoice's trade condition.

See merge request !1369
6 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds