Tryton - Issues



Title Display error on searching product when no rate found for currency
Priority bug Status chatting
Superseder Nosy List ced, mrichez, tbruyere
Type Components currency
Assigned To Keywords

Created on 2018-02-23.11:54:14 by mrichez, last changed by ced.

File name Uploaded Type Edit Remove
Sélection_089.png mrichez, 2018-02-23.11:54:14 image/png
msg38616 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-02-26.17:26:24
Indeed it is quite similar to issue6634, Product.get_sale_price_uom should not raise the error from Currency.compute call in get_sale_price.
It could just catch UserError until we have finer grain exceptions.
msg38579 (view) Author: [hidden] (mrichez) Date: 2018-02-23.11:54:14
Let's take a currency without currency rate (other than company's currency)
When creating a sale or a purchase in this currency, if you click on the search icon on the One2Many Product field (sale or product line), you get first an error message "No rate found for currency..." but then it displays a kind of empty list form (lines are there but without data displayed) and if you click on ok, one of product is select. This screen should not be displayed after error message or list should be really empty...
See screenshot with empty list with invisibles lines
Date User Action Args
2018-02-26 17:26:24cedsetstatus: unread -> chatting
nosy: + ced
messages: + msg38616
2018-02-23 11:54:14mrichezcreate

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