Tryton - Issues

 

Issue6839

Title Quantity computation fails when changing product of stock move
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type crash Components purchase, sale, stock
Assigned To ced Keywords review
Reviews 39791002,35691002,42721002
View: 39791002, 35691002, 42721002

Created on 2017-10-11.15:33:36 by ced, last changed by roundup-bot.

Messages
New changeset a3eff1b14e72 by Cédric Krier in branch 'default':
Enforce the same category of UoM for move with a purchase line as origin
http://hg.tryton.org/modules/purchase/rev/a3eff1b14e72
New changeset ca88ed132b03 by Cédric Krier in branch 'default':
Enforce the same category of UoM for move with a sale line as origin
http://hg.tryton.org/modules/sale/rev/ca88ed132b03
New changeset 0e6a127be5a5 by Cédric Krier in branch 'default':
Allow to enforce product default UoM category on move
http://hg.tryton.org/modules/stock/rev/0e6a127be5a5
review35691002 updated at https://codereview.tryton.org/35691002/#ps1
review42721002 updated at https://codereview.tryton.org/42721002/#ps1
review39791002 updated at https://codereview.tryton.org/39791002/#ps1
msg36211 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-10-11.15:33:35
On a shipment from a sale or a purchase, the user can change the product of the outgoing or incoming move (the reason could be to switch to an equivalent available product).
But if the user select a product with a different category of unit of measure, the sale or purchase will fail to compute the remaining quantity or the quantity to invoice because it convert the move quantity to the unit of measure of the sale.
For me, we should prevent the user to select non compatible product on the move.
History
Date User Action Args
2017-10-18 14:51:54roundup-botsetmessages: + msg36357
2017-10-18 14:51:16roundup-botsetmessages: + msg36356
2017-10-18 14:49:39roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg36355
2017-10-11 16:14:27reviewbotsetmessages: + msg36215
2017-10-11 16:14:24reviewbotsetmessages: + msg36214
2017-10-11 16:14:16reviewbotsetnosy: + reviewbot
messages: + msg36213
2017-10-11 15:43:27cedsetstatus: in-progress -> testing
reviews: 39791002,35691002,42721002
keyword: + review
2017-10-11 15:33:36cedcreate

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