* Cédric Krier: " [tryton-dev] Poll about new instance method on Uom" (Mon, 15 Jul 2013 00:20:17 +0200):
> Hi, > > I would like to submit this poll for this change: > > http://codereview.tryton.org/969002/#msg9 > > > kg.convert(1000, gr) == 1 > > gr.convert(1000, kg) == 1 > > > Which one is more logical/easy/right? For me both are not very intuitive. If any of the above, then > gr.convert(1000, kg) == 1 I would prefer something like uomconvert(<units>, <from_uom>, <to_uom>) -- Mathias Behrle MBSolutions Gilgenmatten 10 A D-79114 Freiburg Tel: +49(761)471023 Fax: +49(761)4770816 http://m9s.biz UStIdNr: DE 142009020 PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6
signature.asc
Description: PGP signature
