Issue 10567

Move party_identifier with the PartyReplace wizard
Nosy list
Davidoff, bernatnan, ced, pokoli, reviewbot, yangoon
Assigned to
easy, review

Created on 2021-07-08.17:08:51 by bernatnan, last changed 1 week ago by reviewbot.


Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-08-07.10:49:50

The solution is msg68784 but it can not be backported but as I said it will not be a big issue.

Author: [hidden] (bernatnan)
Date: 2021-08-04.11:42:56

If change the party only with the non-posted invoices will leave an inconsistent situation too. Because, for example, the party will be replace in the sales, and if this sales have a posted Invoice the party won't be replaced there? So will have the sale with the new party and the invoice with the old, that won't be correct.

I'm not suer which is the best solution.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-07-08.22:20:52

In order to add this behavior, the identifier must be come deactivable. This would prevent the fix to be backported but I do not think it is a big problem as the domain validation on invoice would be triggered only the field or the party is changed which can only be done on non-posted invoices.

Author: [hidden] (bernatnan)
Date: 2021-07-08.17:08:51

If use the PartyReplace wizard with a party that has invoices, as the party_identifier are not move to the new party, the invoice remains inconsistent with the domain party/party_tax_identifier.

I think we should move the party_identifier from the old party to the new one like party.address or party.contact_mechanism are doing in party module.

Date User Action Args
2021-09-16 10:29:19reviewbotsetmessages: + msg70136
2021-09-14 15:50:20reviewbotsetmessages: + msg70095
2021-09-08 09:25:48reviewbotsetmessages: + msg69931
2021-09-07 17:21:26reviewbotsetmessages: + msg69923
2021-09-07 12:24:49reviewbotsetmessages: + msg69921
2021-09-06 15:56:42reviewbotsetmessages: + msg69906
nosy: + reviewbot
2021-09-06 15:31:33Davidoffsetassignedto: Davidoff
keyword: + review
nosy: + Davidoff
reviews: 346941002
status: chatting -> testing
2021-08-07 10:49:50cedsetmessages: + msg69237
2021-08-04 11:42:56bernatnansetmessages: + msg69134
2021-07-08 22:20:52cedsetmessages: + msg68784
nosy: + ced
status: unread -> chatting

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