Add symbol widget
Following https://discuss.tryton.org/t/displaying-currency-on-line-form/2258/12
This is widget will display the symbol linked to the field in unit attribute of the displayed field.
Example:
<field name="amount" unit="currency"/>
"currency" is M2O field and his model inherit from the UnitMixin
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
Capture d’écran du 2020-02-12 09-27-22.png | @maxx | 2020-02-12 08:27:43.030000 UTC | image/png |
2020-10-07_09-25.png | @maxx | 2020-10-07 07:32:38.099000 UTC | image/png |
2020-10-07_10-03.png | @maxx | 2020-10-07 08:07:53.930000 UTC | image/png |
2020-10-07_10-04.png | @maxx | 2020-10-07 08:08:00.188000 UTC | image/png |