As discussed in: https://discuss.tryton.org/t/payment-terms-based-on-shipment-or-another-date/3566/19?u=pokoli