Tryton - Issues



Title Wrong cost price for non-default uom calculated in purchase shipment cost module (anglo saxon stock)
Priority bug Status resolved
Superseder Nosy List ced, mindauga, reviewbot, roundup-bot
Type behavior Components purchase_shipment_cost
Assigned To mindauga Keywords review
Reviews 256871002
View: 256871002

Created on 2020-03-27.21:45:05 by mindauga, last changed by roundup-bot.

New changeset 71523c09f9b9 by C├ędric Krier in branch 'default':
Convert shipment cost into default uom
New changeset 938f26a29b40 by  in branch 'default':
Convert shipment cost into default uom
review256871002 updated at
review256871002 updated at
review256871002 updated at
review256871002 updated at
New review256871002 at
msg56702 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2020-03-27.23:51:39
Could you submit a patch following
msg56701 (view) Author: [hidden] (mindauga) Date: 2020-03-27.21:45:04
purchase_shipment_cost (v. 5.4.0)

class Move:
      def _get_anglo_saxon_move:
187      cost_price -= shipment_cost

cost_price is calculated per default(internal) uom but shipment_cost is calculated per move uom.
The result cost_price is wrong for moves in non default uom
Date User Action Args
2020-04-13 17:18:58roundup-botsetmessages: + msg57106
2020-04-13 17:18:54roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg57105
2020-04-12 09:59:33reviewbotsetmessages: + msg57037
2020-04-04 14:44:20reviewbotsetmessages: + msg56897
2020-04-04 13:56:32reviewbotsetmessages: + msg56894
2020-04-04 09:54:50reviewbotsetmessages: + msg56885
2020-03-28 12:57:50cedsetstatus: chatting -> testing
assignedto: mindauga
2020-03-28 09:59:29reviewbotsetnosy: + reviewbot
messages: + msg56720
2020-03-28 09:59:28reviewbotsetreviews: 256871002
keyword: + review
2020-03-27 23:51:40cedsetstatus: unread -> chatting
nosy: + ced
messages: + msg56702

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