IRC logs of #tryton for Monday, 2020-10-05 #tryton log beginning Mon Oct 5 12:00:01 AM CEST 2020
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton02:10
-!- srgdts(~srgdts@unaffiliated/srgdts) has joined #tryton03:10
-!- Timitos(~kpreisler@2001:a61:4a4:e501:762b:62ff:fe84:ed7e) has joined #tryton07:10
-!- springwurm(~Springwur@ has joined #tryton07:10
-!- mrichez( has joined #tryton08:10
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton10:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:10
-!- Springwurm_(~Springwur@ has joined #tryton10:10
mrichezhi, wondering if help for secondary unit should not be reversed between rate and factor ? :
cedkmrichez: why? At least it is well the invert of the rate definition11:10
mrichezcedk: yes it's the invert but maybe i misunderstanding... For factor help is : coefficient(sale_unit)=1(secondary_unit) , for me this should be coefficient(secondary_unit) = 1 (sale_unit)12:10
cedkmrichez: why?12:10
mrichezcedk: in my case i define a product with Unit as Storage Uom... i'm using Gram as secondary Uom, and define Factor = 33  (as my unit weight 33 grams)...12:10
cedkmrichez: I do not understand, why is the definition wrong?12:10
mrichezcedk: in my case i would write 33 (gr) = 1 (unit)12:10
mrichezcedk: if i follow help it would be : 33 (unit)= 1 (gr)12:10
cedkmrichez: so where is the problem?12:10
-!- rpit( has joined #tryton12:10
cedkthis is the same help as on unit factor and they are used the same way12:10
mrichezcedk: in the help text, secondary_unit should be in place of sale_unit (or maybe i'm totally wrong)12:10
cedkin compute_qty, it is "amount *= factor"12:10
-!- mariomop(~quassel@ has joined #tryton12:10
cedkmrichez: OK, I see the mistake, the help text is inverted12:10
mrichezcedk: :-)12:10
cedkwe must switch the help text between rate and factor12:10
mrichezcedk: that's what i thought ..12:10
mrichezcedk: i will open an issue12:10
cedkI think we must fix also the translations12:10
cedkto backport12:10
mrichezcedk: don't know how to do that, switching the help text will not be translated automatically ?12:10
cedkmrichez: no, the po file has a reference to the field name12:10
mrichezcedk: ok12:10
-!- springwurm(~Springwur@ has joined #tryton14:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton16:10
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton21:10
-!- kwmiebach_(sid16855@gateway/web/ has joined #tryton22:10
-!- Timitos(~kpreisler@2001:a61:4a4:e501:762b:62ff:fe84:ed7e) has left #tryton22:10

Generated by 2.16.0 by Marius Gedminas - find it at!