Comment by [email protected]:
* The company field in the payment seems redundant. The company is already
defined in the journal where the payment is in.
* As one payment always goes to one party I think there should be a party
field on the payment and a constraint on the move lines to match the party.
This makes it also possible to make a transfer for something not (yet)
having any move line. The function field on the payment line could then be
removed.
* I still don't see the use case for the maturity date. The maturity date
is a property of payables and receivables and not of payments. If somebody
wants to modify the maturity date this should IMO be implemented by
customization of the account module.
* I think a description field on the payment itself will be necessary as
well.
For more information:
http://code.google.com/p/tryton/wiki/PaymentOrder