Tryton - Issues

 

Issue6841

Title Wrong product invoices when changing product of stock move
Priority feature Status testing
Superseder Nosy List ced, reviewbot
Type feature request Components purchase, sale
Assigned To ced Keywords review
Reviews 43601002,40751002
View: 43601002, 40751002

Created on 2017-10-11.18:06:07 by ced, last changed by reviewbot.

Messages
review40751002 updated at https://codereview.tryton.org/40751002/#ps1
review43601002 updated at https://codereview.tryton.org/43601002/#ps1
msg36224 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-10-11.18:06:07
In a similar scenario as issue6839, when the user change the product of stock move linked to purchase or sale, the invoice generated still uses the product of the purchase or sale.
I do not think it is good for statistics nor coherence of the link between the invoice line and the stock moves.
Also the customer will receive a delivery note with different products as on the invoice.
So I think the sale and purchase should try to use, in case the invoice method is based on shipment, the product of the stock move. But I think it should keep the same taxes and unit price because those are part of the agreement. It is up to the user to change products with equivalent.
History
Date User Action Args
2017-10-11 18:10:05reviewbotsetmessages: + msg36228
2017-10-11 18:09:59reviewbotsetnosy: + reviewbot
messages: + msg36227
2017-10-11 18:08:16cedsetstatus: in-progress -> testing
reviews: 43601002,40751002
keyword: + review
2017-10-11 18:06:07cedcreate

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