Issue 11667

Title
Missing invoice party on amendments
Priority
bug
Status
testing
Nosy list
ced, pokoli, reviewbot, yangoon
Assigned to
ced
Keywords
review

Created on 2022-08-24.11:30:11 by pokoli, last changed 7 days ago by reviewbot.

Messages

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2022-08-24.11:30:11

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-09-30 00:40:07reviewbotsetmessages: + msg78428
nosy: + reviewbot
2022-09-30 00:32:34cedsetkeyword: + review
reviews: 447321003
status: in-progress -> testing
2022-09-30 00:16:38cedsetassignedto: ced
nosy: + ced
status: unread -> in-progress
2022-08-24 13:39:34yangoonsetnosy: + yangoon
2022-08-24 11:30:11pokolicreate

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