Created on 2021-07-21.16:54:18 by ced, last changed 2 days ago by reviewbot.
Here is review338511002 which implement the mixin for currency.
Later a second patch will convert quantities with unit.
A common pattern is to create
Function fields to store the digits to use to display a number. Usually the digits come from a referential record like the currency or the product unit.
To simplify the declaration I propose to allow to use a field name as digits value. In such case the field should point to a Model with a
get_digits method (which will be cached) that returns the real tuple to use.
ModelStorage should be adapted to support such definition but also the clients which should make RPC calls (like for the symbol).
|2021-07-23 10:15:12||reviewbot||set||messages: + msg69034|
nosy: + reviewbot
|2021-07-21 17:04:23||ced||set||messages: + msg68987|
status: in-progress -> testing
Showing 10 items. Show all history (warning: this could be VERY long)