Message 77771

Author
pokoli
Date
2022-08-24.11:30:11
Message id
77771

Content

It is not possible to validate an amendment which updates any party values of a sale with invoice party set because it fails with a domain error.

Here are the steps to reproduce:

  1. Create a sale with party -> Customer and Invoice party: Invoice Customer
  2. Add a line for it, quote and confirm it
  3. Create a new amendment related to the sale created in step one with a line of type "Change party".
  4. Try to save the amendment

Current behaviour:

A domain error complaining that the invoice address is not valid is raised.

This is because we do not have the invoice_party on the amendments but we load the invoice address from this party.

Altought this behaviour is already present in released series I think the only way to fix is to add the invoice address field, so it can not be backported as it requires a database update.

History
Date User Action Args
2022-08-24 11:30:11pokolisetmessageid: <1661333411.4718463.73EUXMI2XXMQAJXY.issue11667@tryton.org>
2022-08-24 11:30:11pokolilinkissue11667 messages
2022-08-24 11:30:11pokolicreate

Showing 10 items. Show all history (warning: this could be VERY long)